Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
/bin/sh: 1: /home/pi/workarea/git/raspi-fotonower-x/shell/upload_photos.sh: not found
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
                        [--only_old ONLY_OLD]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
                        [--only_old ONLY_OLD]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 16, in <module>
    def check_pictures(folder,day,hour,minutes,lsr,threshold, factor):
ModuleNotFoundError: No module named 'python.logger'
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2 --file_local_db
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL]
                        [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR]
                        [-M MINUTE] [--nb_minutes NB_MINUTES]
                        [--folder_local_db FOLDER_LOCAL_DB]
                        [--file_local_db FILE_LOCAL_DB] [-o ORDER]
                        [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD]
                        [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID]
                        [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL]
                        [--last_days LAST_DAYS]
                        [--nb_batch_upload NB_BATCH_UPLOAD]
                        [--fotonower_config_path FOTONOWER_CONFIG_PATH]
upload_photos.py: error: argument --file_local_db: expected one argument
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 05:55:03.642682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_11052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 31050805, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778471764000}
4310
4379877
4310
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/00/image_11052026_00_00_43_29287.jpg', '/home/pi/Desktop/images/11052026/00/01/image_11052026_00_01_44_30443.jpg', '/home/pi/Desktop/images/11052026/00/01/image_11052026_00_02_14_30324.jpg', '/home/pi/Desktop/images/11052026/00/02/image_11052026_00_02_44_29144.jpg', '/home/pi/Desktop/images/11052026/00/02/image_11052026_00_03_14_30272.jpg', '/home/pi/Desktop/images/11052026/00/03/image_11052026_00_03_44_30342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/00/image_11052026_00_00_43_29287.jpg
/home/pi/Desktop/images/11052026/00/01/image_11052026_00_01_44_30443.jpg
/home/pi/Desktop/images/11052026/00/01/image_11052026_00_02_14_30324.jpg
/home/pi/Desktop/images/11052026/00/02/image_11052026_00_02_44_29144.jpg
/home/pi/Desktop/images/11052026/00/02/image_11052026_00_03_14_30272.jpg
/home/pi/Desktop/images/11052026/00/03/image_11052026_00_03_44_30342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812784","1416812786","1416812789","1416812780","1416812788","1416812782"],"photo_ids_order":["1416812780","1416812782","1416812784","1416812786","1416812788","1416812789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3aa6e68bb658d0782798ca3ae3c75438.jpg","text":"TemporaryFile(/tmp/multipartBody586551408716481191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_02_14_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76a983495129f4162a0a6eb905981de3.jpg","text":"TemporaryFile(/tmp/multipartBody5992188121315984098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_02_44_29144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03a5b985f24e29a36b4fa25561b391cf.jpg","text":"TemporaryFile(/tmp/multipartBody7593988481372282384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_03_44_30342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97768463cc97db8a8abfe66a284b2d90.jpg","text":"TemporaryFile(/tmp/multipartBody2099864460184953963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_00_43_29287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed7a72bb08e100f2323da6fcd4b5bed3.jpg","text":"TemporaryFile(/tmp/multipartBody1171010456226766153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_03_14_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f747869c984c3ee3e48fd6b7c19cd2e6.jpg","text":"TemporaryFile(/tmp/multipartBody2715477324787008662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471768708,"filename":"image_11052026_00_01_44_30443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812784","file1":"1416812782","file0":"1416812780","file4":"1416812788","file5":"1416812789","file3":"1416812786"},"map_files_photo_id_array":[{"photo_id":"1416812789","filename":"file5"},{"photo_id":"1416812784","filename":"file2"},{"photo_id":"1416812788","filename":"file4"},{"photo_id":"1416812782","filename":"file1"},{"photo_id":"1416812780","filename":"file0"},{"photo_id":"1416812786","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812784":["hashtag1","hashtag2"]},{"1416812786":["hashtag1","hashtag2"]},{"1416812789":["hashtag1","hashtag2"]},{"1416812780":["hashtag1","hashtag2"]},{"1416812788":["hashtag1","hashtag2"]},{"1416812782":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812784, 1416812786, 1416812789, 1416812780, 1416812788, 1416812782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.724700927734375 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 05:56:03.058858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/05/image_11052026_00_06_14_29188.jpg', '/home/pi/Desktop/images/11052026/00/07/image_11052026_00_07_43_29285.jpg', '/home/pi/Desktop/images/11052026/00/07/image_11052026_00_08_14_30225.jpg', '/home/pi/Desktop/images/11052026/00/08/image_11052026_00_09_14_30246.jpg', '/home/pi/Desktop/images/11052026/00/09/image_11052026_00_09_43_29178.jpg', '/home/pi/Desktop/images/11052026/00/13/image_11052026_00_14_14_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/05/image_11052026_00_06_14_29188.jpg
/home/pi/Desktop/images/11052026/00/07/image_11052026_00_07_43_29285.jpg
/home/pi/Desktop/images/11052026/00/07/image_11052026_00_08_14_30225.jpg
/home/pi/Desktop/images/11052026/00/08/image_11052026_00_09_14_30246.jpg
/home/pi/Desktop/images/11052026/00/09/image_11052026_00_09_43_29178.jpg
/home/pi/Desktop/images/11052026/00/13/image_11052026_00_14_14_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812799","1416812793","1416812795","1416812797","1416812801","1416812791"],"photo_ids_order":["1416812791","1416812793","1416812795","1416812797","1416812799","1416812801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1551b211dad96f7018208e6d9da38553.jpg","text":"TemporaryFile(/tmp/multipartBody3407168884701848734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_09_43_29178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/226d9bc12eeca70c931c7eac3554651a.jpg","text":"TemporaryFile(/tmp/multipartBody8285505467495504717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_07_43_29285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79ead595276e704457c4e7e18931bcd5.jpg","text":"TemporaryFile(/tmp/multipartBody464220214536636259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_08_14_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d42149474f7d1055fb38a9d69fa87e83.jpg","text":"TemporaryFile(/tmp/multipartBody3437315438313571208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_09_14_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5331024ab7a7c969766ccd0c0d0a9b0.jpg","text":"TemporaryFile(/tmp/multipartBody2764529292576827403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_14_14_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a295a69ca250ce0e95b16d0eebbd4810.jpg","text":"TemporaryFile(/tmp/multipartBody8470596826878277413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471824904,"filename":"image_11052026_00_06_14_29188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812795","file1":"1416812793","file0":"1416812791","file4":"1416812799","file5":"1416812801","file3":"1416812797"},"map_files_photo_id_array":[{"photo_id":"1416812801","filename":"file5"},{"photo_id":"1416812795","filename":"file2"},{"photo_id":"1416812799","filename":"file4"},{"photo_id":"1416812793","filename":"file1"},{"photo_id":"1416812791","filename":"file0"},{"photo_id":"1416812797","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812799":["hashtag1","hashtag2"]},{"1416812793":["hashtag1","hashtag2"]},{"1416812795":["hashtag1","hashtag2"]},{"1416812797":["hashtag1","hashtag2"]},{"1416812801":["hashtag1","hashtag2"]},{"1416812791":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812799, 1416812793, 1416812795, 1416812797, 1416812801, 1416812791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79787802696228 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 05:57:04.372520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/15/image_11052026_00_16_14_30194.jpg', '/home/pi/Desktop/images/11052026/00/17/image_11052026_00_18_14_30140.jpg', '/home/pi/Desktop/images/11052026/00/18/image_11052026_00_18_44_30385.jpg', '/home/pi/Desktop/images/11052026/00/21/image_11052026_00_22_14_30111.jpg', '/home/pi/Desktop/images/11052026/00/22/image_11052026_00_23_14_30311.jpg', '/home/pi/Desktop/images/11052026/00/23/image_11052026_00_23_43_29186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/15/image_11052026_00_16_14_30194.jpg
/home/pi/Desktop/images/11052026/00/17/image_11052026_00_18_14_30140.jpg
/home/pi/Desktop/images/11052026/00/18/image_11052026_00_18_44_30385.jpg
/home/pi/Desktop/images/11052026/00/21/image_11052026_00_22_14_30111.jpg
/home/pi/Desktop/images/11052026/00/22/image_11052026_00_23_14_30311.jpg
/home/pi/Desktop/images/11052026/00/23/image_11052026_00_23_43_29186.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.598217487335205 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 05:58:02.901448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/15/image_11052026_00_16_14_30194.jpg', '/home/pi/Desktop/images/11052026/00/17/image_11052026_00_18_14_30140.jpg', '/home/pi/Desktop/images/11052026/00/18/image_11052026_00_18_44_30385.jpg', '/home/pi/Desktop/images/11052026/00/21/image_11052026_00_22_14_30111.jpg', '/home/pi/Desktop/images/11052026/00/22/image_11052026_00_23_14_30311.jpg', '/home/pi/Desktop/images/11052026/00/23/image_11052026_00_23_43_29186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/15/image_11052026_00_16_14_30194.jpg
/home/pi/Desktop/images/11052026/00/17/image_11052026_00_18_14_30140.jpg
/home/pi/Desktop/images/11052026/00/18/image_11052026_00_18_44_30385.jpg
/home/pi/Desktop/images/11052026/00/21/image_11052026_00_22_14_30111.jpg
/home/pi/Desktop/images/11052026/00/22/image_11052026_00_23_14_30311.jpg
/home/pi/Desktop/images/11052026/00/23/image_11052026_00_23_43_29186.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812823","1416812817","1416812819","1416812813","1416812821","1416812815"],"photo_ids_order":["1416812813","1416812815","1416812817","1416812819","1416812821","1416812823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b7d2a7abd6e7fcfb25fd9171b69b31b.jpg","text":"TemporaryFile(/tmp/multipartBody1292016405378645627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_23_43_29186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a172f9c16427b938836c1d9d61a1289.jpg","text":"TemporaryFile(/tmp/multipartBody6071627880279718719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_18_44_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50972b6700bae28f59a94da89fd5d204.jpg","text":"TemporaryFile(/tmp/multipartBody1653290661240600132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_22_14_30111.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/990e15ad06bd7f8c6016c1f016176379.jpg","text":"TemporaryFile(/tmp/multipartBody6365072329963447681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_16_14_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f87709af0cbceb499431693c0fa4b7df.jpg","text":"TemporaryFile(/tmp/multipartBody7588225852043601186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_23_14_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d848958cf842e8e85b2276047d1fdbb6.jpg","text":"TemporaryFile(/tmp/multipartBody5651671953823716435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778471944781,"filename":"image_11052026_00_18_14_30140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812817","file1":"1416812815","file0":"1416812813","file4":"1416812821","file5":"1416812823","file3":"1416812819"},"map_files_photo_id_array":[{"photo_id":"1416812823","filename":"file5"},{"photo_id":"1416812817","filename":"file2"},{"photo_id":"1416812821","filename":"file4"},{"photo_id":"1416812815","filename":"file1"},{"photo_id":"1416812813","filename":"file0"},{"photo_id":"1416812819","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812823":["hashtag1","hashtag2"]},{"1416812817":["hashtag1","hashtag2"]},{"1416812819":["hashtag1","hashtag2"]},{"1416812813":["hashtag1","hashtag2"]},{"1416812821":["hashtag1","hashtag2"]},{"1416812815":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812823, 1416812817, 1416812819, 1416812813, 1416812821, 1416812815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66949224472046 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 05:59:04.549752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/05/56/image_11052026_05_56_44_30209.jpg', '/home/pi/Desktop/images/11052026/05/44/image_11052026_05_45_14_30224.jpg', '/home/pi/Desktop/images/11052026/05/43/image_11052026_05_43_44_30164.jpg', '/home/pi/Desktop/images/11052026/05/25/image_11052026_05_26_13_29248.jpg', '/home/pi/Desktop/images/11052026/05/24/image_11052026_05_24_44_30245.jpg', '/home/pi/Desktop/images/11052026/05/23/image_11052026_05_24_14_29222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/05/56/image_11052026_05_56_44_30209.jpg
/home/pi/Desktop/images/11052026/05/44/image_11052026_05_45_14_30224.jpg
/home/pi/Desktop/images/11052026/05/43/image_11052026_05_43_44_30164.jpg
/home/pi/Desktop/images/11052026/05/25/image_11052026_05_26_13_29248.jpg
/home/pi/Desktop/images/11052026/05/24/image_11052026_05_24_44_30245.jpg
/home/pi/Desktop/images/11052026/05/23/image_11052026_05_24_14_29222.jpg
2026-05-11 05:59:04.678066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/23/image_11052026_00_24_14_30303.jpg', '/home/pi/Desktop/images/11052026/00/24/image_11052026_00_24_44_30315.jpg', '/home/pi/Desktop/images/11052026/00/24/image_11052026_00_25_14_30306.jpg', '/home/pi/Desktop/images/11052026/00/25/image_11052026_00_26_14_30193.jpg', '/home/pi/Desktop/images/11052026/00/26/image_11052026_00_26_44_30388.jpg', '/home/pi/Desktop/images/11052026/00/29/image_11052026_00_29_44_29192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/23/image_11052026_00_24_14_30303.jpg
/home/pi/Desktop/images/11052026/00/24/image_11052026_00_24_44_30315.jpg
/home/pi/Desktop/images/11052026/00/24/image_11052026_00_25_14_30306.jpg
/home/pi/Desktop/images/11052026/00/25/image_11052026_00_26_14_30193.jpg
/home/pi/Desktop/images/11052026/00/26/image_11052026_00_26_44_30388.jpg
/home/pi/Desktop/images/11052026/00/29/image_11052026_00_29_44_29192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812839","1416812841","1416812835","1416812843","1416812846","1416812833"],"photo_ids_order":["1416812833","1416812835","1416812839","1416812841","1416812843","1416812846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dabf58eddaa110c4d3fb4adafa9c7271.jpg","text":"TemporaryFile(/tmp/multipartBody9183022770165785050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_25_14_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/abdcee240ee2be9edc464824f1f50438.jpg","text":"TemporaryFile(/tmp/multipartBody3858448579957299234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_26_14_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62f29ef4ac83cf05f40d00550b9b19da.jpg","text":"TemporaryFile(/tmp/multipartBody7033552042377224638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_24_44_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9f5d2c0c0531f2074f9864f9b5a6783.jpg","text":"TemporaryFile(/tmp/multipartBody8711987339664759428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_26_44_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b61bf57dccc0481b6f5865420f01a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7100600135433093116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_29_44_29192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a03e517d14c65e575453f1ac3b0b728.jpg","text":"TemporaryFile(/tmp/multipartBody5374491991261642581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007507,"filename":"image_11052026_00_24_14_30303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812839","file1":"1416812835","file0":"1416812833","file4":"1416812843","file5":"1416812846","file3":"1416812841"},"map_files_photo_id_array":[{"photo_id":"1416812846","filename":"file5"},{"photo_id":"1416812839","filename":"file2"},{"photo_id":"1416812843","filename":"file4"},{"photo_id":"1416812835","filename":"file1"},{"photo_id":"1416812833","filename":"file0"},{"photo_id":"1416812841","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812839":["hashtag1","hashtag2"]},{"1416812841":["hashtag1","hashtag2"]},{"1416812835":["hashtag1","hashtag2"]},{"1416812843":["hashtag1","hashtag2"]},{"1416812846":["hashtag1","hashtag2"]},{"1416812833":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812839, 1416812841, 1416812835, 1416812843, 1416812846, 1416812833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13387846946716 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812844","1416812847","1416812840","1416812834","1416812842","1416812836"],"photo_ids_order":["1416812834","1416812836","1416812840","1416812842","1416812844","1416812847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22de03f1f3d7e90cca08f1d0691b013f.jpg","text":"TemporaryFile(/tmp/multipartBody361240148748022695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_24_44_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/432a9c9889ba9b5fa4a3c9bdfba73338.jpg","text":"TemporaryFile(/tmp/multipartBody2589407023979884081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_24_14_29222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/798e17cdddb85467250ab0a77c9a5d93.jpg","text":"TemporaryFile(/tmp/multipartBody280297140552476215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_43_44_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d9d19c806d276ab35756071f3ac05e0.jpg","text":"TemporaryFile(/tmp/multipartBody7623095858889232454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_56_44_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e842ba94a5609049cce1bd85289b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody670141284828507670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_26_13_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8f0be5373ae189c2b12e43ef0ddf706.jpg","text":"TemporaryFile(/tmp/multipartBody3380107975388126920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472007597,"filename":"image_11052026_05_45_14_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812840","file1":"1416812836","file0":"1416812834","file4":"1416812844","file5":"1416812847","file3":"1416812842"},"map_files_photo_id_array":[{"photo_id":"1416812847","filename":"file5"},{"photo_id":"1416812840","filename":"file2"},{"photo_id":"1416812844","filename":"file4"},{"photo_id":"1416812836","filename":"file1"},{"photo_id":"1416812834","filename":"file0"},{"photo_id":"1416812842","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812844":["hashtag1","hashtag2"]},{"1416812847":["hashtag1","hashtag2"]},{"1416812840":["hashtag1","hashtag2"]},{"1416812834":["hashtag1","hashtag2"]},{"1416812842":["hashtag1","hashtag2"]},{"1416812836":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812844, 1416812847, 1416812840, 1416812834, 1416812842, 1416812836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.302916288375854 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:00:03.236928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/05/23/image_11052026_05_23_44_30243.jpg', '/home/pi/Desktop/images/11052026/05/16/image_11052026_05_16_44_30357.jpg', '/home/pi/Desktop/images/11052026/05/02/image_11052026_05_03_14_30305.jpg', '/home/pi/Desktop/images/11052026/05/01/image_11052026_05_01_44_30271.jpg', '/home/pi/Desktop/images/11052026/05/00/image_11052026_05_01_14_30214.jpg', '/home/pi/Desktop/images/11052026/04/50/image_11052026_04_51_14_30243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/05/23/image_11052026_05_23_44_30243.jpg
/home/pi/Desktop/images/11052026/05/16/image_11052026_05_16_44_30357.jpg
/home/pi/Desktop/images/11052026/05/02/image_11052026_05_03_14_30305.jpg
/home/pi/Desktop/images/11052026/05/01/image_11052026_05_01_44_30271.jpg
/home/pi/Desktop/images/11052026/05/00/image_11052026_05_01_14_30214.jpg
/home/pi/Desktop/images/11052026/04/50/image_11052026_04_51_14_30243.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5149712562561035 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:01:04.013711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/05/23/image_11052026_05_23_44_30243.jpg', '/home/pi/Desktop/images/11052026/05/16/image_11052026_05_16_44_30357.jpg', '/home/pi/Desktop/images/11052026/05/02/image_11052026_05_03_14_30305.jpg', '/home/pi/Desktop/images/11052026/05/01/image_11052026_05_01_44_30271.jpg', '/home/pi/Desktop/images/11052026/05/00/image_11052026_05_01_14_30214.jpg', '/home/pi/Desktop/images/11052026/04/50/image_11052026_04_51_14_30243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/05/23/image_11052026_05_23_44_30243.jpg
/home/pi/Desktop/images/11052026/05/16/image_11052026_05_16_44_30357.jpg
/home/pi/Desktop/images/11052026/05/02/image_11052026_05_03_14_30305.jpg
/home/pi/Desktop/images/11052026/05/01/image_11052026_05_01_44_30271.jpg
/home/pi/Desktop/images/11052026/05/00/image_11052026_05_01_14_30214.jpg
/home/pi/Desktop/images/11052026/04/50/image_11052026_04_51_14_30243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812874","1416812868","1416812876","1416812870","1416812872","1416812866"],"photo_ids_order":["1416812866","1416812868","1416812870","1416812872","1416812874","1416812876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7dd9e92db7bfa6eb983ead9491de003a.jpg","text":"TemporaryFile(/tmp/multipartBody7889490649902955224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_05_01_14_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ae2605c95605677f89b73f86004b779.jpg","text":"TemporaryFile(/tmp/multipartBody949429059144037824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_05_16_44_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/acca2218fe33ff0560c102a7ce1312f6.jpg","text":"TemporaryFile(/tmp/multipartBody2278588718619843428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_04_51_14_30243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91520716925793d2232fe5e651e222e4.jpg","text":"TemporaryFile(/tmp/multipartBody7871272537986672050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_05_03_14_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9493adda5a2883c0c6bafce95f260363.jpg","text":"TemporaryFile(/tmp/multipartBody7009381041419549216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_05_01_44_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/649285156105c4c23b1893459749b085.jpg","text":"TemporaryFile(/tmp/multipartBody632730203018240554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472125901,"filename":"image_11052026_05_23_44_30243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812870","file1":"1416812868","file0":"1416812866","file4":"1416812874","file5":"1416812876","file3":"1416812872"},"map_files_photo_id_array":[{"photo_id":"1416812876","filename":"file5"},{"photo_id":"1416812870","filename":"file2"},{"photo_id":"1416812874","filename":"file4"},{"photo_id":"1416812868","filename":"file1"},{"photo_id":"1416812866","filename":"file0"},{"photo_id":"1416812872","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812874":["hashtag1","hashtag2"]},{"1416812868":["hashtag1","hashtag2"]},{"1416812876":["hashtag1","hashtag2"]},{"1416812870":["hashtag1","hashtag2"]},{"1416812872":["hashtag1","hashtag2"]},{"1416812866":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812874, 1416812868, 1416812876, 1416812870, 1416812872, 1416812866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.118645906448364 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:02:03.118098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/04/49/image_11052026_04_50_14_30226.jpg', '/home/pi/Desktop/images/11052026/04/44/image_11052026_04_44_44_30298.jpg', '/home/pi/Desktop/images/11052026/04/27/image_11052026_04_28_14_30278.jpg', '/home/pi/Desktop/images/11052026/04/24/image_11052026_04_24_44_30418.jpg', '/home/pi/Desktop/images/11052026/04/19/image_11052026_04_20_14_30122.jpg', '/home/pi/Desktop/images/11052026/04/19/image_11052026_04_19_44_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/04/49/image_11052026_04_50_14_30226.jpg
/home/pi/Desktop/images/11052026/04/44/image_11052026_04_44_44_30298.jpg
/home/pi/Desktop/images/11052026/04/27/image_11052026_04_28_14_30278.jpg
/home/pi/Desktop/images/11052026/04/24/image_11052026_04_24_44_30418.jpg
/home/pi/Desktop/images/11052026/04/19/image_11052026_04_20_14_30122.jpg
/home/pi/Desktop/images/11052026/04/19/image_11052026_04_19_44_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812880","1416812886","1416812888","1416812882","1416812884","1416812878"],"photo_ids_order":["1416812878","1416812880","1416812882","1416812884","1416812886","1416812888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c81baf688d445c9123e968fc1bfb6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6703432970721471233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_44_44_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ca080248e20086bc00df561bd08a038.jpg","text":"TemporaryFile(/tmp/multipartBody7036595699519201041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_20_14_30122.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f40f7c40066d404d8db0a46de171f25.jpg","text":"TemporaryFile(/tmp/multipartBody5292439863409928425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_19_44_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb4a0c28bdcb531b851608bb288027fc.jpg","text":"TemporaryFile(/tmp/multipartBody5458078012972627665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_28_14_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9d9a523a426cb1cafa35dfe89c208f3.jpg","text":"TemporaryFile(/tmp/multipartBody6435614544422380769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_24_44_30418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73ac4b8da24e2e51875020cdb1e62874.jpg","text":"TemporaryFile(/tmp/multipartBody8658834934296903670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472185165,"filename":"image_11052026_04_50_14_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812882","file1":"1416812880","file0":"1416812878","file4":"1416812886","file5":"1416812888","file3":"1416812884"},"map_files_photo_id_array":[{"photo_id":"1416812888","filename":"file5"},{"photo_id":"1416812882","filename":"file2"},{"photo_id":"1416812886","filename":"file4"},{"photo_id":"1416812880","filename":"file1"},{"photo_id":"1416812878","filename":"file0"},{"photo_id":"1416812884","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812880":["hashtag1","hashtag2"]},{"1416812886":["hashtag1","hashtag2"]},{"1416812888":["hashtag1","hashtag2"]},{"1416812882":["hashtag1","hashtag2"]},{"1416812884":["hashtag1","hashtag2"]},{"1416812878":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812880, 1416812886, 1416812888, 1416812882, 1416812884, 1416812878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92310881614685 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:03:04.578632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/04/18/image_11052026_04_18_44_30324.jpg', '/home/pi/Desktop/images/11052026/04/17/image_11052026_04_18_14_30225.jpg', '/home/pi/Desktop/images/11052026/04/17/image_11052026_04_17_44_30199.jpg', '/home/pi/Desktop/images/11052026/04/16/image_11052026_04_16_44_30347.jpg', '/home/pi/Desktop/images/11052026/04/14/image_11052026_04_15_14_30235.jpg', '/home/pi/Desktop/images/11052026/04/14/image_11052026_04_14_44_29242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/04/18/image_11052026_04_18_44_30324.jpg
/home/pi/Desktop/images/11052026/04/17/image_11052026_04_18_14_30225.jpg
/home/pi/Desktop/images/11052026/04/17/image_11052026_04_17_44_30199.jpg
/home/pi/Desktop/images/11052026/04/16/image_11052026_04_16_44_30347.jpg
/home/pi/Desktop/images/11052026/04/14/image_11052026_04_15_14_30235.jpg
/home/pi/Desktop/images/11052026/04/14/image_11052026_04_14_44_29242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812895","1416812897","1416812900","1416812899","1416812890","1416812893"],"photo_ids_order":["1416812890","1416812893","1416812895","1416812897","1416812899","1416812900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c062d8ca76ecb75dfdf57fd65e5eceae.jpg","text":"TemporaryFile(/tmp/multipartBody3935273372308166794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_17_44_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f58d1bb12c3fcfefe9e83fb52ae23b20.jpg","text":"TemporaryFile(/tmp/multipartBody6656897921681658649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_16_44_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/391cb8412ca21aa11781f0dfd0d1276e.jpg","text":"TemporaryFile(/tmp/multipartBody5597006915769068400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_14_44_29242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/052e6184aacc3f841ee6844ea10fb01d.jpg","text":"TemporaryFile(/tmp/multipartBody1857151677320684979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_15_14_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c895b555db962bc173da11391a399c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7765964397494026331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_18_44_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/240e6f49d25f91071461b848dcb7efc1.jpg","text":"TemporaryFile(/tmp/multipartBody7237791614149017943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472247477,"filename":"image_11052026_04_18_14_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812895","file1":"1416812893","file0":"1416812890","file4":"1416812899","file5":"1416812900","file3":"1416812897"},"map_files_photo_id_array":[{"photo_id":"1416812900","filename":"file5"},{"photo_id":"1416812895","filename":"file2"},{"photo_id":"1416812899","filename":"file4"},{"photo_id":"1416812893","filename":"file1"},{"photo_id":"1416812890","filename":"file0"},{"photo_id":"1416812897","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812895":["hashtag1","hashtag2"]},{"1416812897":["hashtag1","hashtag2"]},{"1416812900":["hashtag1","hashtag2"]},{"1416812899":["hashtag1","hashtag2"]},{"1416812890":["hashtag1","hashtag2"]},{"1416812893":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812895, 1416812897, 1416812900, 1416812899, 1416812890, 1416812893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.680830001831055 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:04:03.874772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/30/image_11052026_00_30_44_30295.jpg', '/home/pi/Desktop/images/11052026/00/30/image_11052026_00_31_13_29236.jpg', '/home/pi/Desktop/images/11052026/00/31/image_11052026_00_32_14_30217.jpg', '/home/pi/Desktop/images/11052026/00/32/image_11052026_00_33_14_29190.jpg', '/home/pi/Desktop/images/11052026/00/34/image_11052026_00_35_14_30295.jpg', '/home/pi/Desktop/images/11052026/00/36/image_11052026_00_36_44_29220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/30/image_11052026_00_30_44_30295.jpg
/home/pi/Desktop/images/11052026/00/30/image_11052026_00_31_13_29236.jpg
/home/pi/Desktop/images/11052026/00/31/image_11052026_00_32_14_30217.jpg
/home/pi/Desktop/images/11052026/00/32/image_11052026_00_33_14_29190.jpg
/home/pi/Desktop/images/11052026/00/34/image_11052026_00_35_14_30295.jpg
/home/pi/Desktop/images/11052026/00/36/image_11052026_00_36_44_29220.jpg
2026-05-11 06:04:03.960378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/04/12/image_11052026_04_12_43_29389.jpg', '/home/pi/Desktop/images/11052026/04/08/image_11052026_04_09_14_30197.jpg', '/home/pi/Desktop/images/11052026/04/06/image_11052026_04_07_14_30224.jpg', '/home/pi/Desktop/images/11052026/04/06/image_11052026_04_06_44_30241.jpg', '/home/pi/Desktop/images/11052026/03/46/image_11052026_03_46_44_30273.jpg', '/home/pi/Desktop/images/11052026/03/43/image_11052026_03_43_44_30289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/04/12/image_11052026_04_12_43_29389.jpg
/home/pi/Desktop/images/11052026/04/08/image_11052026_04_09_14_30197.jpg
/home/pi/Desktop/images/11052026/04/06/image_11052026_04_07_14_30224.jpg
/home/pi/Desktop/images/11052026/04/06/image_11052026_04_06_44_30241.jpg
/home/pi/Desktop/images/11052026/03/46/image_11052026_03_46_44_30273.jpg
/home/pi/Desktop/images/11052026/03/43/image_11052026_03_43_44_30289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812917","1416812902","1416812911","1416812905","1416812908","1416812914"],"photo_ids_order":["1416812902","1416812905","1416812908","1416812911","1416812914","1416812917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7625533e5c7d00c9f06fb49178c3546b.jpg","text":"TemporaryFile(/tmp/multipartBody8122126148775131092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_03_43_44_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/863007a893b1feb05166e0815f05e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody67376579907019484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_04_12_43_29389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df3bc3a8dc35d299a30f8f2cf8fa0744.jpg","text":"TemporaryFile(/tmp/multipartBody8577883119458416608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_04_06_44_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7369463b3b4ab68a7f7a774e10d154a.jpg","text":"TemporaryFile(/tmp/multipartBody204350569916993331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_04_09_14_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2935a51ee17b385113f6ea5a72dbd081.jpg","text":"TemporaryFile(/tmp/multipartBody8315988829438682523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_04_07_14_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/494e083fc164f6d3b15e3dc959967133.jpg","text":"TemporaryFile(/tmp/multipartBody6476723746396946720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306308,"filename":"image_11052026_03_46_44_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812908","file1":"1416812905","file0":"1416812902","file4":"1416812914","file5":"1416812917","file3":"1416812911"},"map_files_photo_id_array":[{"photo_id":"1416812917","filename":"file5"},{"photo_id":"1416812908","filename":"file2"},{"photo_id":"1416812914","filename":"file4"},{"photo_id":"1416812905","filename":"file1"},{"photo_id":"1416812902","filename":"file0"},{"photo_id":"1416812911","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812917":["hashtag1","hashtag2"]},{"1416812902":["hashtag1","hashtag2"]},{"1416812911":["hashtag1","hashtag2"]},{"1416812905":["hashtag1","hashtag2"]},{"1416812908":["hashtag1","hashtag2"]},{"1416812914":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812917, 1416812902, 1416812911, 1416812905, 1416812908, 1416812914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68315577507019 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812907","1416812916","1416812910","1416812918","1416812903","1416812912"],"photo_ids_order":["1416812903","1416812907","1416812910","1416812912","1416812916","1416812918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/348fe32a41b01dc43baebb6ac66c6c73.jpg","text":"TemporaryFile(/tmp/multipartBody8412206681656505775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_31_13_29236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb54ae85aeb03a3fc065d5e114446c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5347479751452527440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_35_14_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0de2fa0dbaf8b154b8945b1a86b46cdd.jpg","text":"TemporaryFile(/tmp/multipartBody9212180421708393143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_32_14_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1284e79f157573a82fb56e5246e6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5932599005091895997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_36_44_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5b9adf03f476d44e20d43a93ac7c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6673131770128598462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_30_44_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1453f9f63c9fc13e0b0ec70b336e672.jpg","text":"TemporaryFile(/tmp/multipartBody3227188296026497111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472306632,"filename":"image_11052026_00_33_14_29190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812910","file1":"1416812907","file0":"1416812903","file4":"1416812916","file5":"1416812918","file3":"1416812912"},"map_files_photo_id_array":[{"photo_id":"1416812918","filename":"file5"},{"photo_id":"1416812910","filename":"file2"},{"photo_id":"1416812916","filename":"file4"},{"photo_id":"1416812907","filename":"file1"},{"photo_id":"1416812903","filename":"file0"},{"photo_id":"1416812912","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812907":["hashtag1","hashtag2"]},{"1416812916":["hashtag1","hashtag2"]},{"1416812910":["hashtag1","hashtag2"]},{"1416812918":["hashtag1","hashtag2"]},{"1416812903":["hashtag1","hashtag2"]},{"1416812912":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812907, 1416812916, 1416812910, 1416812918, 1416812903, 1416812912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35650420188904 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:05:04.059848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/03/40/image_11052026_03_41_14_29227.jpg', '/home/pi/Desktop/images/11052026/03/39/image_11052026_03_39_44_30278.jpg', '/home/pi/Desktop/images/11052026/03/38/image_11052026_03_39_13_29206.jpg', '/home/pi/Desktop/images/11052026/03/38/image_11052026_03_38_44_30337.jpg', '/home/pi/Desktop/images/11052026/03/37/image_11052026_03_38_14_30147.jpg', '/home/pi/Desktop/images/11052026/03/34/image_11052026_03_34_44_30359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/03/40/image_11052026_03_41_14_29227.jpg
/home/pi/Desktop/images/11052026/03/39/image_11052026_03_39_44_30278.jpg
/home/pi/Desktop/images/11052026/03/38/image_11052026_03_39_13_29206.jpg
/home/pi/Desktop/images/11052026/03/38/image_11052026_03_38_44_30337.jpg
/home/pi/Desktop/images/11052026/03/37/image_11052026_03_38_14_30147.jpg
/home/pi/Desktop/images/11052026/03/34/image_11052026_03_34_44_30359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812925","1416812934","1416812928","1416812936","1416812930","1416812932"],"photo_ids_order":["1416812925","1416812928","1416812930","1416812932","1416812934","1416812936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46599f84d34bdbdc85faeca1c12b76a8.jpg","text":"TemporaryFile(/tmp/multipartBody8811009850388647511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_41_14_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c21a37a26a39518f2002c2ff036ff6c.jpg","text":"TemporaryFile(/tmp/multipartBody1676685010969890482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_38_14_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e13898602cdd46004a63669ecf98f12.jpg","text":"TemporaryFile(/tmp/multipartBody3083582965769385602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_39_44_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9949353752280a9c9830a694b562eee3.jpg","text":"TemporaryFile(/tmp/multipartBody3230476366926500123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_34_44_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5f914303b3d934b86f786000c96df46.jpg","text":"TemporaryFile(/tmp/multipartBody5010317756154122855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_39_13_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b0e87f690685051df14bcc21c64c713.jpg","text":"TemporaryFile(/tmp/multipartBody7579190139105260753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472365941,"filename":"image_11052026_03_38_44_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812930","file1":"1416812928","file0":"1416812925","file4":"1416812934","file5":"1416812936","file3":"1416812932"},"map_files_photo_id_array":[{"photo_id":"1416812936","filename":"file5"},{"photo_id":"1416812930","filename":"file2"},{"photo_id":"1416812934","filename":"file4"},{"photo_id":"1416812928","filename":"file1"},{"photo_id":"1416812925","filename":"file0"},{"photo_id":"1416812932","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812925":["hashtag1","hashtag2"]},{"1416812934":["hashtag1","hashtag2"]},{"1416812928":["hashtag1","hashtag2"]},{"1416812936":["hashtag1","hashtag2"]},{"1416812930":["hashtag1","hashtag2"]},{"1416812932":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812925, 1416812934, 1416812928, 1416812936, 1416812930, 1416812932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1433048248291 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:06:02.856619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/05/56/image_11052026_05_57_14_30242.jpg', '/home/pi/Desktop/images/11052026/03/26/image_11052026_03_26_44_30268.jpg', '/home/pi/Desktop/images/11052026/03/21/image_11052026_03_21_43_29338.jpg', '/home/pi/Desktop/images/11052026/03/20/image_11052026_03_21_14_30296.jpg', '/home/pi/Desktop/images/11052026/03/17/image_11052026_03_18_14_29126.jpg', '/home/pi/Desktop/images/11052026/03/14/image_11052026_03_15_14_30274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/05/56/image_11052026_05_57_14_30242.jpg
/home/pi/Desktop/images/11052026/03/26/image_11052026_03_26_44_30268.jpg
/home/pi/Desktop/images/11052026/03/21/image_11052026_03_21_43_29338.jpg
/home/pi/Desktop/images/11052026/03/20/image_11052026_03_21_14_30296.jpg
/home/pi/Desktop/images/11052026/03/17/image_11052026_03_18_14_29126.jpg
/home/pi/Desktop/images/11052026/03/14/image_11052026_03_15_14_30274.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812944","1416812938","1416812946","1416812940","1416812948","1416812942"],"photo_ids_order":["1416812938","1416812940","1416812942","1416812944","1416812946","1416812948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d376d54ca1225a1cf77d94ec1b227b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6385827898335308570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_03_21_14_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bce7d1920412e7a6688c31b9d6e17130.jpg","text":"TemporaryFile(/tmp/multipartBody4950140103620924392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_05_57_14_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e17ea2b776cce5770256d5ec7974b164.jpg","text":"TemporaryFile(/tmp/multipartBody584534091511102414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_03_18_14_29126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b84be9613e145a883dc5a5c4cd750d25.jpg","text":"TemporaryFile(/tmp/multipartBody874690340282266545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_03_26_44_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3317d4c792be816c3cdd28a8acc5899.jpg","text":"TemporaryFile(/tmp/multipartBody3982195027687272325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_03_15_14_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/857b3ef82d4b1e11c3a4f4c3a47050da.jpg","text":"TemporaryFile(/tmp/multipartBody1921892402598477264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472424750,"filename":"image_11052026_03_21_43_29338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812942","file1":"1416812940","file0":"1416812938","file4":"1416812946","file5":"1416812948","file3":"1416812944"},"map_files_photo_id_array":[{"photo_id":"1416812948","filename":"file5"},{"photo_id":"1416812942","filename":"file2"},{"photo_id":"1416812946","filename":"file4"},{"photo_id":"1416812940","filename":"file1"},{"photo_id":"1416812938","filename":"file0"},{"photo_id":"1416812944","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812944":["hashtag1","hashtag2"]},{"1416812938":["hashtag1","hashtag2"]},{"1416812946":["hashtag1","hashtag2"]},{"1416812940":["hashtag1","hashtag2"]},{"1416812948":["hashtag1","hashtag2"]},{"1416812942":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812944, 1416812938, 1416812946, 1416812940, 1416812948, 1416812942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.894389152526855 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:07:03.900166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/05/image_11052026_06_05_44_29283.jpg', '/home/pi/Desktop/images/11052026/03/00/image_11052026_03_01_14_30290.jpg', '/home/pi/Desktop/images/11052026/02/55/image_11052026_02_55_44_30373.jpg', '/home/pi/Desktop/images/11052026/02/53/image_11052026_02_54_14_30294.jpg', '/home/pi/Desktop/images/11052026/02/53/image_11052026_02_53_44_30382.jpg', '/home/pi/Desktop/images/11052026/02/52/image_11052026_02_53_14_29207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/05/image_11052026_06_05_44_29283.jpg
/home/pi/Desktop/images/11052026/03/00/image_11052026_03_01_14_30290.jpg
/home/pi/Desktop/images/11052026/02/55/image_11052026_02_55_44_30373.jpg
/home/pi/Desktop/images/11052026/02/53/image_11052026_02_54_14_30294.jpg
/home/pi/Desktop/images/11052026/02/53/image_11052026_02_53_44_30382.jpg
/home/pi/Desktop/images/11052026/02/52/image_11052026_02_53_14_29207.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.481203556060791 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:08:03.267451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/05/image_11052026_06_05_44_29283.jpg', '/home/pi/Desktop/images/11052026/03/00/image_11052026_03_01_14_30290.jpg', '/home/pi/Desktop/images/11052026/02/55/image_11052026_02_55_44_30373.jpg', '/home/pi/Desktop/images/11052026/02/53/image_11052026_02_54_14_30294.jpg', '/home/pi/Desktop/images/11052026/02/53/image_11052026_02_53_44_30382.jpg', '/home/pi/Desktop/images/11052026/02/52/image_11052026_02_53_14_29207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/05/image_11052026_06_05_44_29283.jpg
/home/pi/Desktop/images/11052026/03/00/image_11052026_03_01_14_30290.jpg
/home/pi/Desktop/images/11052026/02/55/image_11052026_02_55_44_30373.jpg
/home/pi/Desktop/images/11052026/02/53/image_11052026_02_54_14_30294.jpg
/home/pi/Desktop/images/11052026/02/53/image_11052026_02_53_44_30382.jpg
/home/pi/Desktop/images/11052026/02/52/image_11052026_02_53_14_29207.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812961","1416812967","1416812969","1416812963","1416812971","1416812965"],"photo_ids_order":["1416812961","1416812963","1416812965","1416812967","1416812969","1416812971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc77d8a393588119062183cbbbe16305.jpg","text":"TemporaryFile(/tmp/multipartBody3159257717877774491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_06_05_44_29283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ffd743c5f258bc1002c53d3e9da9cde5.jpg","text":"TemporaryFile(/tmp/multipartBody9125083486079042157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_02_54_14_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d25254bf0b6a3b136023ec451a10680.jpg","text":"TemporaryFile(/tmp/multipartBody8756219195816994917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_02_53_44_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5a8ca9fc4b405f116244e48a0dc34f2.jpg","text":"TemporaryFile(/tmp/multipartBody8257103531503685725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_03_01_14_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/910a80c7d2bc42978ed8c649671ac48f.jpg","text":"TemporaryFile(/tmp/multipartBody915085938599123013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_02_53_14_29207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8db71d017154f872924513168dd09cc.jpg","text":"TemporaryFile(/tmp/multipartBody861631390007057578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472545010,"filename":"image_11052026_02_55_44_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812965","file1":"1416812963","file0":"1416812961","file4":"1416812969","file5":"1416812971","file3":"1416812967"},"map_files_photo_id_array":[{"photo_id":"1416812971","filename":"file5"},{"photo_id":"1416812965","filename":"file2"},{"photo_id":"1416812969","filename":"file4"},{"photo_id":"1416812963","filename":"file1"},{"photo_id":"1416812961","filename":"file0"},{"photo_id":"1416812967","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812961":["hashtag1","hashtag2"]},{"1416812967":["hashtag1","hashtag2"]},{"1416812969":["hashtag1","hashtag2"]},{"1416812963":["hashtag1","hashtag2"]},{"1416812971":["hashtag1","hashtag2"]},{"1416812965":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812961, 1416812967, 1416812969, 1416812963, 1416812971, 1416812965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13964772224426 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:09:04.069159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/02/49/image_11052026_02_50_14_30218.jpg', '/home/pi/Desktop/images/11052026/02/49/image_11052026_02_49_44_29255.jpg', '/home/pi/Desktop/images/11052026/02/48/image_11052026_02_49_14_30277.jpg', '/home/pi/Desktop/images/11052026/02/47/image_11052026_02_48_14_30258.jpg', '/home/pi/Desktop/images/11052026/02/42/image_11052026_02_43_14_30300.jpg', '/home/pi/Desktop/images/11052026/02/39/image_11052026_02_39_44_30337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/02/49/image_11052026_02_50_14_30218.jpg
/home/pi/Desktop/images/11052026/02/49/image_11052026_02_49_44_29255.jpg
/home/pi/Desktop/images/11052026/02/48/image_11052026_02_49_14_30277.jpg
/home/pi/Desktop/images/11052026/02/47/image_11052026_02_48_14_30258.jpg
/home/pi/Desktop/images/11052026/02/42/image_11052026_02_43_14_30300.jpg
/home/pi/Desktop/images/11052026/02/39/image_11052026_02_39_44_30337.jpg
2026-05-11 06:09:04.032216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg', '/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg', '/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg', '/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg', '/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg', '/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg
/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg
/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.7007222175598145 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812973","1416812984","1416812987","1416812981","1416812975","1416812978"],"photo_ids_order":["1416812973","1416812975","1416812978","1416812981","1416812984","1416812987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc296b3dfe467b58d6166764840fe697.jpg","text":"TemporaryFile(/tmp/multipartBody6156319378450127509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_50_14_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/546f3afc6cf69b78fd5fab323416992f.jpg","text":"TemporaryFile(/tmp/multipartBody8724279164239916475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_43_14_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6e1acd96629a9f40e0f728c4c434c41.jpg","text":"TemporaryFile(/tmp/multipartBody7136315363709161428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_39_44_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff5ad0a5a8816f5312303cc5a31cd947.jpg","text":"TemporaryFile(/tmp/multipartBody3626640418598536820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_48_14_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e6861ad147c0f0e5cc281e6c7dca351.jpg","text":"TemporaryFile(/tmp/multipartBody8148467318050946766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_49_44_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dad04404dfa8d35f40de6d0e1fbbba8b.jpg","text":"TemporaryFile(/tmp/multipartBody4164901437355545537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472606356,"filename":"image_11052026_02_49_14_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812978","file1":"1416812975","file0":"1416812973","file4":"1416812984","file5":"1416812987","file3":"1416812981"},"map_files_photo_id_array":[{"photo_id":"1416812987","filename":"file5"},{"photo_id":"1416812978","filename":"file2"},{"photo_id":"1416812984","filename":"file4"},{"photo_id":"1416812975","filename":"file1"},{"photo_id":"1416812973","filename":"file0"},{"photo_id":"1416812981","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812973":["hashtag1","hashtag2"]},{"1416812984":["hashtag1","hashtag2"]},{"1416812987":["hashtag1","hashtag2"]},{"1416812981":["hashtag1","hashtag2"]},{"1416812975":["hashtag1","hashtag2"]},{"1416812978":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812973, 1416812984, 1416812987, 1416812981, 1416812975, 1416812978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.901766538619995 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:10:02.760587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/02/30/image_11052026_02_31_14_30230.jpg', '/home/pi/Desktop/images/11052026/02/29/image_11052026_02_30_14_30129.jpg', '/home/pi/Desktop/images/11052026/02/29/image_11052026_02_29_44_30289.jpg', '/home/pi/Desktop/images/11052026/02/28/image_11052026_02_28_44_30323.jpg', '/home/pi/Desktop/images/11052026/02/27/image_11052026_02_28_14_30301.jpg', '/home/pi/Desktop/images/11052026/02/27/image_11052026_02_27_44_29217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/02/30/image_11052026_02_31_14_30230.jpg
/home/pi/Desktop/images/11052026/02/29/image_11052026_02_30_14_30129.jpg
/home/pi/Desktop/images/11052026/02/29/image_11052026_02_29_44_30289.jpg
/home/pi/Desktop/images/11052026/02/28/image_11052026_02_28_44_30323.jpg
/home/pi/Desktop/images/11052026/02/27/image_11052026_02_28_14_30301.jpg
/home/pi/Desktop/images/11052026/02/27/image_11052026_02_27_44_29217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416812994","1416813000","1416812990","1416812996","1416812998","1416812992"],"photo_ids_order":["1416812990","1416812992","1416812994","1416812996","1416812998","1416813000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19ef62b3b18709e2666a7ffc84e367a8.jpg","text":"TemporaryFile(/tmp/multipartBody8290396063759803819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_29_44_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9409ba0bfed913605aa965367ea8e758.jpg","text":"TemporaryFile(/tmp/multipartBody6036649617391332404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_27_44_29217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c5f6fcc7aff61dd9a7bb18640c21d44.jpg","text":"TemporaryFile(/tmp/multipartBody8067938824272174638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_31_14_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d74b3732e91b71139ec5d7dfec64beba.jpg","text":"TemporaryFile(/tmp/multipartBody402281607815537519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_28_44_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46c72036e953b912f354737e4696aaf7.jpg","text":"TemporaryFile(/tmp/multipartBody1885944035854369247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_28_14_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb2cb1d5431c5c1d0712f950b79d2310.jpg","text":"TemporaryFile(/tmp/multipartBody2694825641871927549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472664656,"filename":"image_11052026_02_30_14_30129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416812994","file1":"1416812992","file0":"1416812990","file4":"1416812998","file5":"1416813000","file3":"1416812996"},"map_files_photo_id_array":[{"photo_id":"1416813000","filename":"file5"},{"photo_id":"1416812994","filename":"file2"},{"photo_id":"1416812998","filename":"file4"},{"photo_id":"1416812992","filename":"file1"},{"photo_id":"1416812990","filename":"file0"},{"photo_id":"1416812996","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416812994":["hashtag1","hashtag2"]},{"1416813000":["hashtag1","hashtag2"]},{"1416812990":["hashtag1","hashtag2"]},{"1416812996":["hashtag1","hashtag2"]},{"1416812998":["hashtag1","hashtag2"]},{"1416812992":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416812994, 1416813000, 1416812990, 1416812996, 1416812998, 1416812992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92832589149475 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:11:04.444769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/02/26/image_11052026_02_26_44_30312.jpg', '/home/pi/Desktop/images/11052026/02/25/image_11052026_02_25_44_30331.jpg', '/home/pi/Desktop/images/11052026/02/23/image_11052026_02_23_43_29298.jpg', '/home/pi/Desktop/images/11052026/02/21/image_11052026_02_22_14_29236.jpg', '/home/pi/Desktop/images/11052026/02/20/image_11052026_02_21_14_30205.jpg', '/home/pi/Desktop/images/11052026/02/19/image_11052026_02_19_44_30382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/02/26/image_11052026_02_26_44_30312.jpg
/home/pi/Desktop/images/11052026/02/25/image_11052026_02_25_44_30331.jpg
/home/pi/Desktop/images/11052026/02/23/image_11052026_02_23_43_29298.jpg
/home/pi/Desktop/images/11052026/02/21/image_11052026_02_22_14_29236.jpg
/home/pi/Desktop/images/11052026/02/20/image_11052026_02_21_14_30205.jpg
/home/pi/Desktop/images/11052026/02/19/image_11052026_02_19_44_30382.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813012","1416813006","1416813015","1416813009","1416813002","1416813004"],"photo_ids_order":["1416813002","1416813004","1416813006","1416813009","1416813012","1416813015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f7bf36c65a9dbebb773884c7d697580.jpg","text":"TemporaryFile(/tmp/multipartBody1474035146307009112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_21_14_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32274fe33ad5ef9d958cc50f9a84cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1932927805102471574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_23_43_29298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fc07f32467d69b266540c013dd22b30.jpg","text":"TemporaryFile(/tmp/multipartBody7380464267749767314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_19_44_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/676424b9091e2cf60a603145cd16ccda.jpg","text":"TemporaryFile(/tmp/multipartBody4551876122193654619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_22_14_29236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a9231cf8145eb40e6518d89d4c1b005.jpg","text":"TemporaryFile(/tmp/multipartBody5582516516921082777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_26_44_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/316b5ef1b643a5f10781b9b38fc4712a.jpg","text":"TemporaryFile(/tmp/multipartBody2319308039076111761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472726299,"filename":"image_11052026_02_25_44_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813006","file1":"1416813004","file0":"1416813002","file4":"1416813012","file5":"1416813015","file3":"1416813009"},"map_files_photo_id_array":[{"photo_id":"1416813015","filename":"file5"},{"photo_id":"1416813006","filename":"file2"},{"photo_id":"1416813012","filename":"file4"},{"photo_id":"1416813004","filename":"file1"},{"photo_id":"1416813002","filename":"file0"},{"photo_id":"1416813009","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813012":["hashtag1","hashtag2"]},{"1416813006":["hashtag1","hashtag2"]},{"1416813015":["hashtag1","hashtag2"]},{"1416813009":["hashtag1","hashtag2"]},{"1416813002":["hashtag1","hashtag2"]},{"1416813004":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813012, 1416813006, 1416813015, 1416813009, 1416813002, 1416813004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.438851833343506 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:12:03.316862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/02/12/image_11052026_02_13_14_29212.jpg', '/home/pi/Desktop/images/11052026/02/06/image_11052026_02_07_14_30364.jpg', '/home/pi/Desktop/images/11052026/02/06/image_11052026_02_06_43_29238.jpg', '/home/pi/Desktop/images/11052026/02/04/image_11052026_02_05_14_29091.jpg', '/home/pi/Desktop/images/11052026/02/02/image_11052026_02_03_14_29200.jpg', '/home/pi/Desktop/images/11052026/02/02/image_11052026_02_02_44_30370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/02/12/image_11052026_02_13_14_29212.jpg
/home/pi/Desktop/images/11052026/02/06/image_11052026_02_07_14_30364.jpg
/home/pi/Desktop/images/11052026/02/06/image_11052026_02_06_43_29238.jpg
/home/pi/Desktop/images/11052026/02/04/image_11052026_02_05_14_29091.jpg
/home/pi/Desktop/images/11052026/02/02/image_11052026_02_03_14_29200.jpg
/home/pi/Desktop/images/11052026/02/02/image_11052026_02_02_44_30370.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813030","1416813024","1416813020","1416813026","1416813028","1416813022"],"photo_ids_order":["1416813020","1416813022","1416813024","1416813026","1416813028","1416813030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e254e5ac7804864d890cd156d906ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8450879907106324601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_02_44_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bc0886d0148706cc8a3926545e98b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6993226832832808058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_06_43_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bba0bbb9ade771643e0346f35aa91514.jpg","text":"TemporaryFile(/tmp/multipartBody205556753033742468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_13_14_29212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4afd222918d4f7aaa2271d0bc8a755e7.jpg","text":"TemporaryFile(/tmp/multipartBody7160552729891500856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_05_14_29091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e8596496fd5dd4c993ce6bf6683c507.jpg","text":"TemporaryFile(/tmp/multipartBody8890327486640092632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_03_14_29200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/891aa21c740b68120b23154f1cc1f034.jpg","text":"TemporaryFile(/tmp/multipartBody1812804608674237603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472785187,"filename":"image_11052026_02_07_14_30364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813024","file1":"1416813022","file0":"1416813020","file4":"1416813028","file5":"1416813030","file3":"1416813026"},"map_files_photo_id_array":[{"photo_id":"1416813030","filename":"file5"},{"photo_id":"1416813024","filename":"file2"},{"photo_id":"1416813028","filename":"file4"},{"photo_id":"1416813022","filename":"file1"},{"photo_id":"1416813020","filename":"file0"},{"photo_id":"1416813026","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813030":["hashtag1","hashtag2"]},{"1416813024":["hashtag1","hashtag2"]},{"1416813020":["hashtag1","hashtag2"]},{"1416813026":["hashtag1","hashtag2"]},{"1416813028":["hashtag1","hashtag2"]},{"1416813022":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813030, 1416813024, 1416813020, 1416813026, 1416813028, 1416813022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.000720262527466 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:13:03.715277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/01/41/image_11052026_01_42_14_30191.jpg', '/home/pi/Desktop/images/11052026/01/41/image_11052026_01_41_44_30272.jpg', '/home/pi/Desktop/images/11052026/01/38/image_11052026_01_38_44_30412.jpg', '/home/pi/Desktop/images/11052026/01/36/image_11052026_01_36_44_29289.jpg', '/home/pi/Desktop/images/11052026/01/34/image_11052026_01_35_14_29309.jpg', '/home/pi/Desktop/images/11052026/01/33/image_11052026_01_34_14_30192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/01/41/image_11052026_01_42_14_30191.jpg
/home/pi/Desktop/images/11052026/01/41/image_11052026_01_41_44_30272.jpg
/home/pi/Desktop/images/11052026/01/38/image_11052026_01_38_44_30412.jpg
/home/pi/Desktop/images/11052026/01/36/image_11052026_01_36_44_29289.jpg
/home/pi/Desktop/images/11052026/01/34/image_11052026_01_35_14_29309.jpg
/home/pi/Desktop/images/11052026/01/33/image_11052026_01_34_14_30192.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9134161472320557 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:14:04.117198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/14/image_11052026_06_14_44_30265.jpg', '/home/pi/Desktop/images/11052026/01/41/image_11052026_01_42_14_30191.jpg', '/home/pi/Desktop/images/11052026/01/41/image_11052026_01_41_44_30272.jpg', '/home/pi/Desktop/images/11052026/01/38/image_11052026_01_38_44_30412.jpg', '/home/pi/Desktop/images/11052026/01/36/image_11052026_01_36_44_29289.jpg', '/home/pi/Desktop/images/11052026/01/34/image_11052026_01_35_14_29309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/14/image_11052026_06_14_44_30265.jpg
/home/pi/Desktop/images/11052026/01/41/image_11052026_01_42_14_30191.jpg
/home/pi/Desktop/images/11052026/01/41/image_11052026_01_41_44_30272.jpg
/home/pi/Desktop/images/11052026/01/38/image_11052026_01_38_44_30412.jpg
/home/pi/Desktop/images/11052026/01/36/image_11052026_01_36_44_29289.jpg
/home/pi/Desktop/images/11052026/01/34/image_11052026_01_35_14_29309.jpg
2026-05-11 06:14:04.139111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg', '/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg', '/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg', '/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg', '/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg', '/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg
/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg
/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3195245265960693 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813051","1416813048","1416813053","1416813047","1416813058","1416813055"],"photo_ids_order":["1416813047","1416813048","1416813051","1416813053","1416813055","1416813058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63eb5eb1f1d57409fb29581f71de7604.jpg","text":"TemporaryFile(/tmp/multipartBody8055423924777746491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_01_41_44_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cb534544f78ebe6bee74544756a516d.jpg","text":"TemporaryFile(/tmp/multipartBody6071750465869405266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_01_42_14_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d132d68464613585de38ef170ef66ef.jpg","text":"TemporaryFile(/tmp/multipartBody8195100765654321673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_01_38_44_30412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f40723947374b01910219cd923ec93a.jpg","text":"TemporaryFile(/tmp/multipartBody7991272412612464880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_06_14_44_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3aed948fed8d8326370c969a97724cb.jpg","text":"TemporaryFile(/tmp/multipartBody6560909553450386514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_01_35_14_29309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d663c0f38f809b43a44f25eb2f0f347.jpg","text":"TemporaryFile(/tmp/multipartBody7239580928986631068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472906671,"filename":"image_11052026_01_36_44_29289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813051","file1":"1416813048","file0":"1416813047","file4":"1416813055","file5":"1416813058","file3":"1416813053"},"map_files_photo_id_array":[{"photo_id":"1416813058","filename":"file5"},{"photo_id":"1416813051","filename":"file2"},{"photo_id":"1416813055","filename":"file4"},{"photo_id":"1416813048","filename":"file1"},{"photo_id":"1416813047","filename":"file0"},{"photo_id":"1416813053","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813051":["hashtag1","hashtag2"]},{"1416813048":["hashtag1","hashtag2"]},{"1416813053":["hashtag1","hashtag2"]},{"1416813047":["hashtag1","hashtag2"]},{"1416813058":["hashtag1","hashtag2"]},{"1416813055":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813051, 1416813048, 1416813053, 1416813047, 1416813058, 1416813055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60939073562622 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:15:03.867800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/01/33/image_11052026_01_34_14_30192.jpg', '/home/pi/Desktop/images/11052026/01/24/image_11052026_01_24_43_29225.jpg', '/home/pi/Desktop/images/11052026/01/20/image_11052026_01_20_44_30428.jpg', '/home/pi/Desktop/images/11052026/01/13/image_11052026_01_13_44_30328.jpg', '/home/pi/Desktop/images/11052026/01/11/image_11052026_01_12_14_30187.jpg', '/home/pi/Desktop/images/11052026/01/07/image_11052026_01_08_14_30162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/01/33/image_11052026_01_34_14_30192.jpg
/home/pi/Desktop/images/11052026/01/24/image_11052026_01_24_43_29225.jpg
/home/pi/Desktop/images/11052026/01/20/image_11052026_01_20_44_30428.jpg
/home/pi/Desktop/images/11052026/01/13/image_11052026_01_13_44_30328.jpg
/home/pi/Desktop/images/11052026/01/11/image_11052026_01_12_14_30187.jpg
/home/pi/Desktop/images/11052026/01/07/image_11052026_01_08_14_30162.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813069","1416813072","1416813071","1416813068","1416813070","1416813067"],"photo_ids_order":["1416813067","1416813068","1416813069","1416813070","1416813071","1416813072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc0996b444b5830d5b5331f20f5188fe.jpg","text":"TemporaryFile(/tmp/multipartBody1882745311432592663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_20_44_30428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/763eafd46b28f18f8f98cf7f45d0ca39.jpg","text":"TemporaryFile(/tmp/multipartBody4528356600490951073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_08_14_30162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c99d166bd949adb155cf44f93fdf99e5.jpg","text":"TemporaryFile(/tmp/multipartBody4171017491324854239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_12_14_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e01d7e0740b07cbd7eb6402d4d2735ff.jpg","text":"TemporaryFile(/tmp/multipartBody7622322555374650930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_24_43_29225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/118276d28df1a15609e9102345b3c204.jpg","text":"TemporaryFile(/tmp/multipartBody3464419729571898264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_13_44_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb2d45055161d93539227665fa06c955.jpg","text":"TemporaryFile(/tmp/multipartBody9214497511323153002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778472965963,"filename":"image_11052026_01_34_14_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813069","file1":"1416813068","file0":"1416813067","file4":"1416813071","file5":"1416813072","file3":"1416813070"},"map_files_photo_id_array":[{"photo_id":"1416813072","filename":"file5"},{"photo_id":"1416813069","filename":"file2"},{"photo_id":"1416813071","filename":"file4"},{"photo_id":"1416813068","filename":"file1"},{"photo_id":"1416813067","filename":"file0"},{"photo_id":"1416813070","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813069":["hashtag1","hashtag2"]},{"1416813072":["hashtag1","hashtag2"]},{"1416813071":["hashtag1","hashtag2"]},{"1416813068":["hashtag1","hashtag2"]},{"1416813070":["hashtag1","hashtag2"]},{"1416813067":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813069, 1416813072, 1416813071, 1416813068, 1416813070, 1416813067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97889256477356 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:16:03.546474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/01/05/image_11052026_01_06_14_30192.jpg', '/home/pi/Desktop/images/11052026/01/02/image_11052026_01_03_13_29236.jpg', '/home/pi/Desktop/images/11052026/00/56/image_11052026_00_57_14_30255.jpg', '/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.jpg', '/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg', '/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/01/05/image_11052026_01_06_14_30192.jpg
/home/pi/Desktop/images/11052026/01/02/image_11052026_01_03_13_29236.jpg
/home/pi/Desktop/images/11052026/00/56/image_11052026_00_57_14_30255.jpg
/home/pi/Desktop/images/11052026/00/54/image_11052026_00_54_44_30441.jpg
/home/pi/Desktop/images/11052026/00/50/image_11052026_00_50_44_29222.jpg
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_47_14_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813081","1416813084","1416813083","1416813080","1416813082","1416813079"],"photo_ids_order":["1416813079","1416813080","1416813081","1416813082","1416813083","1416813084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/791c79d32b9aff2a8ff2f67d6807a84a.jpg","text":"TemporaryFile(/tmp/multipartBody2285576583440109469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_00_57_14_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a817ebd6bce4963111a65b8e87990ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4348938785498094243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_00_47_14_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a94541d386176d9a039f600516c0386.jpg","text":"TemporaryFile(/tmp/multipartBody4527256529617205667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_00_50_44_29222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2379b08dd648a333319f3cac669bf38.jpg","text":"TemporaryFile(/tmp/multipartBody6880313375116037115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_01_03_13_29236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18804ec6a2d5f6a98d38d8d40246f626.jpg","text":"TemporaryFile(/tmp/multipartBody5012578057410633589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_00_54_44_30441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/311efa63cba124143ac02f66501a0ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4379550274112013562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473025363,"filename":"image_11052026_01_06_14_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813081","file1":"1416813080","file0":"1416813079","file4":"1416813083","file5":"1416813084","file3":"1416813082"},"map_files_photo_id_array":[{"photo_id":"1416813084","filename":"file5"},{"photo_id":"1416813081","filename":"file2"},{"photo_id":"1416813083","filename":"file4"},{"photo_id":"1416813080","filename":"file1"},{"photo_id":"1416813079","filename":"file0"},{"photo_id":"1416813082","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813081":["hashtag1","hashtag2"]},{"1416813084":["hashtag1","hashtag2"]},{"1416813083":["hashtag1","hashtag2"]},{"1416813080":["hashtag1","hashtag2"]},{"1416813082":["hashtag1","hashtag2"]},{"1416813079":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813081, 1416813084, 1416813083, 1416813080, 1416813082, 1416813079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43092465400696 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:17:03.737796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg', '/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg', '/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/00/46/image_11052026_00_46_43_29375.jpg
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_44_14_30303.jpg
/home/pi/Desktop/images/11052026/00/43/image_11052026_00_43_44_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813092","1416813091","1416813093"],"photo_ids_order":["1416813091","1416813092","1416813093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a5dd0d2395a4db215d8ca6ad3a93cce.jpg","text":"TemporaryFile(/tmp/multipartBody955432250243459687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473085073,"filename":"image_11052026_00_44_14_30303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b24e676aaeed76caf3b1c4b5fe3a146.jpg","text":"TemporaryFile(/tmp/multipartBody6014637261984836404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473085073,"filename":"image_11052026_00_46_43_29375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70d26dbcc83a8da110bb5a069506f654.jpg","text":"TemporaryFile(/tmp/multipartBody1608428469363388803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473085073,"filename":"image_11052026_00_43_44_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813093","file1":"1416813092","file0":"1416813091"},"map_files_photo_id_array":[{"photo_id":"1416813093","filename":"file2"},{"photo_id":"1416813092","filename":"file1"},{"photo_id":"1416813091","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813092":["hashtag1","hashtag2"]},{"1416813091":["hashtag1","hashtag2"]},{"1416813093":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813092, 1416813091, 1416813093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.42273712158203 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:18:03.349588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_06052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 31050821, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778473144000}
4310
4379883
4310
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/59/image_06052026_23_59_36_30333.jpg', '/home/pi/Desktop/images/06052026/23/58/image_06052026_23_59_05_30279.jpg', '/home/pi/Desktop/images/06052026/23/58/image_06052026_23_58_35_29299.jpg', '/home/pi/Desktop/images/06052026/23/54/image_06052026_23_54_35_30307.jpg', '/home/pi/Desktop/images/06052026/23/53/image_06052026_23_54_05_29327.jpg', '/home/pi/Desktop/images/06052026/23/53/image_06052026_23_53_36_30397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/59/image_06052026_23_59_36_30333.jpg
/home/pi/Desktop/images/06052026/23/58/image_06052026_23_59_05_30279.jpg
/home/pi/Desktop/images/06052026/23/58/image_06052026_23_58_35_29299.jpg
/home/pi/Desktop/images/06052026/23/54/image_06052026_23_54_35_30307.jpg
/home/pi/Desktop/images/06052026/23/53/image_06052026_23_54_05_29327.jpg
/home/pi/Desktop/images/06052026/23/53/image_06052026_23_53_36_30397.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.83578085899353 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:19:04.006098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/06/image_11052026_06_07_14_30103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/06/image_11052026_06_07_14_30103.jpg
2026-05-11 06:19:04.244677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/17/image_11052026_06_18_14_30186.jpg', '/home/pi/Desktop/images/11052026/06/06/image_11052026_06_07_14_30103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/17/image_11052026_06_18_14_30186.jpg
/home/pi/Desktop/images/11052026/06/06/image_11052026_06_07_14_30103.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813117"],"photo_id":"1416813117","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92617b17c663ecb221abf9bad202c0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4741206961389715900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473205066,"filename":"image_11052026_06_07_14_30103.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813117"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813117"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.519685745239258 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813120","1416813118"],"photo_ids_order":["1416813118","1416813120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff4bc7749e83003898ee70ae1db92cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7712242440764530165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473205439,"filename":"image_11052026_06_07_14_30103.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ecc77bee7ba45e6c8dd52860118a05c2.jpg","text":"TemporaryFile(/tmp/multipartBody3999197876845362607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473205439,"filename":"image_11052026_06_18_14_30186.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813120","file0":"1416813118"},"map_files_photo_id_array":[{"photo_id":"1416813120","filename":"file1"},{"photo_id":"1416813118","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813120":["hashtag1","hashtag2"]},{"1416813118":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813120, 1416813118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.274949073791504 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:20:03.620854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/19/image_11052026_06_19_44_29181.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/19/image_11052026_06_19_44_29181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813126"],"photo_id":"1416813126","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07fbe83e11a73cb3a8b3f3254b447e22.jpg","text":"TemporaryFile(/tmp/multipartBody4389771572186692422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473264698,"filename":"image_11052026_06_19_44_29181.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813126"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813126"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.579790353775024 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:21:03.463117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/59/image_06052026_23_59_36_30333.jpg', '/home/pi/Desktop/images/06052026/23/58/image_06052026_23_59_05_30279.jpg', '/home/pi/Desktop/images/06052026/23/58/image_06052026_23_58_35_29299.jpg', '/home/pi/Desktop/images/06052026/23/54/image_06052026_23_54_35_30307.jpg', '/home/pi/Desktop/images/06052026/23/53/image_06052026_23_54_05_29327.jpg', '/home/pi/Desktop/images/06052026/23/53/image_06052026_23_53_36_30397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/59/image_06052026_23_59_36_30333.jpg
/home/pi/Desktop/images/06052026/23/58/image_06052026_23_59_05_30279.jpg
/home/pi/Desktop/images/06052026/23/58/image_06052026_23_58_35_29299.jpg
/home/pi/Desktop/images/06052026/23/54/image_06052026_23_54_35_30307.jpg
/home/pi/Desktop/images/06052026/23/53/image_06052026_23_54_05_29327.jpg
/home/pi/Desktop/images/06052026/23/53/image_06052026_23_53_36_30397.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813141","1416813135","1416813143","1416813137","1416813139","1416813133"],"photo_ids_order":["1416813133","1416813135","1416813137","1416813139","1416813141","1416813143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f81597888a06f17582fe4faff394c5b9.jpg","text":"TemporaryFile(/tmp/multipartBody5942670351587480347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_54_05_29327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b81c96e1142af88570cad4060cdc30d6.jpg","text":"TemporaryFile(/tmp/multipartBody3468500743059247371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_59_05_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbd6a00da79797a34eb534f71b78c8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4922925596013928722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_53_36_30397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0f3bc892c042e39ab65bb3871964e83.jpg","text":"TemporaryFile(/tmp/multipartBody8033702060112012329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_58_35_29299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1739244bbf5d1e0fecf2acfce9355b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1143010333284267186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_54_35_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/866900ef2754214675f6426999d50bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4116844334824398928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473325812,"filename":"image_06052026_23_59_36_30333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813137","file1":"1416813135","file0":"1416813133","file4":"1416813141","file5":"1416813143","file3":"1416813139"},"map_files_photo_id_array":[{"photo_id":"1416813143","filename":"file5"},{"photo_id":"1416813137","filename":"file2"},{"photo_id":"1416813141","filename":"file4"},{"photo_id":"1416813135","filename":"file1"},{"photo_id":"1416813133","filename":"file0"},{"photo_id":"1416813139","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813141":["hashtag1","hashtag2"]},{"1416813135":["hashtag1","hashtag2"]},{"1416813143":["hashtag1","hashtag2"]},{"1416813137":["hashtag1","hashtag2"]},{"1416813139":["hashtag1","hashtag2"]},{"1416813133":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813141, 1416813135, 1416813143, 1416813137, 1416813139, 1416813133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33825421333313 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:22:03.310461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/52/image_06052026_23_53_05_30369.jpg', '/home/pi/Desktop/images/06052026/23/52/image_06052026_23_52_35_29365.jpg', '/home/pi/Desktop/images/06052026/23/51/image_06052026_23_52_05_30396.jpg', '/home/pi/Desktop/images/06052026/23/51/image_06052026_23_51_35_29360.jpg', '/home/pi/Desktop/images/06052026/23/48/image_06052026_23_48_35_29290.jpg', '/home/pi/Desktop/images/06052026/23/47/image_06052026_23_48_06_30321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/52/image_06052026_23_53_05_30369.jpg
/home/pi/Desktop/images/06052026/23/52/image_06052026_23_52_35_29365.jpg
/home/pi/Desktop/images/06052026/23/51/image_06052026_23_52_05_30396.jpg
/home/pi/Desktop/images/06052026/23/51/image_06052026_23_51_35_29360.jpg
/home/pi/Desktop/images/06052026/23/48/image_06052026_23_48_35_29290.jpg
/home/pi/Desktop/images/06052026/23/47/image_06052026_23_48_06_30321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813153","1416813147","1416813155","1416813149","1416813151","1416813145"],"photo_ids_order":["1416813145","1416813147","1416813149","1416813151","1416813153","1416813155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16b3b5d628c926348246a0d21587ef71.jpg","text":"TemporaryFile(/tmp/multipartBody8198946168159086863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_48_35_29290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da77ed375a3bde427d840cfecc1b98ae.jpg","text":"TemporaryFile(/tmp/multipartBody1233794898050278829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_52_35_29365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d80ea46408121441021f77961d18a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4113597027362837340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_48_06_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/740f3ad09479c1e4db6ec0abf2a04a89.jpg","text":"TemporaryFile(/tmp/multipartBody8462298461647936284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_52_05_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24d70456f54ed4bbc26d5dcf765afa9f.jpg","text":"TemporaryFile(/tmp/multipartBody7606036255475921351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_51_35_29360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/975c94c095213b4d0b2bc31a7ff3e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody5201140438325686471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473385430,"filename":"image_06052026_23_53_05_30369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813149","file1":"1416813147","file0":"1416813145","file4":"1416813153","file5":"1416813155","file3":"1416813151"},"map_files_photo_id_array":[{"photo_id":"1416813155","filename":"file5"},{"photo_id":"1416813149","filename":"file2"},{"photo_id":"1416813153","filename":"file4"},{"photo_id":"1416813147","filename":"file1"},{"photo_id":"1416813145","filename":"file0"},{"photo_id":"1416813151","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813153":["hashtag1","hashtag2"]},{"1416813147":["hashtag1","hashtag2"]},{"1416813155":["hashtag1","hashtag2"]},{"1416813149":["hashtag1","hashtag2"]},{"1416813151":["hashtag1","hashtag2"]},{"1416813145":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813153, 1416813147, 1416813155, 1416813149, 1416813151, 1416813145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15348219871521 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:23:03.583168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/19/image_11052026_06_20_14_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/19/image_11052026_06_20_14_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813157"],"photo_id":"1416813157","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf974f55a423be92d498abd9bf6e512e.jpg","text":"TemporaryFile(/tmp/multipartBody722861580258023199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473445677,"filename":"image_11052026_06_20_14_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813157"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813157"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.654515504837036 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:24:03.735626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
2026-05-11 06:24:03.807734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/47/image_06052026_23_47_35_30464.jpg', '/home/pi/Desktop/images/06052026/23/40/image_06052026_23_41_05_29251.jpg', '/home/pi/Desktop/images/06052026/23/38/image_06052026_23_39_06_30363.jpg', '/home/pi/Desktop/images/06052026/23/38/image_06052026_23_38_35_30380.jpg', '/home/pi/Desktop/images/06052026/23/33/image_06052026_23_33_36_30429.jpg', '/home/pi/Desktop/images/06052026/23/31/image_06052026_23_32_06_30392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
 Upload medias :  ['/home/pi/Desktop/images/06052026/14/51/image_06052026_14_51_51_30128.jpg', '/home/pi/Desktop/images/06052026/15/36/image_06052026_15_37_03_30774.jpg', '/home/pi/Desktop/images/06052026/15/46/image_06052026_15_47_04_30147.jpg', '/home/pi/Desktop/images/06052026/15/47/image_06052026_15_47_35_30447.jpg', '/home/pi/Desktop/images/06052026/15/47/image_06052026_15_48_04_29386.jpg', '/home/pi/Desktop/images/06052026/15/48/image_06052026_15_48_34_30339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/47/image_06052026_23_47_35_30464.jpg
/home/pi/Desktop/images/06052026/14/51/image_06052026_14_51_51_30128.jpg
/home/pi/Desktop/images/06052026/15/36/image_06052026_15_37_03_30774.jpg
/home/pi/Desktop/images/06052026/23/40/image_06052026_23_41_05_29251.jpg
/home/pi/Desktop/images/06052026/15/46/image_06052026_15_47_04_30147.jpg
/home/pi/Desktop/images/06052026/23/38/image_06052026_23_39_06_30363.jpg
/home/pi/Desktop/images/06052026/15/47/image_06052026_15_47_35_30447.jpg
/home/pi/Desktop/images/06052026/23/38/image_06052026_23_38_35_30380.jpg
/home/pi/Desktop/images/06052026/15/47/image_06052026_15_48_04_29386.jpg
/home/pi/Desktop/images/06052026/23/33/image_06052026_23_33_36_30429.jpg
/home/pi/Desktop/images/06052026/15/48/image_06052026_15_48_34_30339.jpg
/home/pi/Desktop/images/06052026/23/31/image_06052026_23_32_06_30392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813180","1416813177","1416813165","1416813173","1416813169","1416813184"],"photo_ids_order":["1416813165","1416813169","1416813173","1416813177","1416813180","1416813184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9eec959391a1f5769e42c6545800f080.jpg","text":"TemporaryFile(/tmp/multipartBody7883382329862240053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_15_48_04_29386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f4c070065fe1634b8ce01b4361a732f1.jpg","text":"TemporaryFile(/tmp/multipartBody7595286452136089272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_15_47_35_30447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91ea35152bc871bc02b97a5e5911823f.jpg","text":"TemporaryFile(/tmp/multipartBody5279069637423813763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_14_51_51_30128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b2d13268a2b23b1bf00bfd09a0a7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1588042054564045874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_15_47_04_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1879b2dfd0b6243d6c72520965564648.jpg","text":"TemporaryFile(/tmp/multipartBody3417966515853182580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_15_37_03_30774.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ada5ab22ad1760c5dd688061a75dbda4.jpg","text":"TemporaryFile(/tmp/multipartBody8051838720802712860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506229,"filename":"image_06052026_15_48_34_30339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813173","file1":"1416813169","file0":"1416813165","file4":"1416813180","file5":"1416813184","file3":"1416813177"},"map_files_photo_id_array":[{"photo_id":"1416813184","filename":"file5"},{"photo_id":"1416813173","filename":"file2"},{"photo_id":"1416813180","filename":"file4"},{"photo_id":"1416813169","filename":"file1"},{"photo_id":"1416813165","filename":"file0"},{"photo_id":"1416813177","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813180":["hashtag1","hashtag2"]},{"1416813177":["hashtag1","hashtag2"]},{"1416813165":["hashtag1","hashtag2"]},{"1416813173":["hashtag1","hashtag2"]},{"1416813169":["hashtag1","hashtag2"]},{"1416813184":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813180, 1416813177, 1416813165, 1416813173, 1416813169, 1416813184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27458596229553 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813174","1416813185","1416813170","1416813181","1416813178","1416813166"],"photo_ids_order":["1416813166","1416813170","1416813174","1416813178","1416813181","1416813185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94f0bd95565f9bb5411db55d8009ac33.jpg","text":"TemporaryFile(/tmp/multipartBody5132226347847282257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_39_06_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/386029b58f30cbd4586409af442251ff.jpg","text":"TemporaryFile(/tmp/multipartBody1079611731450534692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_32_06_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33f1504f30416d14bcee58329bb11c26.jpg","text":"TemporaryFile(/tmp/multipartBody3851661068409780653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_41_05_29251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf1c4cef1f2175d5888027030a26dd1a.jpg","text":"TemporaryFile(/tmp/multipartBody565072104862081670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_33_36_30429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a636bcde95c98ae6fc2bdfefcf698f9.jpg","text":"TemporaryFile(/tmp/multipartBody6343327752031977913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_38_35_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/842d8e0087df619430ba164838569262.jpg","text":"TemporaryFile(/tmp/multipartBody6764226724458432062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473506422,"filename":"image_06052026_23_47_35_30464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813174","file1":"1416813170","file0":"1416813166","file4":"1416813181","file5":"1416813185","file3":"1416813178"},"map_files_photo_id_array":[{"photo_id":"1416813185","filename":"file5"},{"photo_id":"1416813174","filename":"file2"},{"photo_id":"1416813181","filename":"file4"},{"photo_id":"1416813170","filename":"file1"},{"photo_id":"1416813166","filename":"file0"},{"photo_id":"1416813178","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813174":["hashtag1","hashtag2"]},{"1416813185":["hashtag1","hashtag2"]},{"1416813170":["hashtag1","hashtag2"]},{"1416813181":["hashtag1","hashtag2"]},{"1416813178":["hashtag1","hashtag2"]},{"1416813166":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813174, 1416813185, 1416813170, 1416813181, 1416813178, 1416813166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.835745334625244 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:25:03.952236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/30/image_06052026_23_31_05_29273.jpg', '/home/pi/Desktop/images/06052026/23/30/image_06052026_23_30_36_30317.jpg', '/home/pi/Desktop/images/06052026/23/27/image_06052026_23_27_35_30411.jpg', '/home/pi/Desktop/images/06052026/23/25/image_06052026_23_25_35_29288.jpg', '/home/pi/Desktop/images/06052026/23/24/image_06052026_23_25_06_30269.jpg', '/home/pi/Desktop/images/06052026/23/24/image_06052026_23_24_35_30408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/30/image_06052026_23_31_05_29273.jpg
/home/pi/Desktop/images/06052026/23/30/image_06052026_23_30_36_30317.jpg
/home/pi/Desktop/images/06052026/23/27/image_06052026_23_27_35_30411.jpg
/home/pi/Desktop/images/06052026/23/25/image_06052026_23_25_35_29288.jpg
/home/pi/Desktop/images/06052026/23/24/image_06052026_23_25_06_30269.jpg
/home/pi/Desktop/images/06052026/23/24/image_06052026_23_24_35_30408.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813194","1416813188","1416813196","1416813190","1416813198","1416813192"],"photo_ids_order":["1416813188","1416813190","1416813192","1416813194","1416813196","1416813198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d40d9e376ed4749101294d910fe74650.jpg","text":"TemporaryFile(/tmp/multipartBody1084191483020473788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_25_35_29288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e85badedde7c0ab5586e3737748da8b6.jpg","text":"TemporaryFile(/tmp/multipartBody7263538374060937816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_31_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/406d98324cc0da2b01739f0f3718aecb.jpg","text":"TemporaryFile(/tmp/multipartBody2839193442914009257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_25_06_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1c8ba3cfe1dfb4f7eb945e4c61ea747.jpg","text":"TemporaryFile(/tmp/multipartBody1328673252483038789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_30_36_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b178d728cc7272df5312a492e7b495c5.jpg","text":"TemporaryFile(/tmp/multipartBody5457200297469286481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_24_35_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9909d8efa3f7cb99814f8e86ff957ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2968356525676866567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473565886,"filename":"image_06052026_23_27_35_30411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813192","file1":"1416813190","file0":"1416813188","file4":"1416813196","file5":"1416813198","file3":"1416813194"},"map_files_photo_id_array":[{"photo_id":"1416813198","filename":"file5"},{"photo_id":"1416813192","filename":"file2"},{"photo_id":"1416813196","filename":"file4"},{"photo_id":"1416813190","filename":"file1"},{"photo_id":"1416813188","filename":"file0"},{"photo_id":"1416813194","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813194":["hashtag1","hashtag2"]},{"1416813188":["hashtag1","hashtag2"]},{"1416813196":["hashtag1","hashtag2"]},{"1416813190":["hashtag1","hashtag2"]},{"1416813198":["hashtag1","hashtag2"]},{"1416813192":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813194, 1416813188, 1416813196, 1416813190, 1416813198, 1416813192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.820555686950684 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:26:03.426851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/23/image_06052026_23_24_05_29245.jpg', '/home/pi/Desktop/images/06052026/23/21/image_06052026_23_22_06_30373.jpg', '/home/pi/Desktop/images/06052026/23/21/image_06052026_23_21_35_30355.jpg', '/home/pi/Desktop/images/06052026/23/20/image_06052026_23_21_05_29329.jpg', '/home/pi/Desktop/images/06052026/23/20/image_06052026_23_20_36_30453.jpg', '/home/pi/Desktop/images/06052026/23/17/image_06052026_23_18_05_29262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/23/image_06052026_23_24_05_29245.jpg
/home/pi/Desktop/images/06052026/23/21/image_06052026_23_22_06_30373.jpg
/home/pi/Desktop/images/06052026/23/21/image_06052026_23_21_35_30355.jpg
/home/pi/Desktop/images/06052026/23/20/image_06052026_23_21_05_29329.jpg
/home/pi/Desktop/images/06052026/23/20/image_06052026_23_20_36_30453.jpg
/home/pi/Desktop/images/06052026/23/17/image_06052026_23_18_05_29262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813210","1416813204","1416813200","1416813206","1416813208","1416813202"],"photo_ids_order":["1416813200","1416813202","1416813204","1416813206","1416813208","1416813210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af115a7a59317fa8356b398ee37ed261.jpg","text":"TemporaryFile(/tmp/multipartBody4723613439992679655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_18_05_29262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/730abc9c994c10610a875a6cf89018c4.jpg","text":"TemporaryFile(/tmp/multipartBody7892086142127333877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_21_35_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed9cc4945090a87e59ca86471f6a3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5208366487512079179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_24_05_29245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec5cafba20e458549cb3da7492f96073.jpg","text":"TemporaryFile(/tmp/multipartBody4623438867820183616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_21_05_29329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11d4e0852d40a37e469954ed514f08f5.jpg","text":"TemporaryFile(/tmp/multipartBody3853889682273347793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_20_36_30453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8e4365aed967fc0d2a861d0f0c04fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5374972547689304591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473625461,"filename":"image_06052026_23_22_06_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813204","file1":"1416813202","file0":"1416813200","file4":"1416813208","file5":"1416813210","file3":"1416813206"},"map_files_photo_id_array":[{"photo_id":"1416813210","filename":"file5"},{"photo_id":"1416813204","filename":"file2"},{"photo_id":"1416813208","filename":"file4"},{"photo_id":"1416813202","filename":"file1"},{"photo_id":"1416813200","filename":"file0"},{"photo_id":"1416813206","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813210":["hashtag1","hashtag2"]},{"1416813204":["hashtag1","hashtag2"]},{"1416813200":["hashtag1","hashtag2"]},{"1416813206":["hashtag1","hashtag2"]},{"1416813208":["hashtag1","hashtag2"]},{"1416813202":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813210, 1416813204, 1416813200, 1416813206, 1416813208, 1416813202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6699903011322 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:27:03.750105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/23/image_11052026_06_23_43_29230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/23/image_11052026_06_23_43_29230.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.649735689163208 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:28:03.556145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/23/image_11052026_06_23_43_29230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/23/image_11052026_06_23_43_29230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813218"],"photo_id":"1416813218","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d04f16524f7ae1e3fbe987f506ed66e2.jpg","text":"TemporaryFile(/tmp/multipartBody5002166422116946744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473744562,"filename":"image_11052026_06_23_43_29230.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813218"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813218"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.805752515792847 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:29:04.084627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/08/image_06052026_23_09_05_30318.jpg', '/home/pi/Desktop/images/06052026/23/08/image_06052026_23_08_35_29251.jpg', '/home/pi/Desktop/images/06052026/23/07/image_06052026_23_08_06_30352.jpg', '/home/pi/Desktop/images/06052026/23/07/image_06052026_23_07_35_30387.jpg', '/home/pi/Desktop/images/06052026/23/06/image_06052026_23_07_05_29260.jpg', '/home/pi/Desktop/images/06052026/23/06/image_06052026_23_06_36_30379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/08/image_06052026_23_09_05_30318.jpg
/home/pi/Desktop/images/06052026/23/08/image_06052026_23_08_35_29251.jpg
/home/pi/Desktop/images/06052026/23/07/image_06052026_23_08_06_30352.jpg
/home/pi/Desktop/images/06052026/23/07/image_06052026_23_07_35_30387.jpg
/home/pi/Desktop/images/06052026/23/06/image_06052026_23_07_05_29260.jpg
/home/pi/Desktop/images/06052026/23/06/image_06052026_23_06_36_30379.jpg
2026-05-11 06:29:04.194253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/15/49/image_06052026_15_49_34_29249.jpg', '/home/pi/Desktop/images/06052026/15/50/image_06052026_15_50_35_30266.jpg', '/home/pi/Desktop/images/06052026/15/50/image_06052026_15_51_04_29289.jpg', '/home/pi/Desktop/images/06052026/15/52/image_06052026_15_52_36_30881.jpg', '/home/pi/Desktop/images/06052026/15/53/image_06052026_15_54_05_29470.jpg', '/home/pi/Desktop/images/06052026/15/54/image_06052026_15_54_35_30458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/15/49/image_06052026_15_49_34_29249.jpg
/home/pi/Desktop/images/06052026/15/50/image_06052026_15_50_35_30266.jpg
/home/pi/Desktop/images/06052026/15/50/image_06052026_15_51_04_29289.jpg
/home/pi/Desktop/images/06052026/15/52/image_06052026_15_52_36_30881.jpg
/home/pi/Desktop/images/06052026/15/53/image_06052026_15_54_05_29470.jpg
/home/pi/Desktop/images/06052026/15/54/image_06052026_15_54_35_30458.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813225","1416813228","1416813239","1416813232","1416813241","1416813235"],"photo_ids_order":["1416813225","1416813228","1416813232","1416813235","1416813239","1416813241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59c22a2db69402539d27f9a6ead20ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3402866254218428095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_09_05_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e99f5ba410fcdd07aaac405cfa9924ac.jpg","text":"TemporaryFile(/tmp/multipartBody7688296012574472766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_08_35_29251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e628e8e984d391dea1af4445603b407.jpg","text":"TemporaryFile(/tmp/multipartBody3069489514304694872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_07_05_29260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a4831f8fe5e023dd3be6088eecc8ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6239527096414195067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_08_06_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7bbb624990ed1d9408de896bef6c1567.jpg","text":"TemporaryFile(/tmp/multipartBody6121741077364452418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_06_36_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc118c9555185787c29f1fcf9924b13e.jpg","text":"TemporaryFile(/tmp/multipartBody4349020820755738706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473806287,"filename":"image_06052026_23_07_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813232","file1":"1416813228","file0":"1416813225","file4":"1416813239","file5":"1416813241","file3":"1416813235"},"map_files_photo_id_array":[{"photo_id":"1416813241","filename":"file5"},{"photo_id":"1416813232","filename":"file2"},{"photo_id":"1416813239","filename":"file4"},{"photo_id":"1416813228","filename":"file1"},{"photo_id":"1416813225","filename":"file0"},{"photo_id":"1416813235","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813225":["hashtag1","hashtag2"]},{"1416813228":["hashtag1","hashtag2"]},{"1416813239":["hashtag1","hashtag2"]},{"1416813232":["hashtag1","hashtag2"]},{"1416813241":["hashtag1","hashtag2"]},{"1416813235":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813225, 1416813228, 1416813239, 1416813232, 1416813241, 1416813235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.328455686569214 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813240","1416813234","1416813243","1416813237","1416813226","1416813229"],"photo_ids_order":["1416813226","1416813229","1416813234","1416813237","1416813240","1416813243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db9af3a0cd5e9811682c5ee9063414d1.jpg","text":"TemporaryFile(/tmp/multipartBody4932071628001574655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_54_05_29470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/367d7d7da641267dc8f2095345bdb3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1428247985499731439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_51_04_29289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f96c4c3049e3dcb602a51b1bea497414.jpg","text":"TemporaryFile(/tmp/multipartBody4863155070604833102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_54_35_30458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eda8179c13f168003b76afdfbf4a7931.jpg","text":"TemporaryFile(/tmp/multipartBody1192108615721875272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_52_36_30881.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e630fe6bae5dee2e2ce45b09e3d089eb.jpg","text":"TemporaryFile(/tmp/multipartBody6172315229569349368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_49_34_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/183c1b92ef8f64af4c5575308b20a690.jpg","text":"TemporaryFile(/tmp/multipartBody2950430663320812010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473807344,"filename":"image_06052026_15_50_35_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813234","file1":"1416813229","file0":"1416813226","file4":"1416813240","file5":"1416813243","file3":"1416813237"},"map_files_photo_id_array":[{"photo_id":"1416813243","filename":"file5"},{"photo_id":"1416813234","filename":"file2"},{"photo_id":"1416813240","filename":"file4"},{"photo_id":"1416813229","filename":"file1"},{"photo_id":"1416813226","filename":"file0"},{"photo_id":"1416813237","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813240":["hashtag1","hashtag2"]},{"1416813234":["hashtag1","hashtag2"]},{"1416813243":["hashtag1","hashtag2"]},{"1416813237":["hashtag1","hashtag2"]},{"1416813226":["hashtag1","hashtag2"]},{"1416813229":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813240, 1416813234, 1416813243, 1416813237, 1416813226, 1416813229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0726044178009 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:30:03.148794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/03/image_06052026_23_04_06_30422.jpg', '/home/pi/Desktop/images/06052026/23/00/image_06052026_23_01_06_30428.jpg', '/home/pi/Desktop/images/06052026/22/59/image_06052026_23_00_05_29278.jpg', '/home/pi/Desktop/images/06052026/22/59/image_06052026_22_59_36_30472.jpg', '/home/pi/Desktop/images/06052026/22/58/image_06052026_22_59_05_30428.jpg', '/home/pi/Desktop/images/06052026/22/58/image_06052026_22_58_35_29241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/23/03/image_06052026_23_04_06_30422.jpg
/home/pi/Desktop/images/06052026/23/00/image_06052026_23_01_06_30428.jpg
/home/pi/Desktop/images/06052026/22/59/image_06052026_23_00_05_29278.jpg
/home/pi/Desktop/images/06052026/22/59/image_06052026_22_59_36_30472.jpg
/home/pi/Desktop/images/06052026/22/58/image_06052026_22_59_05_30428.jpg
/home/pi/Desktop/images/06052026/22/58/image_06052026_22_58_35_29241.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813249","1416813251","1416813245","1416813256","1416813253","1416813247"],"photo_ids_order":["1416813245","1416813247","1416813249","1416813251","1416813253","1416813256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b24483d9483c25ac532fdb1323449fb.jpg","text":"TemporaryFile(/tmp/multipartBody6878129645252030184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_23_00_05_29278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4303cf4e5c508cd155d55899c2aa438f.jpg","text":"TemporaryFile(/tmp/multipartBody6456711067075661415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_22_59_36_30472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/242c8e17922ce50edd65301e8b5f96e4.jpg","text":"TemporaryFile(/tmp/multipartBody2645738173773841068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_23_04_06_30422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b14305c72412975094f21dcb27f013be.jpg","text":"TemporaryFile(/tmp/multipartBody6671229344753925507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_22_58_35_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b348904fb4407b127bdf4f03104bc47.jpg","text":"TemporaryFile(/tmp/multipartBody8716360599981959744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_22_59_05_30428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9272208de4302dea682b8032bdeb7160.jpg","text":"TemporaryFile(/tmp/multipartBody7178264316059906100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473865301,"filename":"image_06052026_23_01_06_30428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813249","file1":"1416813247","file0":"1416813245","file4":"1416813253","file5":"1416813256","file3":"1416813251"},"map_files_photo_id_array":[{"photo_id":"1416813256","filename":"file5"},{"photo_id":"1416813249","filename":"file2"},{"photo_id":"1416813253","filename":"file4"},{"photo_id":"1416813247","filename":"file1"},{"photo_id":"1416813245","filename":"file0"},{"photo_id":"1416813251","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813249":["hashtag1","hashtag2"]},{"1416813251":["hashtag1","hashtag2"]},{"1416813245":["hashtag1","hashtag2"]},{"1416813256":["hashtag1","hashtag2"]},{"1416813253":["hashtag1","hashtag2"]},{"1416813247":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813249, 1416813251, 1416813245, 1416813256, 1416813253, 1416813247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24867606163025 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:31:03.668837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/57/image_06052026_22_57_35_30377.jpg', '/home/pi/Desktop/images/06052026/22/56/image_06052026_22_57_05_29268.jpg', '/home/pi/Desktop/images/06052026/22/55/image_06052026_22_56_05_30375.jpg', '/home/pi/Desktop/images/06052026/22/55/image_06052026_22_55_35_29277.jpg', '/home/pi/Desktop/images/06052026/22/54/image_06052026_22_55_06_30290.jpg', '/home/pi/Desktop/images/06052026/22/54/image_06052026_22_54_35_30339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/57/image_06052026_22_57_35_30377.jpg
/home/pi/Desktop/images/06052026/22/56/image_06052026_22_57_05_29268.jpg
/home/pi/Desktop/images/06052026/22/55/image_06052026_22_56_05_30375.jpg
/home/pi/Desktop/images/06052026/22/55/image_06052026_22_55_35_29277.jpg
/home/pi/Desktop/images/06052026/22/54/image_06052026_22_55_06_30290.jpg
/home/pi/Desktop/images/06052026/22/54/image_06052026_22_54_35_30339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813264","1416813272","1416813266","1416813268","1416813262","1416813270"],"photo_ids_order":["1416813262","1416813264","1416813266","1416813268","1416813270","1416813272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ad75e2c81f61fe101a82507e19942cc.jpg","text":"TemporaryFile(/tmp/multipartBody3023026863515366159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_57_05_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31615d3f363c88cee7dc4769f4861644.jpg","text":"TemporaryFile(/tmp/multipartBody7839572707002485461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_54_35_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eee6bb61a03853f9dc537ef10f308696.jpg","text":"TemporaryFile(/tmp/multipartBody7346086850772479468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_56_05_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c15fcc71ab73306347d046688e85c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6141686249755513464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_55_35_29277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/108ef26c4b126a8dbdb986eb18be63f4.jpg","text":"TemporaryFile(/tmp/multipartBody4911002328897373652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_57_35_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9724ac13f0888012731854259d02d69e.jpg","text":"TemporaryFile(/tmp/multipartBody6744958133317789305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473925853,"filename":"image_06052026_22_55_06_30290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813266","file1":"1416813264","file0":"1416813262","file4":"1416813270","file5":"1416813272","file3":"1416813268"},"map_files_photo_id_array":[{"photo_id":"1416813272","filename":"file5"},{"photo_id":"1416813266","filename":"file2"},{"photo_id":"1416813270","filename":"file4"},{"photo_id":"1416813264","filename":"file1"},{"photo_id":"1416813262","filename":"file0"},{"photo_id":"1416813268","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813264":["hashtag1","hashtag2"]},{"1416813272":["hashtag1","hashtag2"]},{"1416813266":["hashtag1","hashtag2"]},{"1416813268":["hashtag1","hashtag2"]},{"1416813262":["hashtag1","hashtag2"]},{"1416813270":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813264, 1416813272, 1416813266, 1416813268, 1416813262, 1416813270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10590672492981 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:32:02.671164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/53/image_06052026_22_54_05_29294.jpg', '/home/pi/Desktop/images/06052026/22/51/image_06052026_22_52_05_29320.jpg', '/home/pi/Desktop/images/06052026/22/41/image_06052026_22_42_05_30463.jpg', '/home/pi/Desktop/images/06052026/22/41/image_06052026_22_41_35_29365.jpg', '/home/pi/Desktop/images/06052026/22/40/image_06052026_22_41_06_30412.jpg', '/home/pi/Desktop/images/06052026/22/40/image_06052026_22_40_35_29371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/53/image_06052026_22_54_05_29294.jpg
/home/pi/Desktop/images/06052026/22/51/image_06052026_22_52_05_29320.jpg
/home/pi/Desktop/images/06052026/22/41/image_06052026_22_42_05_30463.jpg
/home/pi/Desktop/images/06052026/22/41/image_06052026_22_41_35_29365.jpg
/home/pi/Desktop/images/06052026/22/40/image_06052026_22_41_06_30412.jpg
/home/pi/Desktop/images/06052026/22/40/image_06052026_22_40_35_29371.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813282","1416813276","1416813284","1416813278","1416813280","1416813274"],"photo_ids_order":["1416813274","1416813276","1416813278","1416813280","1416813282","1416813284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a348f0776a9865f9cb1f73a4a8dcd39.jpg","text":"TemporaryFile(/tmp/multipartBody6020765799750243579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_41_06_30412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3fc517aac2dafcc0d9c05ab708569c87.jpg","text":"TemporaryFile(/tmp/multipartBody3351087686583334311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_52_05_29320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d1b6290e55c08d3c1ccc1a3e7d736a6.jpg","text":"TemporaryFile(/tmp/multipartBody742569087056790905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_40_35_29371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae7a11f568c7bdfbc99b684535cfcce1.jpg","text":"TemporaryFile(/tmp/multipartBody1979457896326253224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_42_05_30463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed4c54684055c8c9414816c6c91e0cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2540350118008612695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_41_35_29365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c29121eed007c4883b63fb884c8ae34c.jpg","text":"TemporaryFile(/tmp/multipartBody5373721434478485204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778473985012,"filename":"image_06052026_22_54_05_29294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813278","file1":"1416813276","file0":"1416813274","file4":"1416813282","file5":"1416813284","file3":"1416813280"},"map_files_photo_id_array":[{"photo_id":"1416813284","filename":"file5"},{"photo_id":"1416813278","filename":"file2"},{"photo_id":"1416813282","filename":"file4"},{"photo_id":"1416813276","filename":"file1"},{"photo_id":"1416813274","filename":"file0"},{"photo_id":"1416813280","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813282":["hashtag1","hashtag2"]},{"1416813276":["hashtag1","hashtag2"]},{"1416813284":["hashtag1","hashtag2"]},{"1416813278":["hashtag1","hashtag2"]},{"1416813280":["hashtag1","hashtag2"]},{"1416813274":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813282, 1416813276, 1416813284, 1416813278, 1416813280, 1416813274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41471815109253 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:33:04.270233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/39/image_06052026_22_40_06_30337.jpg', '/home/pi/Desktop/images/06052026/22/39/image_06052026_22_39_35_30429.jpg', '/home/pi/Desktop/images/06052026/22/38/image_06052026_22_39_05_29280.jpg', '/home/pi/Desktop/images/06052026/22/34/image_06052026_22_35_05_30459.jpg', '/home/pi/Desktop/images/06052026/22/34/image_06052026_22_34_35_29284.jpg', '/home/pi/Desktop/images/06052026/22/33/image_06052026_22_33_35_30392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/39/image_06052026_22_40_06_30337.jpg
/home/pi/Desktop/images/06052026/22/39/image_06052026_22_39_35_30429.jpg
/home/pi/Desktop/images/06052026/22/38/image_06052026_22_39_05_29280.jpg
/home/pi/Desktop/images/06052026/22/34/image_06052026_22_35_05_30459.jpg
/home/pi/Desktop/images/06052026/22/34/image_06052026_22_34_35_29284.jpg
/home/pi/Desktop/images/06052026/22/33/image_06052026_22_33_35_30392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813288","1416813296","1416813290","1416813293","1416813286","1416813295"],"photo_ids_order":["1416813286","1416813288","1416813290","1416813293","1416813295","1416813296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba6cd92aead0f12f7d56a1b79d75f996.jpg","text":"TemporaryFile(/tmp/multipartBody6461127972732484588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_39_35_30429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87e77d1d62f06fc5aa40c9a690b2f327.jpg","text":"TemporaryFile(/tmp/multipartBody6264411800619586750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_33_35_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/138bd0902d0332bcde44db84f34c0a15.jpg","text":"TemporaryFile(/tmp/multipartBody6357186317046612967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_39_05_29280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7bb37cb93dc3c0ddc722af4d2fa06fde.jpg","text":"TemporaryFile(/tmp/multipartBody1793422856797386741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_35_05_30459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a48d456338b7bb562e99be4cb54da46.jpg","text":"TemporaryFile(/tmp/multipartBody8462237761249456280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_40_06_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f368bc183b8179bc4ab4ea79c4829407.jpg","text":"TemporaryFile(/tmp/multipartBody2770298963867121406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474046863,"filename":"image_06052026_22_34_35_29284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813290","file1":"1416813288","file0":"1416813286","file4":"1416813295","file5":"1416813296","file3":"1416813293"},"map_files_photo_id_array":[{"photo_id":"1416813296","filename":"file5"},{"photo_id":"1416813290","filename":"file2"},{"photo_id":"1416813295","filename":"file4"},{"photo_id":"1416813288","filename":"file1"},{"photo_id":"1416813286","filename":"file0"},{"photo_id":"1416813293","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813288":["hashtag1","hashtag2"]},{"1416813296":["hashtag1","hashtag2"]},{"1416813290":["hashtag1","hashtag2"]},{"1416813293":["hashtag1","hashtag2"]},{"1416813286":["hashtag1","hashtag2"]},{"1416813295":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813288, 1416813296, 1416813290, 1416813293, 1416813286, 1416813295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72101044654846 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:34:03.695258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/15/54/image_06052026_15_55_06_30422.jpg', '/home/pi/Desktop/images/06052026/15/55/image_06052026_15_55_35_29364.jpg', '/home/pi/Desktop/images/06052026/15/55/image_06052026_15_56_06_30452.jpg', '/home/pi/Desktop/images/06052026/15/56/image_06052026_15_56_35_29429.jpg', '/home/pi/Desktop/images/06052026/15/56/image_06052026_15_57_06_30403.jpg', '/home/pi/Desktop/images/06052026/15/57/image_06052026_15_58_05_30497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/15/54/image_06052026_15_55_06_30422.jpg
/home/pi/Desktop/images/06052026/15/55/image_06052026_15_55_35_29364.jpg
/home/pi/Desktop/images/06052026/15/55/image_06052026_15_56_06_30452.jpg
/home/pi/Desktop/images/06052026/15/56/image_06052026_15_56_35_29429.jpg
/home/pi/Desktop/images/06052026/15/56/image_06052026_15_57_06_30403.jpg
/home/pi/Desktop/images/06052026/15/57/image_06052026_15_58_05_30497.jpg
2026-05-11 06:34:03.761396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/32/image_06052026_22_33_05_29301.jpg', '/home/pi/Desktop/images/06052026/22/32/image_06052026_22_32_36_30376.jpg', '/home/pi/Desktop/images/06052026/22/31/image_06052026_22_32_05_30349.jpg', '/home/pi/Desktop/images/06052026/22/31/image_06052026_22_31_35_29295.jpg', '/home/pi/Desktop/images/06052026/22/30/image_06052026_22_31_06_30322.jpg', '/home/pi/Desktop/images/06052026/22/28/image_06052026_22_28_35_29206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/32/image_06052026_22_33_05_29301.jpg
/home/pi/Desktop/images/06052026/22/32/image_06052026_22_32_36_30376.jpg
/home/pi/Desktop/images/06052026/22/31/image_06052026_22_32_05_30349.jpg
/home/pi/Desktop/images/06052026/22/31/image_06052026_22_31_35_29295.jpg
/home/pi/Desktop/images/06052026/22/30/image_06052026_22_31_06_30322.jpg
/home/pi/Desktop/images/06052026/22/28/image_06052026_22_28_35_29206.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.972485303878784 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813304","1416813300","1416813311","1416813298","1416813313","1416813307"],"photo_ids_order":["1416813298","1416813300","1416813304","1416813307","1416813311","1416813313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28108df56c46b600e6142225fdf30a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4068500724107780346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_56_06_30452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77ec85ba9084b7b12e8b6e1f40591331.jpg","text":"TemporaryFile(/tmp/multipartBody5708611790723638740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_55_35_29364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/847a49ef801fd721fb96a4143ba5e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2417888726978761971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_57_06_30403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92aae9f955e9888b59227e1286568014.jpg","text":"TemporaryFile(/tmp/multipartBody7111513493571295890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_55_06_30422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e7697dbac70c128d50950d0e3729f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7554457900850599106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_58_05_30497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15ea13b0365547d9f541a9993fbba484.jpg","text":"TemporaryFile(/tmp/multipartBody5823728710714323623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474106710,"filename":"image_06052026_15_56_35_29429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813304","file1":"1416813300","file0":"1416813298","file4":"1416813311","file5":"1416813313","file3":"1416813307"},"map_files_photo_id_array":[{"photo_id":"1416813313","filename":"file5"},{"photo_id":"1416813304","filename":"file2"},{"photo_id":"1416813311","filename":"file4"},{"photo_id":"1416813300","filename":"file1"},{"photo_id":"1416813298","filename":"file0"},{"photo_id":"1416813307","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813304":["hashtag1","hashtag2"]},{"1416813300":["hashtag1","hashtag2"]},{"1416813311":["hashtag1","hashtag2"]},{"1416813298":["hashtag1","hashtag2"]},{"1416813313":["hashtag1","hashtag2"]},{"1416813307":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813304, 1416813300, 1416813311, 1416813298, 1416813313, 1416813307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.222066164016724 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:35:04.292782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/32/image_06052026_22_33_05_29301.jpg', '/home/pi/Desktop/images/06052026/22/32/image_06052026_22_32_36_30376.jpg', '/home/pi/Desktop/images/06052026/22/31/image_06052026_22_32_05_30349.jpg', '/home/pi/Desktop/images/06052026/22/31/image_06052026_22_31_35_29295.jpg', '/home/pi/Desktop/images/06052026/22/30/image_06052026_22_31_06_30322.jpg', '/home/pi/Desktop/images/06052026/22/28/image_06052026_22_28_35_29206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/32/image_06052026_22_33_05_29301.jpg
/home/pi/Desktop/images/06052026/22/32/image_06052026_22_32_36_30376.jpg
/home/pi/Desktop/images/06052026/22/31/image_06052026_22_32_05_30349.jpg
/home/pi/Desktop/images/06052026/22/31/image_06052026_22_31_35_29295.jpg
/home/pi/Desktop/images/06052026/22/30/image_06052026_22_31_06_30322.jpg
/home/pi/Desktop/images/06052026/22/28/image_06052026_22_28_35_29206.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813321","1416813315","1416813323","1416813317","1416813325","1416813319"],"photo_ids_order":["1416813315","1416813317","1416813319","1416813321","1416813323","1416813325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a78c2df2ee2a660384a7bd450b7783d8.jpg","text":"TemporaryFile(/tmp/multipartBody2396628392765277136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_31_35_29295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7513ea096edde92dc87c4df451da089d.jpg","text":"TemporaryFile(/tmp/multipartBody5141611752479213540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_33_05_29301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb424b68cd4975a9420242a57861a199.jpg","text":"TemporaryFile(/tmp/multipartBody9142656944613922322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_31_06_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ae07a2d7f701ab776a178ccd37d14f1.jpg","text":"TemporaryFile(/tmp/multipartBody5779425442394087653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_32_36_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2d1830824d3ffb41b02c5ccbb898e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5447296636422159609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_28_35_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56557e308d246675dc6a16508bde6bf3.jpg","text":"TemporaryFile(/tmp/multipartBody5848445471177230789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474166350,"filename":"image_06052026_22_32_05_30349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813319","file1":"1416813317","file0":"1416813315","file4":"1416813323","file5":"1416813325","file3":"1416813321"},"map_files_photo_id_array":[{"photo_id":"1416813325","filename":"file5"},{"photo_id":"1416813319","filename":"file2"},{"photo_id":"1416813323","filename":"file4"},{"photo_id":"1416813317","filename":"file1"},{"photo_id":"1416813315","filename":"file0"},{"photo_id":"1416813321","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813321":["hashtag1","hashtag2"]},{"1416813315":["hashtag1","hashtag2"]},{"1416813323":["hashtag1","hashtag2"]},{"1416813317":["hashtag1","hashtag2"]},{"1416813325":["hashtag1","hashtag2"]},{"1416813319":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813321, 1416813315, 1416813323, 1416813317, 1416813325, 1416813319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52615976333618 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:36:02.851602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/25/image_06052026_22_26_05_30385.jpg', '/home/pi/Desktop/images/06052026/22/24/image_06052026_22_24_35_30295.jpg', '/home/pi/Desktop/images/06052026/22/23/image_06052026_22_24_05_29381.jpg', '/home/pi/Desktop/images/06052026/22/23/image_06052026_22_23_36_30428.jpg', '/home/pi/Desktop/images/06052026/22/22/image_06052026_22_23_05_30448.jpg', '/home/pi/Desktop/images/06052026/22/22/image_06052026_22_22_35_29385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/25/image_06052026_22_26_05_30385.jpg
/home/pi/Desktop/images/06052026/22/24/image_06052026_22_24_35_30295.jpg
/home/pi/Desktop/images/06052026/22/23/image_06052026_22_24_05_29381.jpg
/home/pi/Desktop/images/06052026/22/23/image_06052026_22_23_36_30428.jpg
/home/pi/Desktop/images/06052026/22/22/image_06052026_22_23_05_30448.jpg
/home/pi/Desktop/images/06052026/22/22/image_06052026_22_22_35_29385.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813333","1416813330","1416813327","1416813341","1416813335","1416813338"],"photo_ids_order":["1416813327","1416813330","1416813333","1416813335","1416813338","1416813341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/197a27e5e89432cbba8ac78e91357b24.jpg","text":"TemporaryFile(/tmp/multipartBody860581690985097967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_24_05_29381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/966cad928bf88db6724a2edfdb5d744a.jpg","text":"TemporaryFile(/tmp/multipartBody7383876867471686243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_24_35_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd6ea324c2e7ec74c56259f196ce1c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7196574581392043138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_26_05_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a50b09b56b807ae0d172f58f48f9630.jpg","text":"TemporaryFile(/tmp/multipartBody1899510103414625719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_22_35_29385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0df396f9ada4d00d4efed1ef829cbd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4969283225097084548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_23_36_30428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb71d399fe61fdeb386f5595c2277b48.jpg","text":"TemporaryFile(/tmp/multipartBody6427284261941848919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474225124,"filename":"image_06052026_22_23_05_30448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813333","file1":"1416813330","file0":"1416813327","file4":"1416813338","file5":"1416813341","file3":"1416813335"},"map_files_photo_id_array":[{"photo_id":"1416813341","filename":"file5"},{"photo_id":"1416813333","filename":"file2"},{"photo_id":"1416813338","filename":"file4"},{"photo_id":"1416813330","filename":"file1"},{"photo_id":"1416813327","filename":"file0"},{"photo_id":"1416813335","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813333":["hashtag1","hashtag2"]},{"1416813330":["hashtag1","hashtag2"]},{"1416813327":["hashtag1","hashtag2"]},{"1416813341":["hashtag1","hashtag2"]},{"1416813335":["hashtag1","hashtag2"]},{"1416813338":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813333, 1416813330, 1416813327, 1416813341, 1416813335, 1416813338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.766032695770264 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:37:04.007655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/20/image_06052026_22_21_06_30320.jpg', '/home/pi/Desktop/images/06052026/22/20/image_06052026_22_20_35_30269.jpg', '/home/pi/Desktop/images/06052026/22/19/image_06052026_22_20_05_29259.jpg', '/home/pi/Desktop/images/06052026/22/19/image_06052026_22_19_36_30405.jpg', '/home/pi/Desktop/images/06052026/22/18/image_06052026_22_18_35_29281.jpg', '/home/pi/Desktop/images/06052026/22/17/image_06052026_22_18_06_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/20/image_06052026_22_21_06_30320.jpg
/home/pi/Desktop/images/06052026/22/20/image_06052026_22_20_35_30269.jpg
/home/pi/Desktop/images/06052026/22/19/image_06052026_22_20_05_29259.jpg
/home/pi/Desktop/images/06052026/22/19/image_06052026_22_19_36_30405.jpg
/home/pi/Desktop/images/06052026/22/18/image_06052026_22_18_35_29281.jpg
/home/pi/Desktop/images/06052026/22/17/image_06052026_22_18_06_30387.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9570133686065674 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:38:03.547599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/20/image_06052026_22_21_06_30320.jpg', '/home/pi/Desktop/images/06052026/22/20/image_06052026_22_20_35_30269.jpg', '/home/pi/Desktop/images/06052026/22/19/image_06052026_22_20_05_29259.jpg', '/home/pi/Desktop/images/06052026/22/19/image_06052026_22_19_36_30405.jpg', '/home/pi/Desktop/images/06052026/22/18/image_06052026_22_18_35_29281.jpg', '/home/pi/Desktop/images/06052026/22/17/image_06052026_22_18_06_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/20/image_06052026_22_21_06_30320.jpg
/home/pi/Desktop/images/06052026/22/20/image_06052026_22_20_35_30269.jpg
/home/pi/Desktop/images/06052026/22/19/image_06052026_22_20_05_29259.jpg
/home/pi/Desktop/images/06052026/22/19/image_06052026_22_19_36_30405.jpg
/home/pi/Desktop/images/06052026/22/18/image_06052026_22_18_35_29281.jpg
/home/pi/Desktop/images/06052026/22/17/image_06052026_22_18_06_30387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813357","1416813362","1416813365","1416813359","1416813355","1416813364"],"photo_ids_order":["1416813355","1416813357","1416813359","1416813362","1416813364","1416813365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14de60342a63cfcd073a12fb6d3f6da5.jpg","text":"TemporaryFile(/tmp/multipartBody491897201105080693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_20_35_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8335c2614bf56a089a751d3aa2e226b5.jpg","text":"TemporaryFile(/tmp/multipartBody5695850531736004207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_19_36_30405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8f087a8ebf0cf0d6c740089fc5edd43.jpg","text":"TemporaryFile(/tmp/multipartBody3546308000648111961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_18_06_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c38e5c4ecc8693b8c8b263437926662b.jpg","text":"TemporaryFile(/tmp/multipartBody3287049396354918966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_20_05_29259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/41075daeab72abfed8d2330a2c39d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6152596445038452489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_21_06_30320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/883e0bb345db66fc2c8d337d275d03ff.jpg","text":"TemporaryFile(/tmp/multipartBody2348815245167882620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474345808,"filename":"image_06052026_22_18_35_29281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813359","file1":"1416813357","file0":"1416813355","file4":"1416813364","file5":"1416813365","file3":"1416813362"},"map_files_photo_id_array":[{"photo_id":"1416813365","filename":"file5"},{"photo_id":"1416813359","filename":"file2"},{"photo_id":"1416813364","filename":"file4"},{"photo_id":"1416813357","filename":"file1"},{"photo_id":"1416813355","filename":"file0"},{"photo_id":"1416813362","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813357":["hashtag1","hashtag2"]},{"1416813362":["hashtag1","hashtag2"]},{"1416813365":["hashtag1","hashtag2"]},{"1416813359":["hashtag1","hashtag2"]},{"1416813355":["hashtag1","hashtag2"]},{"1416813364":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813357, 1416813362, 1416813365, 1416813359, 1416813355, 1416813364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60295271873474 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:39:04.068471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/15/58/image_06052026_15_59_05_29264.jpg', '/home/pi/Desktop/images/06052026/16/01/image_06052026_16_01_35_30534.jpg', '/home/pi/Desktop/images/06052026/16/02/image_06052026_16_02_35_30381.jpg', '/home/pi/Desktop/images/06052026/16/02/image_06052026_16_03_06_30365.jpg', '/home/pi/Desktop/images/06052026/16/03/image_06052026_16_03_35_29269.jpg', '/home/pi/Desktop/images/06052026/16/03/image_06052026_16_04_05_30366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/15/58/image_06052026_15_59_05_29264.jpg
/home/pi/Desktop/images/06052026/16/01/image_06052026_16_01_35_30534.jpg
/home/pi/Desktop/images/06052026/16/02/image_06052026_16_02_35_30381.jpg
/home/pi/Desktop/images/06052026/16/02/image_06052026_16_03_06_30365.jpg
/home/pi/Desktop/images/06052026/16/03/image_06052026_16_03_35_29269.jpg
/home/pi/Desktop/images/06052026/16/03/image_06052026_16_04_05_30366.jpg
2026-05-11 06:39:04.129929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/17/image_06052026_22_17_35_30459.jpg', '/home/pi/Desktop/images/06052026/22/16/image_06052026_22_17_05_29233.jpg', '/home/pi/Desktop/images/06052026/22/16/image_06052026_22_16_36_30450.jpg', '/home/pi/Desktop/images/06052026/22/15/image_06052026_22_16_05_30304.jpg', '/home/pi/Desktop/images/06052026/22/15/image_06052026_22_15_35_29292.jpg', '/home/pi/Desktop/images/06052026/22/14/image_06052026_22_15_06_30321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/17/image_06052026_22_17_35_30459.jpg
/home/pi/Desktop/images/06052026/22/16/image_06052026_22_17_05_29233.jpg
/home/pi/Desktop/images/06052026/22/16/image_06052026_22_16_36_30450.jpg
/home/pi/Desktop/images/06052026/22/15/image_06052026_22_16_05_30304.jpg
/home/pi/Desktop/images/06052026/22/15/image_06052026_22_15_35_29292.jpg
/home/pi/Desktop/images/06052026/22/14/image_06052026_22_15_06_30321.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.8032100200653076 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813372","1416813381","1416813375","1416813369","1416813367","1416813379"],"photo_ids_order":["1416813367","1416813369","1416813372","1416813375","1416813379","1416813381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/850afa5c32b247f8fdeddcf431c7f7c8.jpg","text":"TemporaryFile(/tmp/multipartBody764196739281346430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_16_02_35_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18b5a3e7b624427f43d9ed7aad21e7a3.jpg","text":"TemporaryFile(/tmp/multipartBody5576656814977702807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_16_04_05_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/095f1e2c52b06f99ed7ba50ceb8f3d28.jpg","text":"TemporaryFile(/tmp/multipartBody4879044772534083145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_16_03_06_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ed07ff35bd74b32719406c6896eae0a.jpg","text":"TemporaryFile(/tmp/multipartBody2804056369859719918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_16_01_35_30534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20e3cd5c154e4920518b21ff1dee942e.jpg","text":"TemporaryFile(/tmp/multipartBody5968724356708609779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_15_59_05_29264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20e031ce6140a6a6051d24a7af70780d.jpg","text":"TemporaryFile(/tmp/multipartBody4413880089084143682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474406908,"filename":"image_06052026_16_03_35_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813372","file1":"1416813369","file0":"1416813367","file4":"1416813379","file5":"1416813381","file3":"1416813375"},"map_files_photo_id_array":[{"photo_id":"1416813381","filename":"file5"},{"photo_id":"1416813372","filename":"file2"},{"photo_id":"1416813379","filename":"file4"},{"photo_id":"1416813369","filename":"file1"},{"photo_id":"1416813367","filename":"file0"},{"photo_id":"1416813375","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813372":["hashtag1","hashtag2"]},{"1416813381":["hashtag1","hashtag2"]},{"1416813375":["hashtag1","hashtag2"]},{"1416813369":["hashtag1","hashtag2"]},{"1416813367":["hashtag1","hashtag2"]},{"1416813379":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813372, 1416813381, 1416813375, 1416813369, 1416813367, 1416813379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74315357208252 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:40:03.167622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/17/image_06052026_22_17_35_30459.jpg', '/home/pi/Desktop/images/06052026/22/16/image_06052026_22_17_05_29233.jpg', '/home/pi/Desktop/images/06052026/22/16/image_06052026_22_16_36_30450.jpg', '/home/pi/Desktop/images/06052026/22/15/image_06052026_22_16_05_30304.jpg', '/home/pi/Desktop/images/06052026/22/15/image_06052026_22_15_35_29292.jpg', '/home/pi/Desktop/images/06052026/22/14/image_06052026_22_15_06_30321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/17/image_06052026_22_17_35_30459.jpg
/home/pi/Desktop/images/06052026/22/16/image_06052026_22_17_05_29233.jpg
/home/pi/Desktop/images/06052026/22/16/image_06052026_22_16_36_30450.jpg
/home/pi/Desktop/images/06052026/22/15/image_06052026_22_16_05_30304.jpg
/home/pi/Desktop/images/06052026/22/15/image_06052026_22_15_35_29292.jpg
/home/pi/Desktop/images/06052026/22/14/image_06052026_22_15_06_30321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813392","1416813386","1416813394","1416813388","1416813390","1416813384"],"photo_ids_order":["1416813384","1416813386","1416813388","1416813390","1416813392","1416813394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de6b1e17ab9934f574ebdecc10b1ade1.jpg","text":"TemporaryFile(/tmp/multipartBody4432223603225164844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_15_35_29292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40d0038e1c53a47b627631a512870a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4902872051084102829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_17_05_29233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5e060293e1330938571fa8388f31428.jpg","text":"TemporaryFile(/tmp/multipartBody5946231602446067176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_15_06_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe76fcd11514fdacd6cc15e5ebbecb07.jpg","text":"TemporaryFile(/tmp/multipartBody7398979475473582963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_16_36_30450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e8475ea16987e6b088cce69ddd6badd.jpg","text":"TemporaryFile(/tmp/multipartBody2856904133008021740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_16_05_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62c2ce0a321b126f7136e665f3cf4431.jpg","text":"TemporaryFile(/tmp/multipartBody1336248220039719476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474465380,"filename":"image_06052026_22_17_35_30459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813388","file1":"1416813386","file0":"1416813384","file4":"1416813392","file5":"1416813394","file3":"1416813390"},"map_files_photo_id_array":[{"photo_id":"1416813394","filename":"file5"},{"photo_id":"1416813388","filename":"file2"},{"photo_id":"1416813392","filename":"file4"},{"photo_id":"1416813386","filename":"file1"},{"photo_id":"1416813384","filename":"file0"},{"photo_id":"1416813390","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813392":["hashtag1","hashtag2"]},{"1416813386":["hashtag1","hashtag2"]},{"1416813394":["hashtag1","hashtag2"]},{"1416813388":["hashtag1","hashtag2"]},{"1416813390":["hashtag1","hashtag2"]},{"1416813384":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813392, 1416813386, 1416813394, 1416813388, 1416813390, 1416813384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30142116546631 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:41:03.235197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/13/image_06052026_22_14_05_29440.jpg', '/home/pi/Desktop/images/06052026/22/11/image_06052026_22_11_35_29305.jpg', '/home/pi/Desktop/images/06052026/22/08/image_06052026_22_09_05_29321.jpg', '/home/pi/Desktop/images/06052026/22/07/image_06052026_22_08_05_30413.jpg', '/home/pi/Desktop/images/06052026/22/06/image_06052026_22_06_35_30379.jpg', '/home/pi/Desktop/images/06052026/22/05/image_06052026_22_06_05_29376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/13/image_06052026_22_14_05_29440.jpg
/home/pi/Desktop/images/06052026/22/11/image_06052026_22_11_35_29305.jpg
/home/pi/Desktop/images/06052026/22/08/image_06052026_22_09_05_29321.jpg
/home/pi/Desktop/images/06052026/22/07/image_06052026_22_08_05_30413.jpg
/home/pi/Desktop/images/06052026/22/06/image_06052026_22_06_35_30379.jpg
/home/pi/Desktop/images/06052026/22/05/image_06052026_22_06_05_29376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813402","1416813405","1416813398","1416813406","1416813396","1416813400"],"photo_ids_order":["1416813396","1416813398","1416813400","1416813402","1416813405","1416813406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97125a5ce85401eb18b2067f8e1d0b10.jpg","text":"TemporaryFile(/tmp/multipartBody1947867701637880560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_08_05_30413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7323ebd0d1e348bc65c94f734f5e3792.jpg","text":"TemporaryFile(/tmp/multipartBody886352101093932497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_06_35_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d203681b7459da71b4370d2670296e7.jpg","text":"TemporaryFile(/tmp/multipartBody8316188930719088176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_11_35_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f00e28f4fae17afbeea4442145b936f0.jpg","text":"TemporaryFile(/tmp/multipartBody6394673513910039737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_06_05_29376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/836988312903daee4301059ac529956e.jpg","text":"TemporaryFile(/tmp/multipartBody1320322923332374492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_14_05_29440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb35bb760a18677878526321732fc895.jpg","text":"TemporaryFile(/tmp/multipartBody6751384743550760946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474525332,"filename":"image_06052026_22_09_05_29321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813400","file1":"1416813398","file0":"1416813396","file4":"1416813405","file5":"1416813406","file3":"1416813402"},"map_files_photo_id_array":[{"photo_id":"1416813406","filename":"file5"},{"photo_id":"1416813400","filename":"file2"},{"photo_id":"1416813405","filename":"file4"},{"photo_id":"1416813398","filename":"file1"},{"photo_id":"1416813396","filename":"file0"},{"photo_id":"1416813402","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813402":["hashtag1","hashtag2"]},{"1416813405":["hashtag1","hashtag2"]},{"1416813398":["hashtag1","hashtag2"]},{"1416813406":["hashtag1","hashtag2"]},{"1416813396":["hashtag1","hashtag2"]},{"1416813400":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813402, 1416813405, 1416813398, 1416813406, 1416813396, 1416813400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29733896255493 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:42:02.836302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/05/image_06052026_22_05_36_30372.jpg', '/home/pi/Desktop/images/06052026/22/04/image_06052026_22_05_05_29398.jpg', '/home/pi/Desktop/images/06052026/22/04/image_06052026_22_04_36_30421.jpg', '/home/pi/Desktop/images/06052026/22/03/image_06052026_22_03_35_29319.jpg', '/home/pi/Desktop/images/06052026/22/02/image_06052026_22_03_06_30417.jpg', '/home/pi/Desktop/images/06052026/22/02/image_06052026_22_02_35_30338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/05/image_06052026_22_05_36_30372.jpg
/home/pi/Desktop/images/06052026/22/04/image_06052026_22_05_05_29398.jpg
/home/pi/Desktop/images/06052026/22/04/image_06052026_22_04_36_30421.jpg
/home/pi/Desktop/images/06052026/22/03/image_06052026_22_03_35_29319.jpg
/home/pi/Desktop/images/06052026/22/02/image_06052026_22_03_06_30417.jpg
/home/pi/Desktop/images/06052026/22/02/image_06052026_22_02_35_30338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813420","1416813414","1416813417","1416813422","1416813424","1416813412"],"photo_ids_order":["1416813412","1416813414","1416813417","1416813420","1416813422","1416813424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5597bef503653a171612c16120b2a578.jpg","text":"TemporaryFile(/tmp/multipartBody6668970540340152622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_03_35_29319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4247bb339231cf4161749d2cc0e2d74d.jpg","text":"TemporaryFile(/tmp/multipartBody6892661956237552557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_05_05_29398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce5b9ec51ca9519ff0b9ffcacebf9850.jpg","text":"TemporaryFile(/tmp/multipartBody3871619063588592799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_04_36_30421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6d284c936c7bcaee668e0cae79db07f.jpg","text":"TemporaryFile(/tmp/multipartBody935132437463209134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_03_06_30417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12eb6642d2c61d222f3d6c4031171a75.jpg","text":"TemporaryFile(/tmp/multipartBody7482856641418311748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_02_35_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06994a1fd143be6b9aef7e30c316aebf.jpg","text":"TemporaryFile(/tmp/multipartBody2099691122425839569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474585055,"filename":"image_06052026_22_05_36_30372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813417","file1":"1416813414","file0":"1416813412","file4":"1416813422","file5":"1416813424","file3":"1416813420"},"map_files_photo_id_array":[{"photo_id":"1416813424","filename":"file5"},{"photo_id":"1416813417","filename":"file2"},{"photo_id":"1416813422","filename":"file4"},{"photo_id":"1416813414","filename":"file1"},{"photo_id":"1416813412","filename":"file0"},{"photo_id":"1416813420","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813420":["hashtag1","hashtag2"]},{"1416813414":["hashtag1","hashtag2"]},{"1416813417":["hashtag1","hashtag2"]},{"1416813422":["hashtag1","hashtag2"]},{"1416813424":["hashtag1","hashtag2"]},{"1416813412":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813420, 1416813414, 1416813417, 1416813422, 1416813424, 1416813412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57463479042053 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:43:04.219205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg', '/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg
/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8214893341064453 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:44:03.569406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg', '/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg
/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.jpg
2026-05-11 06:44:03.722687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.jpg', '/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/25/image_11052026_06_26_14_30178.jpg
/home/pi/Desktop/images/11052026/06/41/image_11052026_06_42_14_30185.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813438","1416813433"],"photo_ids_order":["1416813433","1416813438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b591b0da9d5921c12953704e7bf9ced5.jpg","text":"TemporaryFile(/tmp/multipartBody6938733574149713291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474705120,"filename":"image_11052026_06_26_14_30178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aadaee130e31d2d63a3ea31e3e7cb3e0.jpg","text":"TemporaryFile(/tmp/multipartBody9097517672257165033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474705120,"filename":"image_11052026_06_42_14_30185.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813438","file0":"1416813433"},"map_files_photo_id_array":[{"photo_id":"1416813438","filename":"file1"},{"photo_id":"1416813433","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813438":["hashtag1","hashtag2"]},{"1416813433":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813438, 1416813433)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416813437","1416813434"],"photo_ids_order":["1416813434","1416813437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e8b5f07324e068d5277223a6ba50c84.jpg","text":"TemporaryFile(/tmp/multipartBody7966687920105331288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474705129,"filename":"image_11052026_06_42_14_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bf0240a38bb69a0c03eea1408f072d9.jpg","text":"TemporaryFile(/tmp/multipartBody2851716579627848416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474705129,"filename":"image_11052026_06_26_14_30178.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813437","file0":"1416813434"},"map_files_photo_id_array":[{"photo_id":"1416813437","filename":"file1"},{"photo_id":"1416813434","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813437":["hashtag1","hashtag2"]},{"1416813434":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813437, 1416813434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.808156728744507 secondes ---
uploaded 2 photos
time to upload: 21.05587935447693 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:45:03.808809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/22/01/image_06052026_22_02_05_29324.jpg', '/home/pi/Desktop/images/06052026/22/01/image_06052026_22_01_36_30491.jpg', '/home/pi/Desktop/images/06052026/22/00/image_06052026_22_01_05_29328.jpg', '/home/pi/Desktop/images/06052026/22/00/image_06052026_22_00_36_30503.jpg', '/home/pi/Desktop/images/06052026/21/59/image_06052026_22_00_05_30339.jpg', '/home/pi/Desktop/images/06052026/21/58/image_06052026_21_58_35_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/22/01/image_06052026_22_02_05_29324.jpg
/home/pi/Desktop/images/06052026/22/01/image_06052026_22_01_36_30491.jpg
/home/pi/Desktop/images/06052026/22/00/image_06052026_22_01_05_29328.jpg
/home/pi/Desktop/images/06052026/22/00/image_06052026_22_00_36_30503.jpg
/home/pi/Desktop/images/06052026/21/59/image_06052026_22_00_05_30339.jpg
/home/pi/Desktop/images/06052026/21/58/image_06052026_21_58_35_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813450","1416813456","1416813452","1416813446","1416813454","1416813448"],"photo_ids_order":["1416813446","1416813448","1416813450","1416813452","1416813454","1416813456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50470ff91e088ab5aee2384bbd65183a.jpg","text":"TemporaryFile(/tmp/multipartBody6325874512034411614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_22_01_05_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6628d804317ab21a2863044ebefb53a.jpg","text":"TemporaryFile(/tmp/multipartBody6977282907111960142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_21_58_35_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91d19527ac087a3fb328bc7bf5556922.jpg","text":"TemporaryFile(/tmp/multipartBody147372145546406136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_22_00_36_30503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c605c2951d228f0f55fed5417a309ac.jpg","text":"TemporaryFile(/tmp/multipartBody1375830071325177949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_22_02_05_29324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b52d628d1394d0a6256fbc000150411b.jpg","text":"TemporaryFile(/tmp/multipartBody3674897085400557148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_22_00_05_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea40248321ff1479c82a8ed71fee5436.jpg","text":"TemporaryFile(/tmp/multipartBody6753719383522000482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474765791,"filename":"image_06052026_22_01_36_30491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813450","file1":"1416813448","file0":"1416813446","file4":"1416813454","file5":"1416813456","file3":"1416813452"},"map_files_photo_id_array":[{"photo_id":"1416813456","filename":"file5"},{"photo_id":"1416813450","filename":"file2"},{"photo_id":"1416813454","filename":"file4"},{"photo_id":"1416813448","filename":"file1"},{"photo_id":"1416813446","filename":"file0"},{"photo_id":"1416813452","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813450":["hashtag1","hashtag2"]},{"1416813456":["hashtag1","hashtag2"]},{"1416813452":["hashtag1","hashtag2"]},{"1416813446":["hashtag1","hashtag2"]},{"1416813454":["hashtag1","hashtag2"]},{"1416813448":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813450, 1416813456, 1416813452, 1416813446, 1416813454, 1416813448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84381413459778 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:46:03.223653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/57/image_06052026_21_58_05_29246.jpg', '/home/pi/Desktop/images/06052026/21/55/image_06052026_21_56_06_30422.jpg', '/home/pi/Desktop/images/06052026/21/55/image_06052026_21_55_35_30401.jpg', '/home/pi/Desktop/images/06052026/21/54/image_06052026_21_55_05_29323.jpg', '/home/pi/Desktop/images/06052026/21/54/image_06052026_21_54_36_30468.jpg', '/home/pi/Desktop/images/06052026/21/53/image_06052026_21_54_05_29305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/57/image_06052026_21_58_05_29246.jpg
/home/pi/Desktop/images/06052026/21/55/image_06052026_21_56_06_30422.jpg
/home/pi/Desktop/images/06052026/21/55/image_06052026_21_55_35_30401.jpg
/home/pi/Desktop/images/06052026/21/54/image_06052026_21_55_05_29323.jpg
/home/pi/Desktop/images/06052026/21/54/image_06052026_21_54_36_30468.jpg
/home/pi/Desktop/images/06052026/21/53/image_06052026_21_54_05_29305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813468","1416813462","1416813464","1416813458","1416813466","1416813460"],"photo_ids_order":["1416813458","1416813460","1416813462","1416813464","1416813466","1416813468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4561bf374e166c481e09fd68db225b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4054967863754568397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_54_05_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33d064268dc4d5abdf0112c8a3c6157b.jpg","text":"TemporaryFile(/tmp/multipartBody8699218174993333272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_55_35_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a701bcc724b40bbd209472030d7cbd0a.jpg","text":"TemporaryFile(/tmp/multipartBody7877235393821147629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_55_05_29323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b17ae30dd415281c0b9a7092f5536bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3409192589651149978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_58_05_29246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8c3065781d00bed1be223d7038c8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7391878763727170303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_54_36_30468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eccb67c73b74ebb3c4b77e486b6a76a6.jpg","text":"TemporaryFile(/tmp/multipartBody8979379491959737042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474825681,"filename":"image_06052026_21_56_06_30422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813462","file1":"1416813460","file0":"1416813458","file4":"1416813466","file5":"1416813468","file3":"1416813464"},"map_files_photo_id_array":[{"photo_id":"1416813468","filename":"file5"},{"photo_id":"1416813462","filename":"file2"},{"photo_id":"1416813466","filename":"file4"},{"photo_id":"1416813460","filename":"file1"},{"photo_id":"1416813458","filename":"file0"},{"photo_id":"1416813464","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813468":["hashtag1","hashtag2"]},{"1416813462":["hashtag1","hashtag2"]},{"1416813464":["hashtag1","hashtag2"]},{"1416813458":["hashtag1","hashtag2"]},{"1416813466":["hashtag1","hashtag2"]},{"1416813460":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813468, 1416813462, 1416813464, 1416813458, 1416813466, 1416813460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56109833717346 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:47:04.323658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/53/image_06052026_21_53_36_30404.jpg', '/home/pi/Desktop/images/06052026/21/52/image_06052026_21_52_35_29213.jpg', '/home/pi/Desktop/images/06052026/21/51/image_06052026_21_52_06_30359.jpg', '/home/pi/Desktop/images/06052026/21/51/image_06052026_21_51_35_30435.jpg', '/home/pi/Desktop/images/06052026/21/50/image_06052026_21_51_05_29306.jpg', '/home/pi/Desktop/images/06052026/21/50/image_06052026_21_50_36_30373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/53/image_06052026_21_53_36_30404.jpg
/home/pi/Desktop/images/06052026/21/52/image_06052026_21_52_35_29213.jpg
/home/pi/Desktop/images/06052026/21/51/image_06052026_21_52_06_30359.jpg
/home/pi/Desktop/images/06052026/21/51/image_06052026_21_51_35_30435.jpg
/home/pi/Desktop/images/06052026/21/50/image_06052026_21_51_05_29306.jpg
/home/pi/Desktop/images/06052026/21/50/image_06052026_21_50_36_30373.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813480","1416813474","1416813476","1416813479","1416813470","1416813472"],"photo_ids_order":["1416813470","1416813472","1416813474","1416813476","1416813479","1416813480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88e2a0a17e1fc86bd9e00dfbc0bb717e.jpg","text":"TemporaryFile(/tmp/multipartBody7875551924471138120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_50_36_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c916bb93295f910444d2c2bd3ef82c9.jpg","text":"TemporaryFile(/tmp/multipartBody3700866934558239411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_52_06_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab1a74851c9e34a7a2c6b44db6722b7c.jpg","text":"TemporaryFile(/tmp/multipartBody9084563429303742839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_51_35_30435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3da103589d4f1098317324f8412d4b0b.jpg","text":"TemporaryFile(/tmp/multipartBody459649729653497706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_51_05_29306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/616e8af9a8beccd9eb88a73563f310f1.jpg","text":"TemporaryFile(/tmp/multipartBody4945818075982114286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_53_36_30404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/189eb68eefa29a78c977ef2138ecf623.jpg","text":"TemporaryFile(/tmp/multipartBody5316757883582572861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474886423,"filename":"image_06052026_21_52_35_29213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813474","file1":"1416813472","file0":"1416813470","file4":"1416813479","file5":"1416813480","file3":"1416813476"},"map_files_photo_id_array":[{"photo_id":"1416813480","filename":"file5"},{"photo_id":"1416813474","filename":"file2"},{"photo_id":"1416813479","filename":"file4"},{"photo_id":"1416813472","filename":"file1"},{"photo_id":"1416813470","filename":"file0"},{"photo_id":"1416813476","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813480":["hashtag1","hashtag2"]},{"1416813474":["hashtag1","hashtag2"]},{"1416813476":["hashtag1","hashtag2"]},{"1416813479":["hashtag1","hashtag2"]},{"1416813470":["hashtag1","hashtag2"]},{"1416813472":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813480, 1416813474, 1416813476, 1416813479, 1416813470, 1416813472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.853748083114624 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:48:02.764627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/43/image_11052026_06_43_44_30277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/43/image_11052026_06_43_44_30277.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813482"],"photo_id":"1416813482","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15fc3a79e37bcb4ad727450a3c40a251.jpg","text":"TemporaryFile(/tmp/multipartBody2463108461434718703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778474943785,"filename":"image_11052026_06_43_44_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813482"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813482"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.883583068847656 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:49:04.236535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/49/image_06052026_21_50_05_30326.jpg', '/home/pi/Desktop/images/06052026/21/49/image_06052026_21_49_35_29288.jpg', '/home/pi/Desktop/images/06052026/21/43/image_06052026_21_44_06_30296.jpg', '/home/pi/Desktop/images/06052026/21/40/image_06052026_21_40_35_29283.jpg', '/home/pi/Desktop/images/06052026/21/37/image_06052026_21_38_05_30431.jpg', '/home/pi/Desktop/images/06052026/21/36/image_06052026_21_37_06_30420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/49/image_06052026_21_50_05_30326.jpg
/home/pi/Desktop/images/06052026/21/49/image_06052026_21_49_35_29288.jpg
/home/pi/Desktop/images/06052026/21/43/image_06052026_21_44_06_30296.jpg
/home/pi/Desktop/images/06052026/21/40/image_06052026_21_40_35_29283.jpg
/home/pi/Desktop/images/06052026/21/37/image_06052026_21_38_05_30431.jpg
/home/pi/Desktop/images/06052026/21/36/image_06052026_21_37_06_30420.jpg
2026-05-11 06:49:04.312606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/04/image_06052026_16_04_36_30429.jpg', '/home/pi/Desktop/images/06052026/16/04/image_06052026_16_05_05_29275.jpg', '/home/pi/Desktop/images/06052026/16/05/image_06052026_16_05_35_30269.jpg', '/home/pi/Desktop/images/06052026/16/05/image_06052026_16_06_06_30280.jpg', '/home/pi/Desktop/images/06052026/16/06/image_06052026_16_06_35_29322.jpg', '/home/pi/Desktop/images/06052026/16/06/image_06052026_16_07_05_30297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/04/image_06052026_16_04_36_30429.jpg
/home/pi/Desktop/images/06052026/16/04/image_06052026_16_05_05_29275.jpg
/home/pi/Desktop/images/06052026/16/05/image_06052026_16_05_35_30269.jpg
/home/pi/Desktop/images/06052026/16/05/image_06052026_16_06_06_30280.jpg
/home/pi/Desktop/images/06052026/16/06/image_06052026_16_06_35_29322.jpg
/home/pi/Desktop/images/06052026/16/06/image_06052026_16_07_05_30297.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.502396821975708 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813497","1416813506","1416813509","1416813500","1416813503","1416813495"],"photo_ids_order":["1416813495","1416813497","1416813500","1416813503","1416813506","1416813509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a461f970748f1e681d5195806c0acfd.jpg","text":"TemporaryFile(/tmp/multipartBody7761378086071468121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_05_05_29275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b02f348352e34612ac6f0206e076b81.jpg","text":"TemporaryFile(/tmp/multipartBody7292780238428945687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_06_35_29322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f9777497ec92c17fd7df6a0b1aaa5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2207479758533882353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_07_05_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd90a94dd0b7aa8bba04c878c7278d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1020689165317297022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_05_35_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f4ec861f452b7efb139c80c1e5961a22.jpg","text":"TemporaryFile(/tmp/multipartBody3504568417101587953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_06_06_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fda92706588e033fde93244a8ce61b6a.jpg","text":"TemporaryFile(/tmp/multipartBody53836797729879929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475007004,"filename":"image_06052026_16_04_36_30429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813500","file1":"1416813497","file0":"1416813495","file4":"1416813506","file5":"1416813509","file3":"1416813503"},"map_files_photo_id_array":[{"photo_id":"1416813509","filename":"file5"},{"photo_id":"1416813500","filename":"file2"},{"photo_id":"1416813506","filename":"file4"},{"photo_id":"1416813497","filename":"file1"},{"photo_id":"1416813495","filename":"file0"},{"photo_id":"1416813503","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813497":["hashtag1","hashtag2"]},{"1416813506":["hashtag1","hashtag2"]},{"1416813509":["hashtag1","hashtag2"]},{"1416813500":["hashtag1","hashtag2"]},{"1416813503":["hashtag1","hashtag2"]},{"1416813495":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813497, 1416813506, 1416813509, 1416813500, 1416813503, 1416813495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0070321559906 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:50:03.581249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/49/image_06052026_21_50_05_30326.jpg', '/home/pi/Desktop/images/06052026/21/49/image_06052026_21_49_35_29288.jpg', '/home/pi/Desktop/images/06052026/21/43/image_06052026_21_44_06_30296.jpg', '/home/pi/Desktop/images/06052026/21/40/image_06052026_21_40_35_29283.jpg', '/home/pi/Desktop/images/06052026/21/37/image_06052026_21_38_05_30431.jpg', '/home/pi/Desktop/images/06052026/21/36/image_06052026_21_37_06_30420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/49/image_06052026_21_50_05_30326.jpg
/home/pi/Desktop/images/06052026/21/49/image_06052026_21_49_35_29288.jpg
/home/pi/Desktop/images/06052026/21/43/image_06052026_21_44_06_30296.jpg
/home/pi/Desktop/images/06052026/21/40/image_06052026_21_40_35_29283.jpg
/home/pi/Desktop/images/06052026/21/37/image_06052026_21_38_05_30431.jpg
/home/pi/Desktop/images/06052026/21/36/image_06052026_21_37_06_30420.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813522","1416813516","1416813518","1416813512","1416813520","1416813514"],"photo_ids_order":["1416813512","1416813514","1416813516","1416813518","1416813520","1416813522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/60368177b3d5e4f24c51caffae509486.jpg","text":"TemporaryFile(/tmp/multipartBody3839312501504557993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_37_06_30420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/808cefd77d428361f5ceb657e2449a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5981912885679173706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_44_06_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31f2297cea9663696f26e17a13f7dc59.jpg","text":"TemporaryFile(/tmp/multipartBody1222178131572521145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_40_35_29283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc2adc10fbc169873abe081b0901187a.jpg","text":"TemporaryFile(/tmp/multipartBody4388614480615730432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_50_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b423ea82fb6b169689f71f30e87af4f.jpg","text":"TemporaryFile(/tmp/multipartBody5512570425611824701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_38_05_30431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d23ead1a8caf99c4f2fe907104bf9c79.jpg","text":"TemporaryFile(/tmp/multipartBody1450437848122630234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475065656,"filename":"image_06052026_21_49_35_29288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813516","file1":"1416813514","file0":"1416813512","file4":"1416813520","file5":"1416813522","file3":"1416813518"},"map_files_photo_id_array":[{"photo_id":"1416813522","filename":"file5"},{"photo_id":"1416813516","filename":"file2"},{"photo_id":"1416813520","filename":"file4"},{"photo_id":"1416813514","filename":"file1"},{"photo_id":"1416813512","filename":"file0"},{"photo_id":"1416813518","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813522":["hashtag1","hashtag2"]},{"1416813516":["hashtag1","hashtag2"]},{"1416813518":["hashtag1","hashtag2"]},{"1416813512":["hashtag1","hashtag2"]},{"1416813520":["hashtag1","hashtag2"]},{"1416813514":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813522, 1416813516, 1416813518, 1416813512, 1416813520, 1416813514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.242517948150635 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:51:03.634571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/49/image_11052026_06_50_14_30257.jpg', '/home/pi/Desktop/images/11052026/06/46/image_11052026_06_47_13_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/49/image_11052026_06_50_14_30257.jpg
/home/pi/Desktop/images/11052026/06/46/image_11052026_06_47_13_29112.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9448850154876709 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:52:03.483221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/49/image_11052026_06_50_14_30257.jpg', '/home/pi/Desktop/images/11052026/06/46/image_11052026_06_47_13_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/49/image_11052026_06_50_14_30257.jpg
/home/pi/Desktop/images/11052026/06/46/image_11052026_06_47_13_29112.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813531","1416813533"],"photo_ids_order":["1416813531","1416813533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86085f8d59dfbac433f1b028f28090a0.jpg","text":"TemporaryFile(/tmp/multipartBody7815355880387994138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475184828,"filename":"image_11052026_06_50_14_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e84ff246e925557172e12cee65918f83.jpg","text":"TemporaryFile(/tmp/multipartBody8514370010180082910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475184828,"filename":"image_11052026_06_47_13_29112.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813533","file0":"1416813531"},"map_files_photo_id_array":[{"photo_id":"1416813533","filename":"file1"},{"photo_id":"1416813531","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813531":["hashtag1","hashtag2"]},{"1416813533":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813531, 1416813533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.407217025756836 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:53:03.495769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/36/image_06052026_21_36_35_29356.jpg', '/home/pi/Desktop/images/06052026/21/34/image_06052026_21_35_05_29235.jpg', '/home/pi/Desktop/images/06052026/21/33/image_06052026_21_34_05_30347.jpg', '/home/pi/Desktop/images/06052026/21/32/image_06052026_21_33_06_30339.jpg', '/home/pi/Desktop/images/06052026/21/32/image_06052026_21_32_35_30468.jpg', '/home/pi/Desktop/images/06052026/21/31/image_06052026_21_32_05_29303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/36/image_06052026_21_36_35_29356.jpg
/home/pi/Desktop/images/06052026/21/34/image_06052026_21_35_05_29235.jpg
/home/pi/Desktop/images/06052026/21/33/image_06052026_21_34_05_30347.jpg
/home/pi/Desktop/images/06052026/21/32/image_06052026_21_33_06_30339.jpg
/home/pi/Desktop/images/06052026/21/32/image_06052026_21_32_35_30468.jpg
/home/pi/Desktop/images/06052026/21/31/image_06052026_21_32_05_29303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813549","1416813543","1416813545","1416813539","1416813547","1416813541"],"photo_ids_order":["1416813539","1416813541","1416813543","1416813545","1416813547","1416813549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ddf69634246cd8433a27bcf4f7e359d.jpg","text":"TemporaryFile(/tmp/multipartBody2485054710200652322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_32_05_29303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8500a76ae538a15242345ad4809a65ee.jpg","text":"TemporaryFile(/tmp/multipartBody5565632309546891071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_34_05_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ffa8e0671a63d29d71b93bbb976eff0.jpg","text":"TemporaryFile(/tmp/multipartBody5900342324944159568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_33_06_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae5c08452d6d0af78d8aaf0e5a93432c.jpg","text":"TemporaryFile(/tmp/multipartBody5363416385763879691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_36_35_29356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff3827b7d42eeae4de092c7d75a5cc2d.jpg","text":"TemporaryFile(/tmp/multipartBody1766636580230227254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_32_35_30468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fcd2861ef15895a5fc94c727526324c.jpg","text":"TemporaryFile(/tmp/multipartBody6215847632527683085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475245735,"filename":"image_06052026_21_35_05_29235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813543","file1":"1416813541","file0":"1416813539","file4":"1416813547","file5":"1416813549","file3":"1416813545"},"map_files_photo_id_array":[{"photo_id":"1416813549","filename":"file5"},{"photo_id":"1416813543","filename":"file2"},{"photo_id":"1416813547","filename":"file4"},{"photo_id":"1416813541","filename":"file1"},{"photo_id":"1416813539","filename":"file0"},{"photo_id":"1416813545","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813549":["hashtag1","hashtag2"]},{"1416813543":["hashtag1","hashtag2"]},{"1416813545":["hashtag1","hashtag2"]},{"1416813539":["hashtag1","hashtag2"]},{"1416813547":["hashtag1","hashtag2"]},{"1416813541":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813549, 1416813543, 1416813545, 1416813539, 1416813547, 1416813541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72213530540466 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:54:03.143391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/50/image_11052026_06_50_44_30221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/50/image_11052026_06_50_44_30221.jpg
2026-05-11 06:54:03.481925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/50/image_11052026_06_50_44_30221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/50/image_11052026_06_50_44_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813551"],"photo_id":"1416813551","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dbf24a85bca3e71c144387566bc3cfce.jpg","text":"TemporaryFile(/tmp/multipartBody3078858526441160398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475304148,"filename":"image_11052026_06_50_44_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813551"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813551"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.580583333969116 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813552"],"photo_id":"1416813552","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70cf3e931a1817f3170cdd2c1a946e72.jpg","text":"TemporaryFile(/tmp/multipartBody3255406524811263735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475304504,"filename":"image_11052026_06_50_44_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813552"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813552"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.962854385375977 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 06:59:03.839665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/53/image_11052026_06_54_14_30071.jpg', '/home/pi/Desktop/images/11052026/06/52/image_11052026_06_53_14_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/53/image_11052026_06_54_14_30071.jpg
/home/pi/Desktop/images/11052026/06/52/image_11052026_06_53_14_30251.jpg
2026-05-11 06:59:04.093711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/52/image_11052026_06_53_14_30251.jpg', '/home/pi/Desktop/images/11052026/06/53/image_11052026_06_54_14_30071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/52/image_11052026_06_53_14_30251.jpg
/home/pi/Desktop/images/11052026/06/53/image_11052026_06_54_14_30071.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813596","1416813592"],"photo_ids_order":["1416813592","1416813596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6040f1707b3af4d655914509cc30c0e8.jpg","text":"TemporaryFile(/tmp/multipartBody1772130167460578442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475605211,"filename":"image_11052026_06_53_14_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3a5ef14ae313b6ace84722de89918f5.jpg","text":"TemporaryFile(/tmp/multipartBody3325529464552197238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475605211,"filename":"image_11052026_06_54_14_30071.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813596","file0":"1416813592"},"map_files_photo_id_array":[{"photo_id":"1416813596","filename":"file1"},{"photo_id":"1416813592","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813596":["hashtag1","hashtag2"]},{"1416813592":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813596, 1416813592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.197136640548706 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813593","1416813597"],"photo_ids_order":["1416813593","1416813597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce27f959a361353a5fbd0bcdf38bb773.jpg","text":"TemporaryFile(/tmp/multipartBody5759400822707091825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475606819,"filename":"image_11052026_06_53_14_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7001fa8887231e833f4966cae6f66f9.jpg","text":"TemporaryFile(/tmp/multipartBody6926850395501301077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475606819,"filename":"image_11052026_06_54_14_30071.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416813597","file0":"1416813593"},"map_files_photo_id_array":[{"photo_id":"1416813597","filename":"file1"},{"photo_id":"1416813593","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416813593":["hashtag1","hashtag2"]},{"1416813597":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416813593, 1416813597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.759725093841553 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:00:02.796164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/31/image_06052026_21_31_36_30291.jpg', '/home/pi/Desktop/images/06052026/21/30/image_06052026_21_31_05_30353.jpg', '/home/pi/Desktop/images/06052026/21/30/image_06052026_21_30_35_29386.jpg', '/home/pi/Desktop/images/06052026/21/29/image_06052026_21_30_06_30334.jpg', '/home/pi/Desktop/images/06052026/21/29/image_06052026_21_29_35_30276.jpg', '/home/pi/Desktop/images/06052026/21/28/image_06052026_21_28_36_30326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/31/image_06052026_21_31_36_30291.jpg
/home/pi/Desktop/images/06052026/21/30/image_06052026_21_31_05_30353.jpg
/home/pi/Desktop/images/06052026/21/30/image_06052026_21_30_35_29386.jpg
/home/pi/Desktop/images/06052026/21/29/image_06052026_21_30_06_30334.jpg
/home/pi/Desktop/images/06052026/21/29/image_06052026_21_29_35_30276.jpg
/home/pi/Desktop/images/06052026/21/28/image_06052026_21_28_36_30326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813615","1416813609","1416813611","1416813605","1416813613","1416813607"],"photo_ids_order":["1416813605","1416813607","1416813609","1416813611","1416813613","1416813615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f55bdb2b585c60fc3a78ec58d8b7c558.jpg","text":"TemporaryFile(/tmp/multipartBody3191265914356363289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_28_36_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ced744bce49d86a652854778526496f9.jpg","text":"TemporaryFile(/tmp/multipartBody4057062577842124067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_30_35_29386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c350dff9a5bcd6322414a67bcd07409e.jpg","text":"TemporaryFile(/tmp/multipartBody1552498124530279647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_30_06_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4b509b033a26d80779cd170c084f69d.jpg","text":"TemporaryFile(/tmp/multipartBody8410939914696219291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_31_36_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16aa6eefe5227138ceb93049b1f5ccef.jpg","text":"TemporaryFile(/tmp/multipartBody2755803803269827151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_29_35_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/139e8707bb56df5586bcff1d31faed32.jpg","text":"TemporaryFile(/tmp/multipartBody2521554027453793542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475664952,"filename":"image_06052026_21_31_05_30353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813609","file1":"1416813607","file0":"1416813605","file4":"1416813613","file5":"1416813615","file3":"1416813611"},"map_files_photo_id_array":[{"photo_id":"1416813615","filename":"file5"},{"photo_id":"1416813609","filename":"file2"},{"photo_id":"1416813613","filename":"file4"},{"photo_id":"1416813607","filename":"file1"},{"photo_id":"1416813605","filename":"file0"},{"photo_id":"1416813611","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813615":["hashtag1","hashtag2"]},{"1416813609":["hashtag1","hashtag2"]},{"1416813611":["hashtag1","hashtag2"]},{"1416813605":["hashtag1","hashtag2"]},{"1416813613":["hashtag1","hashtag2"]},{"1416813607":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813615, 1416813609, 1416813611, 1416813605, 1416813613, 1416813607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.400657415390015 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:01:04.168675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/01/image_11052026_07_01_44_30256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/01/image_11052026_07_01_44_30256.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813617"],"photo_id":"1416813617","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df3fa7262b06d8c8cfa0d700c0f5004e.jpg","text":"TemporaryFile(/tmp/multipartBody2603807974856157833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475725703,"filename":"image_11052026_07_01_44_30256.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813617"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813617"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.933663845062256 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:02:02.973087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/27/image_06052026_21_28_05_30342.jpg', '/home/pi/Desktop/images/06052026/21/26/image_06052026_21_26_35_30392.jpg', '/home/pi/Desktop/images/06052026/21/25/image_06052026_21_25_36_30460.jpg', '/home/pi/Desktop/images/06052026/21/24/image_06052026_21_24_36_30502.jpg', '/home/pi/Desktop/images/06052026/21/22/image_06052026_21_22_35_29232.jpg', '/home/pi/Desktop/images/06052026/21/21/image_06052026_21_22_06_30365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/27/image_06052026_21_28_05_30342.jpg
/home/pi/Desktop/images/06052026/21/26/image_06052026_21_26_35_30392.jpg
/home/pi/Desktop/images/06052026/21/25/image_06052026_21_25_36_30460.jpg
/home/pi/Desktop/images/06052026/21/24/image_06052026_21_24_36_30502.jpg
/home/pi/Desktop/images/06052026/21/22/image_06052026_21_22_35_29232.jpg
/home/pi/Desktop/images/06052026/21/21/image_06052026_21_22_06_30365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813630","1416813624","1416813632","1416813626","1416813634","1416813628"],"photo_ids_order":["1416813624","1416813626","1416813628","1416813630","1416813632","1416813634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/496b9c06458e1142b7d2ceb88bdc3698.jpg","text":"TemporaryFile(/tmp/multipartBody618453063756419411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_24_36_30502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4fb31e9378dc777efc5790d1896d407f.jpg","text":"TemporaryFile(/tmp/multipartBody588088406340411321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_28_05_30342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa5af7f7a94f91b007bfc9de632984c3.jpg","text":"TemporaryFile(/tmp/multipartBody8965364713079491557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_22_35_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c098c117ab94e18f801b8d7e1937518.jpg","text":"TemporaryFile(/tmp/multipartBody5188860026980320130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_26_35_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3e90acf58cb8749fa80164802958f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8178103894107004891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_22_06_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12da60bd55c130ccfb5f0441c73d7523.jpg","text":"TemporaryFile(/tmp/multipartBody6430501833112819865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475785262,"filename":"image_06052026_21_25_36_30460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813628","file1":"1416813626","file0":"1416813624","file4":"1416813632","file5":"1416813634","file3":"1416813630"},"map_files_photo_id_array":[{"photo_id":"1416813634","filename":"file5"},{"photo_id":"1416813628","filename":"file2"},{"photo_id":"1416813632","filename":"file4"},{"photo_id":"1416813626","filename":"file1"},{"photo_id":"1416813624","filename":"file0"},{"photo_id":"1416813630","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813630":["hashtag1","hashtag2"]},{"1416813624":["hashtag1","hashtag2"]},{"1416813632":["hashtag1","hashtag2"]},{"1416813626":["hashtag1","hashtag2"]},{"1416813634":["hashtag1","hashtag2"]},{"1416813628":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813630, 1416813624, 1416813632, 1416813626, 1416813634, 1416813628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93676400184631 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:03:03.277632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/21/image_06052026_21_21_35_30377.jpg', '/home/pi/Desktop/images/06052026/21/20/image_06052026_21_21_05_29305.jpg', '/home/pi/Desktop/images/06052026/21/20/image_06052026_21_20_36_30330.jpg', '/home/pi/Desktop/images/06052026/21/19/image_06052026_21_19_35_29326.jpg', '/home/pi/Desktop/images/06052026/21/18/image_06052026_21_19_06_30393.jpg', '/home/pi/Desktop/images/06052026/21/18/image_06052026_21_18_35_29403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/21/image_06052026_21_21_35_30377.jpg
/home/pi/Desktop/images/06052026/21/20/image_06052026_21_21_05_29305.jpg
/home/pi/Desktop/images/06052026/21/20/image_06052026_21_20_36_30330.jpg
/home/pi/Desktop/images/06052026/21/19/image_06052026_21_19_35_29326.jpg
/home/pi/Desktop/images/06052026/21/18/image_06052026_21_19_06_30393.jpg
/home/pi/Desktop/images/06052026/21/18/image_06052026_21_18_35_29403.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813645","1416813642","1416813636","1416813638","1416813646","1416813640"],"photo_ids_order":["1416813636","1416813638","1416813640","1416813642","1416813645","1416813646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44e8e7fd5a4db7a11d3a996b02af53d0.jpg","text":"TemporaryFile(/tmp/multipartBody2396903706976691666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_19_06_30393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a00a3273652e760d5a4bebb4cc7f56e1.jpg","text":"TemporaryFile(/tmp/multipartBody7409583070424058688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_19_35_29326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a300ff36f8475484d2564ac9b7a7859e.jpg","text":"TemporaryFile(/tmp/multipartBody8466096649640256015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_21_35_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f8bd0b7c9b45012c87abde2ab92819d.jpg","text":"TemporaryFile(/tmp/multipartBody6488610137133727809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_21_05_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c186b5a42100ed17dbfc4eb5c242430b.jpg","text":"TemporaryFile(/tmp/multipartBody4796998907358735676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_18_35_29403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e123d7f0816f24e10aa5a97d8fb616ac.jpg","text":"TemporaryFile(/tmp/multipartBody8024952353493118407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475845308,"filename":"image_06052026_21_20_36_30330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813640","file1":"1416813638","file0":"1416813636","file4":"1416813645","file5":"1416813646","file3":"1416813642"},"map_files_photo_id_array":[{"photo_id":"1416813646","filename":"file5"},{"photo_id":"1416813640","filename":"file2"},{"photo_id":"1416813645","filename":"file4"},{"photo_id":"1416813638","filename":"file1"},{"photo_id":"1416813636","filename":"file0"},{"photo_id":"1416813642","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813645":["hashtag1","hashtag2"]},{"1416813642":["hashtag1","hashtag2"]},{"1416813636":["hashtag1","hashtag2"]},{"1416813638":["hashtag1","hashtag2"]},{"1416813646":["hashtag1","hashtag2"]},{"1416813640":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813645, 1416813642, 1416813636, 1416813638, 1416813646, 1416813640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.691503047943115 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:04:03.234197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/57/image_11052026_06_57_44_30288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/57/image_11052026_06_57_44_30288.jpg
2026-05-11 07:04:03.626942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/06/57/image_11052026_06_57_44_30288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/06/57/image_11052026_06_57_44_30288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813648"],"photo_id":"1416813648","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19d3699987c645a845d8556b23a9e13f.jpg","text":"TemporaryFile(/tmp/multipartBody5087866148548062577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475904375,"filename":"image_11052026_06_57_44_30288.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813648"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813648"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813649"],"photo_id":"1416813649","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ab18f0773c0babd1f1cb682c582d686.jpg","text":"TemporaryFile(/tmp/multipartBody8568016857891234142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475904572,"filename":"image_11052026_06_57_44_30288.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416813649"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416813649"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.489550828933716 secondes ---
uploaded 1 photos
time to upload: 16.178521156311035 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:05:03.839472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/17/image_06052026_21_18_06_30313.jpg', '/home/pi/Desktop/images/06052026/21/17/image_06052026_21_17_35_30465.jpg', '/home/pi/Desktop/images/06052026/21/16/image_06052026_21_17_05_29306.jpg', '/home/pi/Desktop/images/06052026/21/16/image_06052026_21_16_36_30476.jpg', '/home/pi/Desktop/images/06052026/21/15/image_06052026_21_16_05_30386.jpg', '/home/pi/Desktop/images/06052026/21/14/image_06052026_21_15_05_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/17/image_06052026_21_18_06_30313.jpg
/home/pi/Desktop/images/06052026/21/17/image_06052026_21_17_35_30465.jpg
/home/pi/Desktop/images/06052026/21/16/image_06052026_21_17_05_29306.jpg
/home/pi/Desktop/images/06052026/21/16/image_06052026_21_16_36_30476.jpg
/home/pi/Desktop/images/06052026/21/15/image_06052026_21_16_05_30386.jpg
/home/pi/Desktop/images/06052026/21/14/image_06052026_21_15_05_30319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813663","1416813672","1416813666","1416813668","1416813670","1416813661"],"photo_ids_order":["1416813661","1416813663","1416813666","1416813668","1416813670","1416813672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9d3c16a6aaf9fc6c7fd377faf430d50.jpg","text":"TemporaryFile(/tmp/multipartBody678302808712831176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_17_35_30465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc4b18dc2c851617b3299caf6f1bec33.jpg","text":"TemporaryFile(/tmp/multipartBody5258882213337322832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_15_05_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92989b2ffe60e22fa8933c965196005e.jpg","text":"TemporaryFile(/tmp/multipartBody6444167160574748793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_17_05_29306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c15451d7123beeca01a8dd6accaa8ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5875299881781406116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_16_36_30476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/477e4c30cc9dab116f473a2af2bc2124.jpg","text":"TemporaryFile(/tmp/multipartBody6491619273741990816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_16_05_30386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8cb50214f02d51f5e4444439f165d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4030559137538975368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778475965990,"filename":"image_06052026_21_18_06_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813666","file1":"1416813663","file0":"1416813661","file4":"1416813670","file5":"1416813672","file3":"1416813668"},"map_files_photo_id_array":[{"photo_id":"1416813672","filename":"file5"},{"photo_id":"1416813666","filename":"file2"},{"photo_id":"1416813670","filename":"file4"},{"photo_id":"1416813663","filename":"file1"},{"photo_id":"1416813661","filename":"file0"},{"photo_id":"1416813668","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813663":["hashtag1","hashtag2"]},{"1416813672":["hashtag1","hashtag2"]},{"1416813666":["hashtag1","hashtag2"]},{"1416813668":["hashtag1","hashtag2"]},{"1416813670":["hashtag1","hashtag2"]},{"1416813661":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813663, 1416813672, 1416813666, 1416813668, 1416813670, 1416813661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37360453605652 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:06:03.315877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/14/image_06052026_21_14_35_30317.jpg', '/home/pi/Desktop/images/06052026/21/13/image_06052026_21_14_05_29255.jpg', '/home/pi/Desktop/images/06052026/21/13/image_06052026_21_13_36_30429.jpg', '/home/pi/Desktop/images/06052026/21/12/image_06052026_21_13_05_30245.jpg', '/home/pi/Desktop/images/06052026/21/12/image_06052026_21_12_35_29320.jpg', '/home/pi/Desktop/images/06052026/21/10/image_06052026_21_10_36_30426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/14/image_06052026_21_14_35_30317.jpg
/home/pi/Desktop/images/06052026/21/13/image_06052026_21_14_05_29255.jpg
/home/pi/Desktop/images/06052026/21/13/image_06052026_21_13_36_30429.jpg
/home/pi/Desktop/images/06052026/21/12/image_06052026_21_13_05_30245.jpg
/home/pi/Desktop/images/06052026/21/12/image_06052026_21_12_35_29320.jpg
/home/pi/Desktop/images/06052026/21/10/image_06052026_21_10_36_30426.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813837","1416813900","1416813839","1416813898","1416813841","1416813894"],"photo_ids_order":["1416813837","1416813839","1416813841","1416813894","1416813898","1416813900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29b6b84f34461633795e66c51bf4345e.jpg","text":"TemporaryFile(/tmp/multipartBody4303511036792911425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_14_35_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0944ba44746d1f42d4e1e58248594d0.jpg","text":"TemporaryFile(/tmp/multipartBody7010518914585072819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_10_36_30426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0b12c0dd07b92a47be869d28d2f9988.jpg","text":"TemporaryFile(/tmp/multipartBody5657899254337984174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_14_05_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a054ae96544604028a6cfbf7aa7c97d2.jpg","text":"TemporaryFile(/tmp/multipartBody7845712990478784835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_12_35_29320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a27e6f6709f7d37c739aeabbc77deb0.jpg","text":"TemporaryFile(/tmp/multipartBody7185695114559411309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_13_36_30429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a8a222b09349b6e6a763cb0f93cc244.jpg","text":"TemporaryFile(/tmp/multipartBody7193044602044773848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476025482,"filename":"image_06052026_21_13_05_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813841","file1":"1416813839","file0":"1416813837","file4":"1416813898","file5":"1416813900","file3":"1416813894"},"map_files_photo_id_array":[{"photo_id":"1416813900","filename":"file5"},{"photo_id":"1416813841","filename":"file2"},{"photo_id":"1416813898","filename":"file4"},{"photo_id":"1416813839","filename":"file1"},{"photo_id":"1416813837","filename":"file0"},{"photo_id":"1416813894","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813837":["hashtag1","hashtag2"]},{"1416813900":["hashtag1","hashtag2"]},{"1416813839":["hashtag1","hashtag2"]},{"1416813898":["hashtag1","hashtag2"]},{"1416813841":["hashtag1","hashtag2"]},{"1416813894":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813837, 1416813900, 1416813839, 1416813898, 1416813841, 1416813894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07439684867859 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:07:03.748417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/21/09/image_06052026_21_10_05_30435.jpg', '/home/pi/Desktop/images/06052026/21/06/image_06052026_21_06_35_29298.jpg', '/home/pi/Desktop/images/06052026/21/04/image_06052026_21_04_36_30385.jpg', '/home/pi/Desktop/images/06052026/21/03/image_06052026_21_03_35_29293.jpg', '/home/pi/Desktop/images/06052026/21/01/image_06052026_21_01_36_30402.jpg', '/home/pi/Desktop/images/06052026/21/00/image_06052026_21_00_35_29164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/21/09/image_06052026_21_10_05_30435.jpg
/home/pi/Desktop/images/06052026/21/06/image_06052026_21_06_35_29298.jpg
/home/pi/Desktop/images/06052026/21/04/image_06052026_21_04_36_30385.jpg
/home/pi/Desktop/images/06052026/21/03/image_06052026_21_03_35_29293.jpg
/home/pi/Desktop/images/06052026/21/01/image_06052026_21_01_36_30402.jpg
/home/pi/Desktop/images/06052026/21/00/image_06052026_21_00_35_29164.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813903","1416813906","1416813902","1416813905","1416813901","1416813904"],"photo_ids_order":["1416813901","1416813902","1416813903","1416813904","1416813905","1416813906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c28023d1ee7d12d0081dbdc205c03cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3259472187655625081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_04_36_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cfeb96e6003c48fd5b13b065043f1f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7194324118364058020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_00_35_29164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f6d97057f0c18e7046acff9090faa02.jpg","text":"TemporaryFile(/tmp/multipartBody8232754961846081996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_06_35_29298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d2cbfc58a0d95a2f7f9df418b098250.jpg","text":"TemporaryFile(/tmp/multipartBody6819933863611771160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_01_36_30402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f525916bf06f8c2a47d4d78eeea62702.jpg","text":"TemporaryFile(/tmp/multipartBody4454380382487986176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_10_05_30435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ebb99a7a7f62bf63e824011e8b488b9.jpg","text":"TemporaryFile(/tmp/multipartBody8839406852481104047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476085677,"filename":"image_06052026_21_03_35_29293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813903","file1":"1416813902","file0":"1416813901","file4":"1416813905","file5":"1416813906","file3":"1416813904"},"map_files_photo_id_array":[{"photo_id":"1416813906","filename":"file5"},{"photo_id":"1416813903","filename":"file2"},{"photo_id":"1416813905","filename":"file4"},{"photo_id":"1416813902","filename":"file1"},{"photo_id":"1416813901","filename":"file0"},{"photo_id":"1416813904","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813903":["hashtag1","hashtag2"]},{"1416813906":["hashtag1","hashtag2"]},{"1416813902":["hashtag1","hashtag2"]},{"1416813905":["hashtag1","hashtag2"]},{"1416813901":["hashtag1","hashtag2"]},{"1416813904":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813903, 1416813906, 1416813902, 1416813905, 1416813901, 1416813904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80482769012451 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:08:03.104306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/57/image_06052026_20_57_35_29259.jpg', '/home/pi/Desktop/images/06052026/20/55/image_06052026_20_55_36_30247.jpg', '/home/pi/Desktop/images/06052026/20/54/image_06052026_20_55_05_30281.jpg', '/home/pi/Desktop/images/06052026/20/54/image_06052026_20_54_35_30306.jpg', '/home/pi/Desktop/images/06052026/20/53/image_06052026_20_54_05_29377.jpg', '/home/pi/Desktop/images/06052026/20/52/image_06052026_20_53_05_30355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/57/image_06052026_20_57_35_29259.jpg
/home/pi/Desktop/images/06052026/20/55/image_06052026_20_55_36_30247.jpg
/home/pi/Desktop/images/06052026/20/54/image_06052026_20_55_05_30281.jpg
/home/pi/Desktop/images/06052026/20/54/image_06052026_20_54_35_30306.jpg
/home/pi/Desktop/images/06052026/20/53/image_06052026_20_54_05_29377.jpg
/home/pi/Desktop/images/06052026/20/52/image_06052026_20_53_05_30355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813912","1416813909","1416813911","1416813908","1416813907","1416813910"],"photo_ids_order":["1416813907","1416813908","1416813909","1416813910","1416813911","1416813912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6d178e510e63f3757779db843bcb3f7.jpg","text":"TemporaryFile(/tmp/multipartBody6675419472750457553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_53_05_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6751871969e258edc9dc7c5554ef5be1.jpg","text":"TemporaryFile(/tmp/multipartBody573066604904579960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_55_05_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5cf59af231a393aef46499ae95f3f793.jpg","text":"TemporaryFile(/tmp/multipartBody4824410761411799420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_54_05_29377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba8b070a39572346869c3c2c66682c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3618390462820734912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_55_36_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14d600deb7c3354f16ee7e7f28e85083.jpg","text":"TemporaryFile(/tmp/multipartBody8063189274987476548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_57_35_29259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/763b786272a18e19be9fe3ed9c18fa10.jpg","text":"TemporaryFile(/tmp/multipartBody573972958620482244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476145265,"filename":"image_06052026_20_54_35_30306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813909","file1":"1416813908","file0":"1416813907","file4":"1416813911","file5":"1416813912","file3":"1416813910"},"map_files_photo_id_array":[{"photo_id":"1416813912","filename":"file5"},{"photo_id":"1416813909","filename":"file2"},{"photo_id":"1416813911","filename":"file4"},{"photo_id":"1416813908","filename":"file1"},{"photo_id":"1416813907","filename":"file0"},{"photo_id":"1416813910","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813912":["hashtag1","hashtag2"]},{"1416813909":["hashtag1","hashtag2"]},{"1416813911":["hashtag1","hashtag2"]},{"1416813908":["hashtag1","hashtag2"]},{"1416813907":["hashtag1","hashtag2"]},{"1416813910":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813912, 1416813909, 1416813911, 1416813908, 1416813907, 1416813910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26848292350769 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:09:03.961318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/52/image_06052026_20_52_35_29284.jpg', '/home/pi/Desktop/images/06052026/20/51/image_06052026_20_51_35_30337.jpg', '/home/pi/Desktop/images/06052026/20/50/image_06052026_20_51_05_29247.jpg', '/home/pi/Desktop/images/06052026/20/50/image_06052026_20_50_36_30254.jpg', '/home/pi/Desktop/images/06052026/20/49/image_06052026_20_50_05_30326.jpg', '/home/pi/Desktop/images/06052026/20/49/image_06052026_20_49_35_29248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/52/image_06052026_20_52_35_29284.jpg
/home/pi/Desktop/images/06052026/20/51/image_06052026_20_51_35_30337.jpg
/home/pi/Desktop/images/06052026/20/50/image_06052026_20_51_05_29247.jpg
/home/pi/Desktop/images/06052026/20/50/image_06052026_20_50_36_30254.jpg
/home/pi/Desktop/images/06052026/20/49/image_06052026_20_50_05_30326.jpg
/home/pi/Desktop/images/06052026/20/49/image_06052026_20_49_35_29248.jpg
2026-05-11 07:09:04.232065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/07/image_06052026_16_07_36_30358.jpg', '/home/pi/Desktop/images/06052026/16/07/image_06052026_16_08_05_29281.jpg', '/home/pi/Desktop/images/06052026/16/08/image_06052026_16_08_35_30299.jpg', '/home/pi/Desktop/images/06052026/16/08/image_06052026_16_09_05_30262.jpg', '/home/pi/Desktop/images/06052026/16/09/image_06052026_16_09_35_29325.jpg', '/home/pi/Desktop/images/06052026/16/09/image_06052026_16_10_05_30241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/07/image_06052026_16_07_36_30358.jpg
/home/pi/Desktop/images/06052026/16/07/image_06052026_16_08_05_29281.jpg
/home/pi/Desktop/images/06052026/16/08/image_06052026_16_08_35_30299.jpg
/home/pi/Desktop/images/06052026/16/08/image_06052026_16_09_05_30262.jpg
/home/pi/Desktop/images/06052026/16/09/image_06052026_16_09_35_29325.jpg
/home/pi/Desktop/images/06052026/16/09/image_06052026_16_10_05_30241.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.590869665145874 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813914","1416813925","1416813919","1416813928","1416813922","1416813916"],"photo_ids_order":["1416813914","1416813916","1416813919","1416813922","1416813925","1416813928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb38f621c364efb7690b415411446e03.jpg","text":"TemporaryFile(/tmp/multipartBody4116297628454843422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_52_35_29284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1cbcc2d4f143001fd64eedda7197d94.jpg","text":"TemporaryFile(/tmp/multipartBody4395211387787697731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_50_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0b0a07ffe3a20cae057fbf6c71fefe6.jpg","text":"TemporaryFile(/tmp/multipartBody2722655895039386318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_51_05_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a67792704d102cdabf0338ff256a53d8.jpg","text":"TemporaryFile(/tmp/multipartBody8774986091254095719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_49_35_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/110f58d5fba2101c025692e605d23683.jpg","text":"TemporaryFile(/tmp/multipartBody7648483349786260585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_50_36_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81bd1dc88c886b78a8044f57b6c583f2.jpg","text":"TemporaryFile(/tmp/multipartBody252683292636698464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476206125,"filename":"image_06052026_20_51_35_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813919","file1":"1416813916","file0":"1416813914","file4":"1416813925","file5":"1416813928","file3":"1416813922"},"map_files_photo_id_array":[{"photo_id":"1416813928","filename":"file5"},{"photo_id":"1416813919","filename":"file2"},{"photo_id":"1416813925","filename":"file4"},{"photo_id":"1416813916","filename":"file1"},{"photo_id":"1416813914","filename":"file0"},{"photo_id":"1416813922","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813914":["hashtag1","hashtag2"]},{"1416813925":["hashtag1","hashtag2"]},{"1416813919":["hashtag1","hashtag2"]},{"1416813928":["hashtag1","hashtag2"]},{"1416813922":["hashtag1","hashtag2"]},{"1416813916":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813914, 1416813925, 1416813919, 1416813928, 1416813922, 1416813916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47791886329651 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:10:02.648163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/48/image_06052026_20_49_06_30293.jpg', '/home/pi/Desktop/images/06052026/20/48/image_06052026_20_48_36_30296.jpg', '/home/pi/Desktop/images/06052026/20/47/image_06052026_20_48_05_30276.jpg', '/home/pi/Desktop/images/06052026/20/47/image_06052026_20_47_35_29262.jpg', '/home/pi/Desktop/images/06052026/20/46/image_06052026_20_47_06_30241.jpg', '/home/pi/Desktop/images/06052026/20/46/image_06052026_20_46_35_30247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/48/image_06052026_20_49_06_30293.jpg
/home/pi/Desktop/images/06052026/20/48/image_06052026_20_48_36_30296.jpg
/home/pi/Desktop/images/06052026/20/47/image_06052026_20_48_05_30276.jpg
/home/pi/Desktop/images/06052026/20/47/image_06052026_20_47_35_29262.jpg
/home/pi/Desktop/images/06052026/20/46/image_06052026_20_47_06_30241.jpg
/home/pi/Desktop/images/06052026/20/46/image_06052026_20_46_35_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813939","1416813933","1416813941","1416813935","1416813937","1416813931"],"photo_ids_order":["1416813931","1416813933","1416813935","1416813937","1416813939","1416813941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7cdd733988050670927e1b4f9defdf1c.jpg","text":"TemporaryFile(/tmp/multipartBody5598048746114461463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_47_06_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3eed12207cb60a0210b68f43a0744691.jpg","text":"TemporaryFile(/tmp/multipartBody3782098772084772660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_48_36_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95bc978f44463b60a5718e93cc417d81.jpg","text":"TemporaryFile(/tmp/multipartBody2118254500375241378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_46_35_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f269a26a514224dcba84cee80dde2965.jpg","text":"TemporaryFile(/tmp/multipartBody4437634209830717799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_48_05_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31bf33b1b5d27da41841ead6cc1568b3.jpg","text":"TemporaryFile(/tmp/multipartBody6370604416373230261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_47_35_29262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1614f119ac20eafa50b89175cdf0a80f.jpg","text":"TemporaryFile(/tmp/multipartBody516723940683609638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476264469,"filename":"image_06052026_20_49_06_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813935","file1":"1416813933","file0":"1416813931","file4":"1416813939","file5":"1416813941","file3":"1416813937"},"map_files_photo_id_array":[{"photo_id":"1416813941","filename":"file5"},{"photo_id":"1416813935","filename":"file2"},{"photo_id":"1416813939","filename":"file4"},{"photo_id":"1416813933","filename":"file1"},{"photo_id":"1416813931","filename":"file0"},{"photo_id":"1416813937","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813939":["hashtag1","hashtag2"]},{"1416813933":["hashtag1","hashtag2"]},{"1416813941":["hashtag1","hashtag2"]},{"1416813935":["hashtag1","hashtag2"]},{"1416813937":["hashtag1","hashtag2"]},{"1416813931":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813939, 1416813933, 1416813941, 1416813935, 1416813937, 1416813931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01150679588318 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:11:04.158116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/45/image_06052026_20_45_35_29372.jpg', '/home/pi/Desktop/images/06052026/20/44/image_06052026_20_45_06_30358.jpg', '/home/pi/Desktop/images/06052026/20/44/image_06052026_20_44_35_30298.jpg', '/home/pi/Desktop/images/06052026/20/43/image_06052026_20_44_05_29313.jpg', '/home/pi/Desktop/images/06052026/20/43/image_06052026_20_43_36_30431.jpg', '/home/pi/Desktop/images/06052026/20/42/image_06052026_20_43_05_29294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/45/image_06052026_20_45_35_29372.jpg
/home/pi/Desktop/images/06052026/20/44/image_06052026_20_45_06_30358.jpg
/home/pi/Desktop/images/06052026/20/44/image_06052026_20_44_35_30298.jpg
/home/pi/Desktop/images/06052026/20/43/image_06052026_20_44_05_29313.jpg
/home/pi/Desktop/images/06052026/20/43/image_06052026_20_43_36_30431.jpg
/home/pi/Desktop/images/06052026/20/42/image_06052026_20_43_05_29294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813957","1416813955","1416813943","1416813952","1416813946","1416813949"],"photo_ids_order":["1416813943","1416813946","1416813949","1416813952","1416813955","1416813957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a6c014e4af961e3b2fe765c0fb75be9.jpg","text":"TemporaryFile(/tmp/multipartBody6843107508687229151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_43_05_29294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0825e5b8275005743126e7a23c5baf42.jpg","text":"TemporaryFile(/tmp/multipartBody3031017767898952082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_43_36_30431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb991c0959d4508c0bb9cacbb1b96033.jpg","text":"TemporaryFile(/tmp/multipartBody8586832284866847785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_45_35_29372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/941092161fabde752213d7df70955149.jpg","text":"TemporaryFile(/tmp/multipartBody2155250240408438754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_44_05_29313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dcee67b3e8e9659a54f68e558ea52815.jpg","text":"TemporaryFile(/tmp/multipartBody3251561982491091649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_45_06_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ec0e20db4450de3a6836ef9411c2886.jpg","text":"TemporaryFile(/tmp/multipartBody7648791134300778789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476326126,"filename":"image_06052026_20_44_35_30298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813949","file1":"1416813946","file0":"1416813943","file4":"1416813955","file5":"1416813957","file3":"1416813952"},"map_files_photo_id_array":[{"photo_id":"1416813957","filename":"file5"},{"photo_id":"1416813949","filename":"file2"},{"photo_id":"1416813955","filename":"file4"},{"photo_id":"1416813946","filename":"file1"},{"photo_id":"1416813943","filename":"file0"},{"photo_id":"1416813952","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813957":["hashtag1","hashtag2"]},{"1416813955":["hashtag1","hashtag2"]},{"1416813943":["hashtag1","hashtag2"]},{"1416813952":["hashtag1","hashtag2"]},{"1416813946":["hashtag1","hashtag2"]},{"1416813949":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813957, 1416813955, 1416813943, 1416813952, 1416813946, 1416813949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.370458126068115 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:12:03.645914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/42/image_06052026_20_42_36_30379.jpg', '/home/pi/Desktop/images/06052026/20/41/image_06052026_20_42_05_30277.jpg', '/home/pi/Desktop/images/06052026/20/41/image_06052026_20_41_35_30290.jpg', '/home/pi/Desktop/images/06052026/20/40/image_06052026_20_40_36_30352.jpg', '/home/pi/Desktop/images/06052026/20/39/image_06052026_20_40_05_30282.jpg', '/home/pi/Desktop/images/06052026/20/39/image_06052026_20_39_35_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/42/image_06052026_20_42_36_30379.jpg
/home/pi/Desktop/images/06052026/20/41/image_06052026_20_42_05_30277.jpg
/home/pi/Desktop/images/06052026/20/41/image_06052026_20_41_35_30290.jpg
/home/pi/Desktop/images/06052026/20/40/image_06052026_20_40_36_30352.jpg
/home/pi/Desktop/images/06052026/20/39/image_06052026_20_40_05_30282.jpg
/home/pi/Desktop/images/06052026/20/39/image_06052026_20_39_35_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813969","1416813963","1416813965","1416813961","1416813970","1416813967"],"photo_ids_order":["1416813961","1416813963","1416813965","1416813967","1416813969","1416813970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e55d34650f19f8b7e98400ae2d09ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1271828330127505777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_40_05_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86b0224a3113a238437f8a931330958d.jpg","text":"TemporaryFile(/tmp/multipartBody7230496370440732725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_42_05_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f09c85cb01558b067a787ac15af01f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3558114323925651571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_41_35_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14df1e39c92603cb841458beb9569d41.jpg","text":"TemporaryFile(/tmp/multipartBody4804352719713836140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_42_36_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8278efb7af41c009f45a440a5fcbb98c.jpg","text":"TemporaryFile(/tmp/multipartBody676713172827817742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_39_35_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7e2748f2fdf08aadc39e5968b2b2542.jpg","text":"TemporaryFile(/tmp/multipartBody1519251421601508775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476385553,"filename":"image_06052026_20_40_36_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813965","file1":"1416813963","file0":"1416813961","file4":"1416813969","file5":"1416813970","file3":"1416813967"},"map_files_photo_id_array":[{"photo_id":"1416813970","filename":"file5"},{"photo_id":"1416813965","filename":"file2"},{"photo_id":"1416813969","filename":"file4"},{"photo_id":"1416813963","filename":"file1"},{"photo_id":"1416813961","filename":"file0"},{"photo_id":"1416813967","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813969":["hashtag1","hashtag2"]},{"1416813963":["hashtag1","hashtag2"]},{"1416813965":["hashtag1","hashtag2"]},{"1416813961":["hashtag1","hashtag2"]},{"1416813970":["hashtag1","hashtag2"]},{"1416813967":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813969, 1416813963, 1416813965, 1416813961, 1416813970, 1416813967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.487369775772095 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:13:03.779826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/38/image_06052026_20_38_36_30306.jpg', '/home/pi/Desktop/images/06052026/20/35/image_06052026_20_36_05_30301.jpg', '/home/pi/Desktop/images/06052026/20/34/image_06052026_20_35_06_30319.jpg', '/home/pi/Desktop/images/06052026/20/32/image_06052026_20_33_05_30352.jpg', '/home/pi/Desktop/images/06052026/20/31/image_06052026_20_32_05_29326.jpg', '/home/pi/Desktop/images/06052026/20/31/image_06052026_20_31_36_30328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/38/image_06052026_20_38_36_30306.jpg
/home/pi/Desktop/images/06052026/20/35/image_06052026_20_36_05_30301.jpg
/home/pi/Desktop/images/06052026/20/34/image_06052026_20_35_06_30319.jpg
/home/pi/Desktop/images/06052026/20/32/image_06052026_20_33_05_30352.jpg
/home/pi/Desktop/images/06052026/20/31/image_06052026_20_32_05_29326.jpg
/home/pi/Desktop/images/06052026/20/31/image_06052026_20_31_36_30328.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813981","1416813975","1416813983","1416813977","1416813973","1416813979"],"photo_ids_order":["1416813973","1416813975","1416813977","1416813979","1416813981","1416813983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9dffae8af13853d0c59563595f22da28.jpg","text":"TemporaryFile(/tmp/multipartBody8942063815555092901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_32_05_29326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b87a5e14f2a0e2eadb55a6d4f77dabb.jpg","text":"TemporaryFile(/tmp/multipartBody3529205431283603996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_36_05_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff77f9419fd2e8e36f68f5bf6756e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4740269184175278345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_31_36_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4fb81dbf2c50cae397ccb1bfec4bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody2906490108756966569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_35_06_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5841eccf77a9d3bcc2534ce059307530.jpg","text":"TemporaryFile(/tmp/multipartBody1508831885081601297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_38_36_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21555b26cccff0668f49ccf28763c063.jpg","text":"TemporaryFile(/tmp/multipartBody5197120868865064948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476445859,"filename":"image_06052026_20_33_05_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813977","file1":"1416813975","file0":"1416813973","file4":"1416813981","file5":"1416813983","file3":"1416813979"},"map_files_photo_id_array":[{"photo_id":"1416813983","filename":"file5"},{"photo_id":"1416813977","filename":"file2"},{"photo_id":"1416813981","filename":"file4"},{"photo_id":"1416813975","filename":"file1"},{"photo_id":"1416813973","filename":"file0"},{"photo_id":"1416813979","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813981":["hashtag1","hashtag2"]},{"1416813975":["hashtag1","hashtag2"]},{"1416813983":["hashtag1","hashtag2"]},{"1416813977":["hashtag1","hashtag2"]},{"1416813973":["hashtag1","hashtag2"]},{"1416813979":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813981, 1416813975, 1416813983, 1416813977, 1416813973, 1416813979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9114716053009 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:14:03.729108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/07/image_06052026_16_07_36_30358.jpg', '/home/pi/Desktop/images/06052026/16/07/image_06052026_16_08_05_29281.jpg', '/home/pi/Desktop/images/06052026/16/08/image_06052026_16_08_35_30299.jpg', '/home/pi/Desktop/images/06052026/16/08/image_06052026_16_09_05_30262.jpg', '/home/pi/Desktop/images/06052026/16/09/image_06052026_16_09_35_29325.jpg', '/home/pi/Desktop/images/06052026/16/09/image_06052026_16_10_05_30241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/07/image_06052026_16_07_36_30358.jpg
/home/pi/Desktop/images/06052026/16/07/image_06052026_16_08_05_29281.jpg
/home/pi/Desktop/images/06052026/16/08/image_06052026_16_08_35_30299.jpg
/home/pi/Desktop/images/06052026/16/08/image_06052026_16_09_05_30262.jpg
/home/pi/Desktop/images/06052026/16/09/image_06052026_16_09_35_29325.jpg
/home/pi/Desktop/images/06052026/16/09/image_06052026_16_10_05_30241.jpg
2026-05-11 07:14:03.804337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/30/image_06052026_20_30_35_29288.jpg', '/home/pi/Desktop/images/06052026/20/29/image_06052026_20_30_05_30427.jpg', '/home/pi/Desktop/images/06052026/20/25/image_06052026_20_26_05_29225.jpg', '/home/pi/Desktop/images/06052026/20/25/image_06052026_20_25_36_30422.jpg', '/home/pi/Desktop/images/06052026/20/24/image_06052026_20_25_05_30284.jpg', '/home/pi/Desktop/images/06052026/20/23/image_06052026_20_24_06_30339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/30/image_06052026_20_30_35_29288.jpg
/home/pi/Desktop/images/06052026/20/29/image_06052026_20_30_05_30427.jpg
/home/pi/Desktop/images/06052026/20/25/image_06052026_20_26_05_29225.jpg
/home/pi/Desktop/images/06052026/20/25/image_06052026_20_25_36_30422.jpg
/home/pi/Desktop/images/06052026/20/24/image_06052026_20_25_05_30284.jpg
/home/pi/Desktop/images/06052026/20/23/image_06052026_20_24_06_30339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416813996","1416813989","1416813986","1416814001","1416813999","1416813993"],"photo_ids_order":["1416813986","1416813989","1416813993","1416813996","1416813999","1416814001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9adad6dbc3ea6f3249feeab9b4bfb34f.jpg","text":"TemporaryFile(/tmp/multipartBody6862548695786578556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_09_05_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8b04887da0b13882cb0384f149ecbbc.jpg","text":"TemporaryFile(/tmp/multipartBody411978345413229169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_08_05_29281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc1ed9dc804e38fcf2a29f461cafc82b.jpg","text":"TemporaryFile(/tmp/multipartBody4570547669690618616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_07_36_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f539701af1de678076534cf900b538b.jpg","text":"TemporaryFile(/tmp/multipartBody7212455306212220990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_10_05_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2468cb220786968e176ad66311c68ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3921460612630198963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_09_35_29325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3efe4fd90368e3a52d628d35a65abae4.jpg","text":"TemporaryFile(/tmp/multipartBody8053494102725815378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506717,"filename":"image_06052026_16_08_35_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813993","file1":"1416813989","file0":"1416813986","file4":"1416813999","file5":"1416814001","file3":"1416813996"},"map_files_photo_id_array":[{"photo_id":"1416814001","filename":"file5"},{"photo_id":"1416813993","filename":"file2"},{"photo_id":"1416813999","filename":"file4"},{"photo_id":"1416813989","filename":"file1"},{"photo_id":"1416813986","filename":"file0"},{"photo_id":"1416813996","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416813996":["hashtag1","hashtag2"]},{"1416813989":["hashtag1","hashtag2"]},{"1416813986":["hashtag1","hashtag2"]},{"1416814001":["hashtag1","hashtag2"]},{"1416813999":["hashtag1","hashtag2"]},{"1416813993":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416813996, 1416813989, 1416813986, 1416814001, 1416813999, 1416813993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86940097808838 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814002","1416813994","1416813988","1416813997","1416813985","1416814000"],"photo_ids_order":["1416813985","1416813988","1416813994","1416813997","1416814000","1416814002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9ca75936d55aa18a9509af85b72e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody5138796698927610159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_24_06_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bbb1ac486ca8d42487d58944827c4f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2683275912034902988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_26_05_29225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8af9045956c58b5f10278fe470382fb.jpg","text":"TemporaryFile(/tmp/multipartBody4747954308639607248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_30_05_30427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f898e01b189ed05bb7a1058391eb647.jpg","text":"TemporaryFile(/tmp/multipartBody6354886619650252963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_25_36_30422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9fcbd77ad28a38e07b20d2461a27a8be.jpg","text":"TemporaryFile(/tmp/multipartBody8683359936666213198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_30_35_29288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0e8d106546282c29821ba7b298dc9db.jpg","text":"TemporaryFile(/tmp/multipartBody63812972428752008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476506662,"filename":"image_06052026_20_25_05_30284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416813994","file1":"1416813988","file0":"1416813985","file4":"1416814000","file5":"1416814002","file3":"1416813997"},"map_files_photo_id_array":[{"photo_id":"1416814002","filename":"file5"},{"photo_id":"1416813994","filename":"file2"},{"photo_id":"1416814000","filename":"file4"},{"photo_id":"1416813988","filename":"file1"},{"photo_id":"1416813985","filename":"file0"},{"photo_id":"1416813997","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814002":["hashtag1","hashtag2"]},{"1416813994":["hashtag1","hashtag2"]},{"1416813988":["hashtag1","hashtag2"]},{"1416813997":["hashtag1","hashtag2"]},{"1416813985":["hashtag1","hashtag2"]},{"1416814000":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814002, 1416813994, 1416813988, 1416813997, 1416813985, 1416814000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6314160823822 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:15:03.868549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/23/image_06052026_20_23_35_30277.jpg', '/home/pi/Desktop/images/06052026/20/22/image_06052026_20_23_05_30290.jpg', '/home/pi/Desktop/images/06052026/20/22/image_06052026_20_22_35_29217.jpg', '/home/pi/Desktop/images/06052026/20/13/image_06052026_20_13_35_30245.jpg', '/home/pi/Desktop/images/06052026/20/08/image_06052026_20_09_05_30299.jpg', '/home/pi/Desktop/images/06052026/20/07/image_06052026_20_07_35_30391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/23/image_06052026_20_23_35_30277.jpg
/home/pi/Desktop/images/06052026/20/22/image_06052026_20_23_05_30290.jpg
/home/pi/Desktop/images/06052026/20/22/image_06052026_20_22_35_29217.jpg
/home/pi/Desktop/images/06052026/20/13/image_06052026_20_13_35_30245.jpg
/home/pi/Desktop/images/06052026/20/08/image_06052026_20_09_05_30299.jpg
/home/pi/Desktop/images/06052026/20/07/image_06052026_20_07_35_30391.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814011","1416814005","1416814013","1416814007","1416814015","1416814009"],"photo_ids_order":["1416814005","1416814007","1416814009","1416814011","1416814013","1416814015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0439151af2b65c509be399228f3e8f8f.jpg","text":"TemporaryFile(/tmp/multipartBody175852634671536765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_13_35_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c32a6feb431d3db7248890b03158b16.jpg","text":"TemporaryFile(/tmp/multipartBody7848432126142516339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_23_35_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58424694c85dd433e9237e0e239028b0.jpg","text":"TemporaryFile(/tmp/multipartBody9044463753764890735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_09_05_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48ad06e68ab8d05848995eb7905fc9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3825266302857931680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_23_05_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/339dcd3904541fd4b6bcffb059f028ba.jpg","text":"TemporaryFile(/tmp/multipartBody4406848499099305724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_07_35_30391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83750c67ad9f800033aa90a4307913d5.jpg","text":"TemporaryFile(/tmp/multipartBody1745852830573221677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476565766,"filename":"image_06052026_20_22_35_29217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814009","file1":"1416814007","file0":"1416814005","file4":"1416814013","file5":"1416814015","file3":"1416814011"},"map_files_photo_id_array":[{"photo_id":"1416814015","filename":"file5"},{"photo_id":"1416814009","filename":"file2"},{"photo_id":"1416814013","filename":"file4"},{"photo_id":"1416814007","filename":"file1"},{"photo_id":"1416814005","filename":"file0"},{"photo_id":"1416814011","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814011":["hashtag1","hashtag2"]},{"1416814005":["hashtag1","hashtag2"]},{"1416814013":["hashtag1","hashtag2"]},{"1416814007":["hashtag1","hashtag2"]},{"1416814015":["hashtag1","hashtag2"]},{"1416814009":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814011, 1416814005, 1416814013, 1416814007, 1416814015, 1416814009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.031683921813965 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:16:03.176582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/02/image_11052026_07_03_14_29225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/02/image_11052026_07_03_14_29225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814016"],"photo_id":"1416814016","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ef3fb689251d676806cabfb4e7ba98c.jpg","text":"TemporaryFile(/tmp/multipartBody5046959727634880540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476624173,"filename":"image_11052026_07_03_14_29225.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416814016"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416814016"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.554664373397827 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:17:03.996147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/06/image_06052026_20_07_05_29247.jpg', '/home/pi/Desktop/images/06052026/20/06/image_06052026_20_06_36_30295.jpg', '/home/pi/Desktop/images/06052026/20/05/image_06052026_20_06_05_30398.jpg', '/home/pi/Desktop/images/06052026/20/05/image_06052026_20_05_35_29357.jpg', '/home/pi/Desktop/images/06052026/20/04/image_06052026_20_05_06_30345.jpg', '/home/pi/Desktop/images/06052026/20/03/image_06052026_20_04_05_29348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/06/image_06052026_20_07_05_29247.jpg
/home/pi/Desktop/images/06052026/20/06/image_06052026_20_06_36_30295.jpg
/home/pi/Desktop/images/06052026/20/05/image_06052026_20_06_05_30398.jpg
/home/pi/Desktop/images/06052026/20/05/image_06052026_20_05_35_29357.jpg
/home/pi/Desktop/images/06052026/20/04/image_06052026_20_05_06_30345.jpg
/home/pi/Desktop/images/06052026/20/03/image_06052026_20_04_05_29348.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9396235942840576 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:18:03.431879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/06/image_06052026_20_07_05_29247.jpg', '/home/pi/Desktop/images/06052026/20/06/image_06052026_20_06_36_30295.jpg', '/home/pi/Desktop/images/06052026/20/05/image_06052026_20_06_05_30398.jpg', '/home/pi/Desktop/images/06052026/20/05/image_06052026_20_05_35_29357.jpg', '/home/pi/Desktop/images/06052026/20/04/image_06052026_20_05_06_30345.jpg', '/home/pi/Desktop/images/06052026/20/03/image_06052026_20_04_05_29348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/06/image_06052026_20_07_05_29247.jpg
/home/pi/Desktop/images/06052026/20/06/image_06052026_20_06_36_30295.jpg
/home/pi/Desktop/images/06052026/20/05/image_06052026_20_06_05_30398.jpg
/home/pi/Desktop/images/06052026/20/05/image_06052026_20_05_35_29357.jpg
/home/pi/Desktop/images/06052026/20/04/image_06052026_20_05_06_30345.jpg
/home/pi/Desktop/images/06052026/20/03/image_06052026_20_04_05_29348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814044","1416814046","1416814049","1416814042","1416814048","1416814047"],"photo_ids_order":["1416814042","1416814044","1416814046","1416814047","1416814048","1416814049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21ba557873b5c30da39214df8df9760d.jpg","text":"TemporaryFile(/tmp/multipartBody5396289218577555352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_06_36_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8cc30a512d2262cb4ad3830dbc42267a.jpg","text":"TemporaryFile(/tmp/multipartBody8759235291000418936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_06_05_30398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bc694a6f45c757335a2de53c7b1ca60.jpg","text":"TemporaryFile(/tmp/multipartBody7852057209383701356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_04_05_29348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25c87b4407e959db7ee37db10220a87f.jpg","text":"TemporaryFile(/tmp/multipartBody4378317964551621654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_07_05_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0815afa8a0df49c2b9656c749cbc05b6.jpg","text":"TemporaryFile(/tmp/multipartBody8233339167656714902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_05_06_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6c7c759f4c6ec6194f62660e4a2a123.jpg","text":"TemporaryFile(/tmp/multipartBody3282834209167762530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476745672,"filename":"image_06052026_20_05_35_29357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814046","file1":"1416814044","file0":"1416814042","file4":"1416814048","file5":"1416814049","file3":"1416814047"},"map_files_photo_id_array":[{"photo_id":"1416814049","filename":"file5"},{"photo_id":"1416814046","filename":"file2"},{"photo_id":"1416814048","filename":"file4"},{"photo_id":"1416814044","filename":"file1"},{"photo_id":"1416814042","filename":"file0"},{"photo_id":"1416814047","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814044":["hashtag1","hashtag2"]},{"1416814046":["hashtag1","hashtag2"]},{"1416814049":["hashtag1","hashtag2"]},{"1416814042":["hashtag1","hashtag2"]},{"1416814048":["hashtag1","hashtag2"]},{"1416814047":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814044, 1416814046, 1416814049, 1416814042, 1416814048, 1416814047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.031553506851196 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:19:03.673410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/20/03/image_06052026_20_03_35_30299.jpg', '/home/pi/Desktop/images/06052026/20/02/image_06052026_20_03_05_30337.jpg', '/home/pi/Desktop/images/06052026/20/02/image_06052026_20_02_35_29285.jpg', '/home/pi/Desktop/images/06052026/20/01/image_06052026_20_02_06_30413.jpg', '/home/pi/Desktop/images/06052026/20/01/image_06052026_20_01_35_30324.jpg', '/home/pi/Desktop/images/06052026/19/57/image_06052026_19_58_06_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/20/03/image_06052026_20_03_35_30299.jpg
/home/pi/Desktop/images/06052026/20/02/image_06052026_20_03_05_30337.jpg
/home/pi/Desktop/images/06052026/20/02/image_06052026_20_02_35_29285.jpg
/home/pi/Desktop/images/06052026/20/01/image_06052026_20_02_06_30413.jpg
/home/pi/Desktop/images/06052026/20/01/image_06052026_20_01_35_30324.jpg
/home/pi/Desktop/images/06052026/19/57/image_06052026_19_58_06_30273.jpg
2026-05-11 07:19:04.114374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/10/image_06052026_16_11_06_30345.jpg', '/home/pi/Desktop/images/06052026/16/11/image_06052026_16_11_35_29334.jpg', '/home/pi/Desktop/images/06052026/16/11/image_06052026_16_12_05_30293.jpg', '/home/pi/Desktop/images/06052026/16/13/image_06052026_16_14_05_30206.jpg', '/home/pi/Desktop/images/06052026/16/14/image_06052026_16_14_36_30276.jpg', '/home/pi/Desktop/images/06052026/16/14/image_06052026_16_15_05_29227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/10/image_06052026_16_11_06_30345.jpg
/home/pi/Desktop/images/06052026/16/11/image_06052026_16_11_35_29334.jpg
/home/pi/Desktop/images/06052026/16/11/image_06052026_16_12_05_30293.jpg
/home/pi/Desktop/images/06052026/16/13/image_06052026_16_14_05_30206.jpg
/home/pi/Desktop/images/06052026/16/14/image_06052026_16_14_36_30276.jpg
/home/pi/Desktop/images/06052026/16/14/image_06052026_16_15_05_29227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814064","1416814058","1416814061","1416814066","1416814062","1416814056"],"photo_ids_order":["1416814056","1416814058","1416814061","1416814062","1416814064","1416814066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ca6ba707d6e311fb1a4425cddb3ee56.jpg","text":"TemporaryFile(/tmp/multipartBody1774066832336267207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_20_01_35_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/801c2b889b2b987cdd25381e459f9cef.jpg","text":"TemporaryFile(/tmp/multipartBody1816773404052796850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_20_03_05_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f37a39640ea08c9936d75461318e5273.jpg","text":"TemporaryFile(/tmp/multipartBody2596579205795743724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_20_02_35_29285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ddbc1c4a93c933841a4336015a2d6a83.jpg","text":"TemporaryFile(/tmp/multipartBody9202374031776881444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_19_58_06_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99f628bb8ecb86262be424e20baec529.jpg","text":"TemporaryFile(/tmp/multipartBody58618271669139226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_20_02_06_30413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b50bdf987d4d97fe5c100ffff5b05f9.jpg","text":"TemporaryFile(/tmp/multipartBody578701325869988955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806661,"filename":"image_06052026_20_03_35_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814061","file1":"1416814058","file0":"1416814056","file4":"1416814064","file5":"1416814066","file3":"1416814062"},"map_files_photo_id_array":[{"photo_id":"1416814066","filename":"file5"},{"photo_id":"1416814061","filename":"file2"},{"photo_id":"1416814064","filename":"file4"},{"photo_id":"1416814058","filename":"file1"},{"photo_id":"1416814056","filename":"file0"},{"photo_id":"1416814062","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814064":["hashtag1","hashtag2"]},{"1416814058":["hashtag1","hashtag2"]},{"1416814061":["hashtag1","hashtag2"]},{"1416814066":["hashtag1","hashtag2"]},{"1416814062":["hashtag1","hashtag2"]},{"1416814056":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814064, 1416814058, 1416814061, 1416814066, 1416814062, 1416814056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63887929916382 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814059","1416814067","1416814060","1416814063","1416814057","1416814065"],"photo_ids_order":["1416814057","1416814059","1416814060","1416814063","1416814065","1416814067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec188902f1be46e74c30c5a804daaa64.jpg","text":"TemporaryFile(/tmp/multipartBody394483375223909317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_11_35_29334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b1dd6fe7956cb0814dff94ab33d478e.jpg","text":"TemporaryFile(/tmp/multipartBody3493617690152686384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_15_05_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65b6f2f6d37213f0b15d4b50dd0fd75c.jpg","text":"TemporaryFile(/tmp/multipartBody1844362581279927563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_12_05_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5427243b3b90e5ab37ce4a862c889cea.jpg","text":"TemporaryFile(/tmp/multipartBody791704631560210194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_14_05_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64a4a191d3ebff9915e556a15b55dc33.jpg","text":"TemporaryFile(/tmp/multipartBody2531097128187786653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_11_06_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4651a75def481cc0cfcd7fee8589552a.jpg","text":"TemporaryFile(/tmp/multipartBody3569828869643229403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476806942,"filename":"image_06052026_16_14_36_30276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814060","file1":"1416814059","file0":"1416814057","file4":"1416814065","file5":"1416814067","file3":"1416814063"},"map_files_photo_id_array":[{"photo_id":"1416814067","filename":"file5"},{"photo_id":"1416814060","filename":"file2"},{"photo_id":"1416814065","filename":"file4"},{"photo_id":"1416814059","filename":"file1"},{"photo_id":"1416814057","filename":"file0"},{"photo_id":"1416814063","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814059":["hashtag1","hashtag2"]},{"1416814067":["hashtag1","hashtag2"]},{"1416814060":["hashtag1","hashtag2"]},{"1416814063":["hashtag1","hashtag2"]},{"1416814057":["hashtag1","hashtag2"]},{"1416814065":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814059, 1416814067, 1416814060, 1416814063, 1416814057, 1416814065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44539499282837 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:20:03.588449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/43/image_06052026_19_43_35_29335.jpg', '/home/pi/Desktop/images/06052026/19/42/image_06052026_19_43_06_30353.jpg', '/home/pi/Desktop/images/06052026/19/39/image_06052026_19_39_35_29335.jpg', '/home/pi/Desktop/images/06052026/19/38/image_06052026_19_39_06_30334.jpg', '/home/pi/Desktop/images/06052026/19/38/image_06052026_19_38_35_30245.jpg', '/home/pi/Desktop/images/06052026/19/37/image_06052026_19_38_05_30337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/43/image_06052026_19_43_35_29335.jpg
/home/pi/Desktop/images/06052026/19/42/image_06052026_19_43_06_30353.jpg
/home/pi/Desktop/images/06052026/19/39/image_06052026_19_39_35_29335.jpg
/home/pi/Desktop/images/06052026/19/38/image_06052026_19_39_06_30334.jpg
/home/pi/Desktop/images/06052026/19/38/image_06052026_19_38_35_30245.jpg
/home/pi/Desktop/images/06052026/19/37/image_06052026_19_38_05_30337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814076","1416814079","1416814075","1416814078","1416814074","1416814077"],"photo_ids_order":["1416814074","1416814075","1416814076","1416814077","1416814078","1416814079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42e9959ab885ed1e2a43f603e7152916.jpg","text":"TemporaryFile(/tmp/multipartBody253374411302570242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_39_35_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b15b69f9b45de52a44af655c5c26c54a.jpg","text":"TemporaryFile(/tmp/multipartBody4711350478060766847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_38_05_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68abdc4f2a6f943898a1c2f1d85e3eeb.jpg","text":"TemporaryFile(/tmp/multipartBody851051673673650953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_43_06_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bae7b7ef61d758d100af67ce2db14e83.jpg","text":"TemporaryFile(/tmp/multipartBody2159792524286021068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_38_35_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/98d4abba807f9842f6e73e1ae1f17aec.jpg","text":"TemporaryFile(/tmp/multipartBody2124272508467514457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_43_35_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de32e3a730639e5b80e011e401439a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5276151361411837550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476865806,"filename":"image_06052026_19_39_06_30334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814076","file1":"1416814075","file0":"1416814074","file4":"1416814078","file5":"1416814079","file3":"1416814077"},"map_files_photo_id_array":[{"photo_id":"1416814079","filename":"file5"},{"photo_id":"1416814076","filename":"file2"},{"photo_id":"1416814078","filename":"file4"},{"photo_id":"1416814075","filename":"file1"},{"photo_id":"1416814074","filename":"file0"},{"photo_id":"1416814077","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814076":["hashtag1","hashtag2"]},{"1416814079":["hashtag1","hashtag2"]},{"1416814075":["hashtag1","hashtag2"]},{"1416814078":["hashtag1","hashtag2"]},{"1416814074":["hashtag1","hashtag2"]},{"1416814077":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814076, 1416814079, 1416814075, 1416814078, 1416814074, 1416814077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36550283432007 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:21:03.975107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/15/image_11052026_07_16_14_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/15/image_11052026_07_16_14_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814086"],"photo_id":"1416814086","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4449b1652031fe218865b12bba1d639f.jpg","text":"TemporaryFile(/tmp/multipartBody8602526915655859070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476925086,"filename":"image_11052026_07_16_14_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416814086"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416814086"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.677318096160889 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:22:03.521087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/37/image_06052026_19_37_35_29382.jpg', '/home/pi/Desktop/images/06052026/19/36/image_06052026_19_37_05_30294.jpg', '/home/pi/Desktop/images/06052026/19/36/image_06052026_19_36_35_30344.jpg', '/home/pi/Desktop/images/06052026/19/34/image_06052026_19_34_35_29329.jpg', '/home/pi/Desktop/images/06052026/19/33/image_06052026_19_34_05_30347.jpg', '/home/pi/Desktop/images/06052026/19/33/image_06052026_19_33_35_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/37/image_06052026_19_37_35_29382.jpg
/home/pi/Desktop/images/06052026/19/36/image_06052026_19_37_05_30294.jpg
/home/pi/Desktop/images/06052026/19/36/image_06052026_19_36_35_30344.jpg
/home/pi/Desktop/images/06052026/19/34/image_06052026_19_34_35_29329.jpg
/home/pi/Desktop/images/06052026/19/33/image_06052026_19_34_05_30347.jpg
/home/pi/Desktop/images/06052026/19/33/image_06052026_19_33_35_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814101","1416814097","1416814099","1416814103","1416814093","1416814095"],"photo_ids_order":["1416814093","1416814095","1416814097","1416814099","1416814101","1416814103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5f9d926c76cd290d700fbd14e186f59.jpg","text":"TemporaryFile(/tmp/multipartBody8403074511691498164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_34_05_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/346177f3dc8f451e6edcaa69b0a4e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody3173108592128381565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_36_35_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1be26e8a752bfe989f7c63b3dae3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3148704244758830508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_34_35_29329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2041147a547c9af591e7c78699d3373.jpg","text":"TemporaryFile(/tmp/multipartBody1421055683685268731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_33_35_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bedd062da93d7af292de1d12693c99d3.jpg","text":"TemporaryFile(/tmp/multipartBody3384925702026065607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_37_35_29382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b607f3cef7e21afc086817a692e1af6.jpg","text":"TemporaryFile(/tmp/multipartBody3307583384397093228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778476985642,"filename":"image_06052026_19_37_05_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814097","file1":"1416814095","file0":"1416814093","file4":"1416814101","file5":"1416814103","file3":"1416814099"},"map_files_photo_id_array":[{"photo_id":"1416814103","filename":"file5"},{"photo_id":"1416814097","filename":"file2"},{"photo_id":"1416814101","filename":"file4"},{"photo_id":"1416814095","filename":"file1"},{"photo_id":"1416814093","filename":"file0"},{"photo_id":"1416814099","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814101":["hashtag1","hashtag2"]},{"1416814097":["hashtag1","hashtag2"]},{"1416814099":["hashtag1","hashtag2"]},{"1416814103":["hashtag1","hashtag2"]},{"1416814093":["hashtag1","hashtag2"]},{"1416814095":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814101, 1416814097, 1416814099, 1416814103, 1416814093, 1416814095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72114038467407 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:23:03.688031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/19/image_11052026_07_20_13_29045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/19/image_11052026_07_20_13_29045.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814104"],"photo_id":"1416814104","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd5e1a886c9d8971b41a1c0351fb2444.jpg","text":"TemporaryFile(/tmp/multipartBody1616390277048342055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477044779,"filename":"image_11052026_07_20_13_29045.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416814104"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416814104"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.470288753509521 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:24:03.839503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/32/image_06052026_19_32_36_30370.jpg', '/home/pi/Desktop/images/06052026/19/31/image_06052026_19_32_05_30392.jpg', '/home/pi/Desktop/images/06052026/19/31/image_06052026_19_31_35_29300.jpg', '/home/pi/Desktop/images/06052026/19/30/image_06052026_19_31_06_30372.jpg', '/home/pi/Desktop/images/06052026/19/30/image_06052026_19_30_35_30278.jpg', '/home/pi/Desktop/images/06052026/19/29/image_06052026_19_30_05_29346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/32/image_06052026_19_32_36_30370.jpg
/home/pi/Desktop/images/06052026/19/31/image_06052026_19_32_05_30392.jpg
/home/pi/Desktop/images/06052026/19/31/image_06052026_19_31_35_29300.jpg
/home/pi/Desktop/images/06052026/19/30/image_06052026_19_31_06_30372.jpg
/home/pi/Desktop/images/06052026/19/30/image_06052026_19_30_35_30278.jpg
/home/pi/Desktop/images/06052026/19/29/image_06052026_19_30_05_29346.jpg
2026-05-11 07:24:03.906859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/15/image_06052026_16_15_35_30309.jpg', '/home/pi/Desktop/images/06052026/16/17/image_06052026_16_17_35_30411.jpg', '/home/pi/Desktop/images/06052026/16/17/image_06052026_16_18_06_30323.jpg', '/home/pi/Desktop/images/06052026/16/21/image_06052026_16_21_35_29241.jpg', '/home/pi/Desktop/images/06052026/16/21/image_06052026_16_22_06_30448.jpg', '/home/pi/Desktop/images/06052026/16/22/image_06052026_16_22_35_29269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/15/image_06052026_16_15_35_30309.jpg
/home/pi/Desktop/images/06052026/16/17/image_06052026_16_17_35_30411.jpg
/home/pi/Desktop/images/06052026/16/17/image_06052026_16_18_06_30323.jpg
/home/pi/Desktop/images/06052026/16/21/image_06052026_16_21_35_29241.jpg
/home/pi/Desktop/images/06052026/16/21/image_06052026_16_22_06_30448.jpg
/home/pi/Desktop/images/06052026/16/22/image_06052026_16_22_35_29269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814116","1416814121","1416814124","1416814118","1416814126","1416814129"],"photo_ids_order":["1416814116","1416814118","1416814121","1416814124","1416814126","1416814129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99c3d5fb55a10585c65eafc1da720c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6909092021845363288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_32_36_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56cd824ef68de1ca3e1c7de388267db8.jpg","text":"TemporaryFile(/tmp/multipartBody6752892498962492953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_31_35_29300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c6a945b99c6580c79102494ed61de86.jpg","text":"TemporaryFile(/tmp/multipartBody6758347395506092162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_31_06_30372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b81a8a6bf7385e3b69846232af342021.jpg","text":"TemporaryFile(/tmp/multipartBody3921684223848409494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_32_05_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0641b9b310e600325d03cc5cb11800c.jpg","text":"TemporaryFile(/tmp/multipartBody4630372008906288187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_30_35_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f16fc8f19d7223a081d539f429dbac20.jpg","text":"TemporaryFile(/tmp/multipartBody7816610778730163386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106912,"filename":"image_06052026_19_30_05_29346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814121","file1":"1416814118","file0":"1416814116","file4":"1416814126","file5":"1416814129","file3":"1416814124"},"map_files_photo_id_array":[{"photo_id":"1416814129","filename":"file5"},{"photo_id":"1416814121","filename":"file2"},{"photo_id":"1416814126","filename":"file4"},{"photo_id":"1416814118","filename":"file1"},{"photo_id":"1416814116","filename":"file0"},{"photo_id":"1416814124","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814116":["hashtag1","hashtag2"]},{"1416814121":["hashtag1","hashtag2"]},{"1416814124":["hashtag1","hashtag2"]},{"1416814118":["hashtag1","hashtag2"]},{"1416814126":["hashtag1","hashtag2"]},{"1416814129":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814116, 1416814121, 1416814124, 1416814118, 1416814126, 1416814129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67978811264038 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814122","1416814131","1416814125","1416814119","1416814117","1416814128"],"photo_ids_order":["1416814117","1416814119","1416814122","1416814125","1416814128","1416814131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec50471cbe3235e69662b857c4ce1ced.jpg","text":"TemporaryFile(/tmp/multipartBody7208345192402000746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_18_06_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aea55b347d2358cdc732a86c5b062e09.jpg","text":"TemporaryFile(/tmp/multipartBody49945251509242213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_22_35_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69bf0f25350ce23352ad488219adf0e9.jpg","text":"TemporaryFile(/tmp/multipartBody8220862089787762380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_21_35_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f91947c89ac366ff485be1624a45aab.jpg","text":"TemporaryFile(/tmp/multipartBody5353092811639520035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_17_35_30411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b9881ceadba16af02d740e96b1b088c.jpg","text":"TemporaryFile(/tmp/multipartBody2476384339246255251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_15_35_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4952f12364043e6240546db84645990.jpg","text":"TemporaryFile(/tmp/multipartBody5572865790304471473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477106954,"filename":"image_06052026_16_22_06_30448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814122","file1":"1416814119","file0":"1416814117","file4":"1416814128","file5":"1416814131","file3":"1416814125"},"map_files_photo_id_array":[{"photo_id":"1416814131","filename":"file5"},{"photo_id":"1416814122","filename":"file2"},{"photo_id":"1416814128","filename":"file4"},{"photo_id":"1416814119","filename":"file1"},{"photo_id":"1416814117","filename":"file0"},{"photo_id":"1416814125","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814122":["hashtag1","hashtag2"]},{"1416814131":["hashtag1","hashtag2"]},{"1416814125":["hashtag1","hashtag2"]},{"1416814119":["hashtag1","hashtag2"]},{"1416814117":["hashtag1","hashtag2"]},{"1416814128":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814122, 1416814131, 1416814125, 1416814119, 1416814117, 1416814128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18777298927307 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:25:03.979623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/26/image_06052026_19_27_05_29260.jpg', '/home/pi/Desktop/images/06052026/19/21/image_06052026_19_21_36_30442.jpg', '/home/pi/Desktop/images/06052026/19/15/image_06052026_19_15_35_29405.jpg', '/home/pi/Desktop/images/06052026/19/14/image_06052026_19_14_35_30377.jpg', '/home/pi/Desktop/images/06052026/19/13/image_06052026_19_14_05_29380.jpg', '/home/pi/Desktop/images/06052026/19/13/image_06052026_19_13_35_30366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/26/image_06052026_19_27_05_29260.jpg
/home/pi/Desktop/images/06052026/19/21/image_06052026_19_21_36_30442.jpg
/home/pi/Desktop/images/06052026/19/15/image_06052026_19_15_35_29405.jpg
/home/pi/Desktop/images/06052026/19/14/image_06052026_19_14_35_30377.jpg
/home/pi/Desktop/images/06052026/19/13/image_06052026_19_14_05_29380.jpg
/home/pi/Desktop/images/06052026/19/13/image_06052026_19_13_35_30366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814143","1416814145","1416814142","1416814141","1416814144","1416814140"],"photo_ids_order":["1416814140","1416814141","1416814142","1416814143","1416814144","1416814145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f470edf6b4451881d88d4b216bab2a70.jpg","text":"TemporaryFile(/tmp/multipartBody4163197020736801611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_14_35_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f2ed88e3ded5f01b78598d0979bdb65.jpg","text":"TemporaryFile(/tmp/multipartBody7302906593606540590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_13_35_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef60401f7113b063fea6ab427bc9afe9.jpg","text":"TemporaryFile(/tmp/multipartBody1037960973378490669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_15_35_29405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4040b1fa1d350c8d923b2c84213b4824.jpg","text":"TemporaryFile(/tmp/multipartBody5356750356360347048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_21_36_30442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a36f8983f29b5d1b9e3f319ec34a582.jpg","text":"TemporaryFile(/tmp/multipartBody8213644782435467101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_14_05_29380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65064b5807968c6b99411cc69e07476b.jpg","text":"TemporaryFile(/tmp/multipartBody1074886554237386874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477166245,"filename":"image_06052026_19_27_05_29260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814142","file1":"1416814141","file0":"1416814140","file4":"1416814144","file5":"1416814145","file3":"1416814143"},"map_files_photo_id_array":[{"photo_id":"1416814145","filename":"file5"},{"photo_id":"1416814142","filename":"file2"},{"photo_id":"1416814144","filename":"file4"},{"photo_id":"1416814141","filename":"file1"},{"photo_id":"1416814140","filename":"file0"},{"photo_id":"1416814143","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814143":["hashtag1","hashtag2"]},{"1416814145":["hashtag1","hashtag2"]},{"1416814142":["hashtag1","hashtag2"]},{"1416814141":["hashtag1","hashtag2"]},{"1416814144":["hashtag1","hashtag2"]},{"1416814140":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814143, 1416814145, 1416814142, 1416814141, 1416814144, 1416814140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.998775482177734 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:26:03.550346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/22/image_11052026_07_22_43_29096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/22/image_11052026_07_22_43_29096.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814152"],"photo_id":"1416814152","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c016a09a004428ee4651897a9517d906.jpg","text":"TemporaryFile(/tmp/multipartBody9103672259552763694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477224501,"filename":"image_11052026_07_22_43_29096.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416814152"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416814152"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.671541452407837 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:27:03.752801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/10/image_06052026_19_11_06_30290.jpg', '/home/pi/Desktop/images/06052026/19/08/image_06052026_19_08_35_29162.jpg', '/home/pi/Desktop/images/06052026/19/05/image_06052026_19_05_35_30278.jpg', '/home/pi/Desktop/images/06052026/19/04/image_06052026_19_05_05_29251.jpg', '/home/pi/Desktop/images/06052026/19/01/image_06052026_19_01_36_30424.jpg', '/home/pi/Desktop/images/06052026/19/00/image_06052026_19_01_05_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/10/image_06052026_19_11_06_30290.jpg
/home/pi/Desktop/images/06052026/19/08/image_06052026_19_08_35_29162.jpg
/home/pi/Desktop/images/06052026/19/05/image_06052026_19_05_35_30278.jpg
/home/pi/Desktop/images/06052026/19/04/image_06052026_19_05_05_29251.jpg
/home/pi/Desktop/images/06052026/19/01/image_06052026_19_01_36_30424.jpg
/home/pi/Desktop/images/06052026/19/00/image_06052026_19_01_05_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814499","1416814503","1416814505","1416814570","1416814501","1416814603"],"photo_ids_order":["1416814499","1416814501","1416814503","1416814505","1416814570","1416814603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee53e3adcae82bf379dce46f65dc3143.jpg","text":"TemporaryFile(/tmp/multipartBody7561635628494791411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_11_06_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ec96a698f80d74a024b3443a0a45d30.jpg","text":"TemporaryFile(/tmp/multipartBody8508341443936453842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_05_35_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/852393f5a27763174bd8747b41430721.jpg","text":"TemporaryFile(/tmp/multipartBody4673635109743701453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_05_05_29251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ceda808d246af702f98aa15d1c68dca8.jpg","text":"TemporaryFile(/tmp/multipartBody3743841367647211942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_01_36_30424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f59b664cddbde09e11c9a5bb3c74a790.jpg","text":"TemporaryFile(/tmp/multipartBody4501928418773426530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_08_35_29162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af71ecb23f127f8d14d30afa2c0aa702.jpg","text":"TemporaryFile(/tmp/multipartBody7553723971018035248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477285943,"filename":"image_06052026_19_01_05_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814503","file1":"1416814501","file0":"1416814499","file4":"1416814570","file5":"1416814603","file3":"1416814505"},"map_files_photo_id_array":[{"photo_id":"1416814603","filename":"file5"},{"photo_id":"1416814503","filename":"file2"},{"photo_id":"1416814570","filename":"file4"},{"photo_id":"1416814501","filename":"file1"},{"photo_id":"1416814499","filename":"file0"},{"photo_id":"1416814505","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814499":["hashtag1","hashtag2"]},{"1416814503":["hashtag1","hashtag2"]},{"1416814505":["hashtag1","hashtag2"]},{"1416814570":["hashtag1","hashtag2"]},{"1416814501":["hashtag1","hashtag2"]},{"1416814603":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814499, 1416814503, 1416814505, 1416814570, 1416814501, 1416814603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.497862577438354 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:28:02.962140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/19/00/image_06052026_19_00_35_29295.jpg', '/home/pi/Desktop/images/06052026/18/59/image_06052026_19_00_06_30373.jpg', '/home/pi/Desktop/images/06052026/18/58/image_06052026_18_59_05_29193.jpg', '/home/pi/Desktop/images/06052026/18/58/image_06052026_18_58_36_30382.jpg', '/home/pi/Desktop/images/06052026/18/56/image_06052026_18_57_05_29332.jpg', '/home/pi/Desktop/images/06052026/18/56/image_06052026_18_56_36_30366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/19/00/image_06052026_19_00_35_29295.jpg
/home/pi/Desktop/images/06052026/18/59/image_06052026_19_00_06_30373.jpg
/home/pi/Desktop/images/06052026/18/58/image_06052026_18_59_05_29193.jpg
/home/pi/Desktop/images/06052026/18/58/image_06052026_18_58_36_30382.jpg
/home/pi/Desktop/images/06052026/18/56/image_06052026_18_57_05_29332.jpg
/home/pi/Desktop/images/06052026/18/56/image_06052026_18_56_36_30366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814614","1416814608","1416814616","1416814610","1416814612","1416814606"],"photo_ids_order":["1416814606","1416814608","1416814610","1416814612","1416814614","1416814616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d0c8b03141e29d04c5bc65f547f2de7d.jpg","text":"TemporaryFile(/tmp/multipartBody2454546354688494787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_18_57_05_29332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44f7ee00b622e9e63bdb775f3cb7bf50.jpg","text":"TemporaryFile(/tmp/multipartBody7983576955774788708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_19_00_06_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07f9face6cf5213850ad4b501f7befd9.jpg","text":"TemporaryFile(/tmp/multipartBody428663843598064357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_18_56_36_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9abfd4e1d35a0cbf875650e4da2c95eb.jpg","text":"TemporaryFile(/tmp/multipartBody2528916412420286482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_18_59_05_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a4edc17f3bfa52ce85038c714bb8181.jpg","text":"TemporaryFile(/tmp/multipartBody2312701255108215117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_18_58_36_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/448948c86d4dfddd2f8c622ee41af905.jpg","text":"TemporaryFile(/tmp/multipartBody7718286991859649552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477345205,"filename":"image_06052026_19_00_35_29295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814610","file1":"1416814608","file0":"1416814606","file4":"1416814614","file5":"1416814616","file3":"1416814612"},"map_files_photo_id_array":[{"photo_id":"1416814616","filename":"file5"},{"photo_id":"1416814610","filename":"file2"},{"photo_id":"1416814614","filename":"file4"},{"photo_id":"1416814608","filename":"file1"},{"photo_id":"1416814606","filename":"file0"},{"photo_id":"1416814612","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814614":["hashtag1","hashtag2"]},{"1416814608":["hashtag1","hashtag2"]},{"1416814616":["hashtag1","hashtag2"]},{"1416814610":["hashtag1","hashtag2"]},{"1416814612":["hashtag1","hashtag2"]},{"1416814606":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814614, 1416814608, 1416814616, 1416814610, 1416814612, 1416814606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07322955131531 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:29:04.075322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/18/54/image_06052026_18_55_06_30364.jpg', '/home/pi/Desktop/images/06052026/18/54/image_06052026_18_54_35_30238.jpg', '/home/pi/Desktop/images/06052026/18/52/image_06052026_18_53_05_30305.jpg', '/home/pi/Desktop/images/06052026/18/52/image_06052026_18_52_35_29366.jpg', '/home/pi/Desktop/images/06052026/18/51/image_06052026_18_51_35_30448.jpg', '/home/pi/Desktop/images/06052026/18/48/image_06052026_18_48_35_29364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/18/54/image_06052026_18_55_06_30364.jpg
/home/pi/Desktop/images/06052026/18/54/image_06052026_18_54_35_30238.jpg
/home/pi/Desktop/images/06052026/18/52/image_06052026_18_53_05_30305.jpg
/home/pi/Desktop/images/06052026/18/52/image_06052026_18_52_35_29366.jpg
/home/pi/Desktop/images/06052026/18/51/image_06052026_18_51_35_30448.jpg
/home/pi/Desktop/images/06052026/18/48/image_06052026_18_48_35_29364.jpg
2026-05-11 07:29:04.512856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/22/image_06052026_16_23_05_30340.jpg', '/home/pi/Desktop/images/06052026/16/23/image_06052026_16_23_35_30296.jpg', '/home/pi/Desktop/images/06052026/16/23/image_06052026_16_24_06_30348.jpg', '/home/pi/Desktop/images/06052026/16/25/image_06052026_16_25_36_30254.jpg', '/home/pi/Desktop/images/06052026/16/25/image_06052026_16_26_05_29261.jpg', '/home/pi/Desktop/images/06052026/16/26/image_06052026_16_26_35_30289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/22/image_06052026_16_23_05_30340.jpg
/home/pi/Desktop/images/06052026/16/23/image_06052026_16_23_35_30296.jpg
/home/pi/Desktop/images/06052026/16/23/image_06052026_16_24_06_30348.jpg
/home/pi/Desktop/images/06052026/16/25/image_06052026_16_25_36_30254.jpg
/home/pi/Desktop/images/06052026/16/25/image_06052026_16_26_05_29261.jpg
/home/pi/Desktop/images/06052026/16/26/image_06052026_16_26_35_30289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814628","1416814631","1416814625","1416814621","1416814618","1416814635"],"photo_ids_order":["1416814618","1416814621","1416814625","1416814628","1416814631","1416814635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b234cceb04a6850a380b7c41c271de2.jpg","text":"TemporaryFile(/tmp/multipartBody4664472855471076848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_52_35_29366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b072cb1ceed3833fc3607361a6b50d3a.jpg","text":"TemporaryFile(/tmp/multipartBody359668546986526311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_51_35_30448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/973a343b32571a87f7c82349ec30da11.jpg","text":"TemporaryFile(/tmp/multipartBody2373658198214469924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_53_05_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90c80996b70892071e88a59d8661320b.jpg","text":"TemporaryFile(/tmp/multipartBody1738872661643452398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_54_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc1b612e2e1104e3c12635ef8821dddd.jpg","text":"TemporaryFile(/tmp/multipartBody8992488236243477761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_55_06_30364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8e5c894ffb4d7e10177f893f789b2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4043296520239791799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477406960,"filename":"image_06052026_18_48_35_29364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814625","file1":"1416814621","file0":"1416814618","file4":"1416814631","file5":"1416814635","file3":"1416814628"},"map_files_photo_id_array":[{"photo_id":"1416814635","filename":"file5"},{"photo_id":"1416814625","filename":"file2"},{"photo_id":"1416814631","filename":"file4"},{"photo_id":"1416814621","filename":"file1"},{"photo_id":"1416814618","filename":"file0"},{"photo_id":"1416814628","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814628":["hashtag1","hashtag2"]},{"1416814631":["hashtag1","hashtag2"]},{"1416814625":["hashtag1","hashtag2"]},{"1416814621":["hashtag1","hashtag2"]},{"1416814618":["hashtag1","hashtag2"]},{"1416814635":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814628, 1416814631, 1416814625, 1416814621, 1416814618, 1416814635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13797879219055 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814632","1416814626","1416814629","1416814622","1416814619","1416814636"],"photo_ids_order":["1416814619","1416814622","1416814626","1416814629","1416814632","1416814636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c39219a75dffa5d4dfbf91972874608.jpg","text":"TemporaryFile(/tmp/multipartBody5249042959848763080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_26_05_29261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1fd2af9297f024010a6d1b2f722b95fd.jpg","text":"TemporaryFile(/tmp/multipartBody494318221916307737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_24_06_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17ff35b8bdb3e7d76211fa19038fbb50.jpg","text":"TemporaryFile(/tmp/multipartBody3663558983133669788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_25_36_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae7b80cec3c33c658cd39eb8058263b1.jpg","text":"TemporaryFile(/tmp/multipartBody5494625727122734914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_23_35_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2d878876d876e5dd46dac0ad26a69ef.jpg","text":"TemporaryFile(/tmp/multipartBody517397113764154409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_23_05_30340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45e8a2e087d4df903a8c0a2385d07253.jpg","text":"TemporaryFile(/tmp/multipartBody140665407599116398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477407326,"filename":"image_06052026_16_26_35_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814626","file1":"1416814622","file0":"1416814619","file4":"1416814632","file5":"1416814636","file3":"1416814629"},"map_files_photo_id_array":[{"photo_id":"1416814636","filename":"file5"},{"photo_id":"1416814626","filename":"file2"},{"photo_id":"1416814632","filename":"file4"},{"photo_id":"1416814622","filename":"file1"},{"photo_id":"1416814619","filename":"file0"},{"photo_id":"1416814629","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814632":["hashtag1","hashtag2"]},{"1416814626":["hashtag1","hashtag2"]},{"1416814629":["hashtag1","hashtag2"]},{"1416814622":["hashtag1","hashtag2"]},{"1416814619":["hashtag1","hashtag2"]},{"1416814636":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814632, 1416814626, 1416814629, 1416814622, 1416814619, 1416814636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.791178464889526 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:30:02.964382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/18/47/image_06052026_18_48_06_30406.jpg', '/home/pi/Desktop/images/06052026/18/47/image_06052026_18_47_35_30293.jpg', '/home/pi/Desktop/images/06052026/18/44/image_06052026_18_45_05_30342.jpg', '/home/pi/Desktop/images/06052026/18/43/image_06052026_18_44_06_30400.jpg', '/home/pi/Desktop/images/06052026/18/40/image_06052026_18_40_35_30396.jpg', '/home/pi/Desktop/images/06052026/18/35/image_06052026_18_36_05_30367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/18/47/image_06052026_18_48_06_30406.jpg
/home/pi/Desktop/images/06052026/18/47/image_06052026_18_47_35_30293.jpg
/home/pi/Desktop/images/06052026/18/44/image_06052026_18_45_05_30342.jpg
/home/pi/Desktop/images/06052026/18/43/image_06052026_18_44_06_30400.jpg
/home/pi/Desktop/images/06052026/18/40/image_06052026_18_40_35_30396.jpg
/home/pi/Desktop/images/06052026/18/35/image_06052026_18_36_05_30367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814646","1416814640","1416814642","1416814648","1416814644","1416814638"],"photo_ids_order":["1416814638","1416814640","1416814642","1416814644","1416814646","1416814648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/365cee4e92b810e4f559b055a70149c7.jpg","text":"TemporaryFile(/tmp/multipartBody6714524804462879860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_40_35_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e9cacec3aae192a6e2c45e7317ef0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6030411254229522142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_47_35_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fc3fc268b767942a6f8204eaed8608d.jpg","text":"TemporaryFile(/tmp/multipartBody3841758686837270399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_45_05_30342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5511c570dfd55f5c23b0aff36251b297.jpg","text":"TemporaryFile(/tmp/multipartBody2580559239865273835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_36_05_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9da4e88e987cfe3b198752d39abb1a2.jpg","text":"TemporaryFile(/tmp/multipartBody6882352918002976878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_44_06_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a224873e8a73429fbaaeb673ef8c1f5.jpg","text":"TemporaryFile(/tmp/multipartBody7412195655486620838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477465047,"filename":"image_06052026_18_48_06_30406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814642","file1":"1416814640","file0":"1416814638","file4":"1416814646","file5":"1416814648","file3":"1416814644"},"map_files_photo_id_array":[{"photo_id":"1416814648","filename":"file5"},{"photo_id":"1416814642","filename":"file2"},{"photo_id":"1416814646","filename":"file4"},{"photo_id":"1416814640","filename":"file1"},{"photo_id":"1416814638","filename":"file0"},{"photo_id":"1416814644","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814646":["hashtag1","hashtag2"]},{"1416814640":["hashtag1","hashtag2"]},{"1416814642":["hashtag1","hashtag2"]},{"1416814648":["hashtag1","hashtag2"]},{"1416814644":["hashtag1","hashtag2"]},{"1416814638":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814646, 1416814640, 1416814642, 1416814648, 1416814644, 1416814638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25864839553833 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:31:03.939657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/18/35/image_06052026_18_35_35_29229.jpg', '/home/pi/Desktop/images/06052026/18/33/image_06052026_18_33_36_30406.jpg', '/home/pi/Desktop/images/06052026/18/32/image_06052026_18_33_05_30391.jpg', '/home/pi/Desktop/images/06052026/18/30/image_06052026_18_30_36_30347.jpg', '/home/pi/Desktop/images/06052026/18/17/image_06052026_18_18_06_30269.jpg', '/home/pi/Desktop/images/06052026/18/14/image_06052026_18_14_36_30393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/18/35/image_06052026_18_35_35_29229.jpg
/home/pi/Desktop/images/06052026/18/33/image_06052026_18_33_36_30406.jpg
/home/pi/Desktop/images/06052026/18/32/image_06052026_18_33_05_30391.jpg
/home/pi/Desktop/images/06052026/18/30/image_06052026_18_30_36_30347.jpg
/home/pi/Desktop/images/06052026/18/17/image_06052026_18_18_06_30269.jpg
/home/pi/Desktop/images/06052026/18/14/image_06052026_18_14_36_30393.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814658","1416814652","1416814661","1416814654","1416814656","1416814650"],"photo_ids_order":["1416814650","1416814652","1416814654","1416814656","1416814658","1416814661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75fcd1bf3483fba4f1a5d1acf4d0f51f.jpg","text":"TemporaryFile(/tmp/multipartBody8860770706809694194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_18_06_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b44ebbe8f02f6696d792a1f495142586.jpg","text":"TemporaryFile(/tmp/multipartBody1473641438740128441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_33_36_30406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ad6f26a3e67b03fa3ee80a4bb6e6ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2309742132790816469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_14_36_30393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e52fd57e2f592d33ebe4cdcc2340406.jpg","text":"TemporaryFile(/tmp/multipartBody7573732926342894646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_33_05_30391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/898df496d8f80dd5aa618ba2afe18cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6209770113250791545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_30_36_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2b0ba6588b10d546d06e94681af18f5.jpg","text":"TemporaryFile(/tmp/multipartBody7373332223718700200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477526191,"filename":"image_06052026_18_35_35_29229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814654","file1":"1416814652","file0":"1416814650","file4":"1416814658","file5":"1416814661","file3":"1416814656"},"map_files_photo_id_array":[{"photo_id":"1416814661","filename":"file5"},{"photo_id":"1416814654","filename":"file2"},{"photo_id":"1416814658","filename":"file4"},{"photo_id":"1416814652","filename":"file1"},{"photo_id":"1416814650","filename":"file0"},{"photo_id":"1416814656","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814658":["hashtag1","hashtag2"]},{"1416814652":["hashtag1","hashtag2"]},{"1416814661":["hashtag1","hashtag2"]},{"1416814654":["hashtag1","hashtag2"]},{"1416814656":["hashtag1","hashtag2"]},{"1416814650":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814658, 1416814652, 1416814661, 1416814654, 1416814656, 1416814650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08119606971741 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:32:03.690752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/18/13/image_06052026_18_14_05_30423.jpg', '/home/pi/Desktop/images/06052026/18/10/image_06052026_18_11_05_30339.jpg', '/home/pi/Desktop/images/06052026/18/08/image_06052026_18_09_05_29268.jpg', '/home/pi/Desktop/images/06052026/17/59/image_06052026_18_00_06_30335.jpg', '/home/pi/Desktop/images/06052026/17/52/image_06052026_17_53_05_29299.jpg', '/home/pi/Desktop/images/06052026/17/52/image_06052026_17_52_36_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/18/13/image_06052026_18_14_05_30423.jpg
/home/pi/Desktop/images/06052026/18/10/image_06052026_18_11_05_30339.jpg
/home/pi/Desktop/images/06052026/18/08/image_06052026_18_09_05_29268.jpg
/home/pi/Desktop/images/06052026/17/59/image_06052026_18_00_06_30335.jpg
/home/pi/Desktop/images/06052026/17/52/image_06052026_17_53_05_29299.jpg
/home/pi/Desktop/images/06052026/17/52/image_06052026_17_52_36_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814673","1416814667","1416814675","1416814669","1416814671","1416814677"],"photo_ids_order":["1416814667","1416814669","1416814671","1416814673","1416814675","1416814677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/792bac4a2f1118473875a5da04b2505b.jpg","text":"TemporaryFile(/tmp/multipartBody4311025889016369504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_18_00_06_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d699f9982f8af69f902a161b3ffcb5dd.jpg","text":"TemporaryFile(/tmp/multipartBody8886864408401035055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_18_14_05_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b27e352226237dd30dc047f471fcd879.jpg","text":"TemporaryFile(/tmp/multipartBody5387174471794709109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_17_53_05_29299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/78b581b44d4ee46212d4e757f938887d.jpg","text":"TemporaryFile(/tmp/multipartBody7769632915164072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_18_11_05_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6095decee96c5e785acd27048712218.jpg","text":"TemporaryFile(/tmp/multipartBody7863575552847336948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_18_09_05_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9d5758b606b0772ce28de1c0212d7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7719020325171337121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477585809,"filename":"image_06052026_17_52_36_30324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814671","file1":"1416814669","file0":"1416814667","file4":"1416814675","file5":"1416814677","file3":"1416814673"},"map_files_photo_id_array":[{"photo_id":"1416814677","filename":"file5"},{"photo_id":"1416814671","filename":"file2"},{"photo_id":"1416814675","filename":"file4"},{"photo_id":"1416814669","filename":"file1"},{"photo_id":"1416814667","filename":"file0"},{"photo_id":"1416814673","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814673":["hashtag1","hashtag2"]},{"1416814667":["hashtag1","hashtag2"]},{"1416814675":["hashtag1","hashtag2"]},{"1416814669":["hashtag1","hashtag2"]},{"1416814671":["hashtag1","hashtag2"]},{"1416814677":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814673, 1416814667, 1416814675, 1416814669, 1416814671, 1416814677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0325026512146 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:33:03.809696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/49/image_06052026_17_49_36_30361.jpg', '/home/pi/Desktop/images/06052026/17/44/image_06052026_17_45_05_29214.jpg', '/home/pi/Desktop/images/06052026/17/42/image_06052026_17_43_06_30278.jpg', '/home/pi/Desktop/images/06052026/17/41/image_06052026_17_41_35_29305.jpg', '/home/pi/Desktop/images/06052026/17/40/image_06052026_17_41_06_30373.jpg', '/home/pi/Desktop/images/06052026/17/40/image_06052026_17_40_35_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/49/image_06052026_17_49_36_30361.jpg
/home/pi/Desktop/images/06052026/17/44/image_06052026_17_45_05_29214.jpg
/home/pi/Desktop/images/06052026/17/42/image_06052026_17_43_06_30278.jpg
/home/pi/Desktop/images/06052026/17/41/image_06052026_17_41_35_29305.jpg
/home/pi/Desktop/images/06052026/17/40/image_06052026_17_41_06_30373.jpg
/home/pi/Desktop/images/06052026/17/40/image_06052026_17_40_35_30275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416814685","1416814679","1416814687","1416814681","1416814689","1416814683"],"photo_ids_order":["1416814679","1416814681","1416814683","1416814685","1416814687","1416814689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bcc235a37396d1b3b06c9e5aaa3c4415.jpg","text":"TemporaryFile(/tmp/multipartBody5732029075798415521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_41_35_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ccc0e2365a95ff0fdedbcf755bedd4a.jpg","text":"TemporaryFile(/tmp/multipartBody5193813203420522688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_49_36_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8be5d32a6c8e43c8a013ad9afbfec1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5390020797437911122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_41_06_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e34d3ef2c781e9bc246b7b790755492.jpg","text":"TemporaryFile(/tmp/multipartBody1279084240342021137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_45_05_29214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5259e1926063fc1b7691f2f7a4e3e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7170619811647859043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_40_35_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81de2fa0bd4aba84a2c586e0e097d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody1336549389101425822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477645838,"filename":"image_06052026_17_43_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416814683","file1":"1416814681","file0":"1416814679","file4":"1416814687","file5":"1416814689","file3":"1416814685"},"map_files_photo_id_array":[{"photo_id":"1416814689","filename":"file5"},{"photo_id":"1416814683","filename":"file2"},{"photo_id":"1416814687","filename":"file4"},{"photo_id":"1416814681","filename":"file1"},{"photo_id":"1416814679","filename":"file0"},{"photo_id":"1416814685","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416814685":["hashtag1","hashtag2"]},{"1416814679":["hashtag1","hashtag2"]},{"1416814687":["hashtag1","hashtag2"]},{"1416814681":["hashtag1","hashtag2"]},{"1416814689":["hashtag1","hashtag2"]},{"1416814683":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416814685, 1416814679, 1416814687, 1416814681, 1416814689, 1416814683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4947555065155 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:34:03.091113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/34/image_06052026_17_34_35_30344.jpg', '/home/pi/Desktop/images/06052026/17/31/image_06052026_17_31_35_30433.jpg', '/home/pi/Desktop/images/06052026/17/30/image_06052026_17_30_36_30415.jpg', '/home/pi/Desktop/images/06052026/17/25/image_06052026_17_25_35_30246.jpg', '/home/pi/Desktop/images/06052026/17/24/image_06052026_17_24_36_30286.jpg', '/home/pi/Desktop/images/06052026/17/23/image_06052026_17_24_06_30330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/34/image_06052026_17_34_35_30344.jpg
/home/pi/Desktop/images/06052026/17/31/image_06052026_17_31_35_30433.jpg
/home/pi/Desktop/images/06052026/17/30/image_06052026_17_30_36_30415.jpg
/home/pi/Desktop/images/06052026/17/25/image_06052026_17_25_35_30246.jpg
/home/pi/Desktop/images/06052026/17/24/image_06052026_17_24_36_30286.jpg
/home/pi/Desktop/images/06052026/17/23/image_06052026_17_24_06_30330.jpg
2026-05-11 07:34:03.266771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg', '/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg', '/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg', '/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg
/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg
/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg
/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3652431964874268 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416815435","1416815491","1416815494","1416815488","1416815470","1416815437"],"photo_ids_order":["1416815435","1416815437","1416815470","1416815488","1416815491","1416815494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93902aecd46e06f7c488bff7aa7eebeb.jpg","text":"TemporaryFile(/tmp/multipartBody8228377312868179958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_34_35_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8a1938f255cc8c7785bcd4189b1ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody1149009661541066814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_24_36_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dce76b3cf01e09f5c9d87f6aa06bd82d.jpg","text":"TemporaryFile(/tmp/multipartBody9069300805097424831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_24_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5159d1c4751ee8c7217cf55db44937e9.jpg","text":"TemporaryFile(/tmp/multipartBody4774600076316054537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_25_35_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e45dff0befec1c00e1f7c6384003dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7452041800730799795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_30_36_30415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/348a0baaee28f36bc5e67a92d902d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody2119821713454739705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477705685,"filename":"image_06052026_17_31_35_30433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416815470","file1":"1416815437","file0":"1416815435","file4":"1416815491","file5":"1416815494","file3":"1416815488"},"map_files_photo_id_array":[{"photo_id":"1416815494","filename":"file5"},{"photo_id":"1416815470","filename":"file2"},{"photo_id":"1416815491","filename":"file4"},{"photo_id":"1416815437","filename":"file1"},{"photo_id":"1416815435","filename":"file0"},{"photo_id":"1416815488","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416815435":["hashtag1","hashtag2"]},{"1416815491":["hashtag1","hashtag2"]},{"1416815494":["hashtag1","hashtag2"]},{"1416815488":["hashtag1","hashtag2"]},{"1416815470":["hashtag1","hashtag2"]},{"1416815437":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416815435, 1416815491, 1416815494, 1416815488, 1416815470, 1416815437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.049516439437866 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:35:03.479044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/23/image_06052026_17_23_35_30278.jpg', '/home/pi/Desktop/images/06052026/17/22/image_06052026_17_23_05_29223.jpg', '/home/pi/Desktop/images/06052026/17/22/image_06052026_17_22_36_30294.jpg', '/home/pi/Desktop/images/06052026/17/21/image_06052026_17_22_05_30325.jpg', '/home/pi/Desktop/images/06052026/17/21/image_06052026_17_21_35_30318.jpg', '/home/pi/Desktop/images/06052026/17/20/image_06052026_17_21_05_29183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/23/image_06052026_17_23_35_30278.jpg
/home/pi/Desktop/images/06052026/17/22/image_06052026_17_23_05_29223.jpg
/home/pi/Desktop/images/06052026/17/22/image_06052026_17_22_36_30294.jpg
/home/pi/Desktop/images/06052026/17/21/image_06052026_17_22_05_30325.jpg
/home/pi/Desktop/images/06052026/17/21/image_06052026_17_21_35_30318.jpg
/home/pi/Desktop/images/06052026/17/20/image_06052026_17_21_05_29183.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416815504","1416815497","1416815506","1416815500","1416815502","1416815498"],"photo_ids_order":["1416815497","1416815498","1416815500","1416815502","1416815504","1416815506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3aecb5cf896ef39e68e9e975a314d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2942409613674638972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_21_35_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bad0f4ec8bed88085946935af5a8bf38.jpg","text":"TemporaryFile(/tmp/multipartBody2013724057133689406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_23_35_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d4fc7e50ad14e01ce98375d02c952a1.jpg","text":"TemporaryFile(/tmp/multipartBody8747268447200083043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_21_05_29183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/71753d9d37e64be0599c14c0fb69f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4326945344313076187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_22_36_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89bd82cfe71e8a7b736de221ea8ebc0d.jpg","text":"TemporaryFile(/tmp/multipartBody416633606117310594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_22_05_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/01711c22654cdbd3822753df0eab2100.jpg","text":"TemporaryFile(/tmp/multipartBody616742811257238430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477765635,"filename":"image_06052026_17_23_05_29223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416815500","file1":"1416815498","file0":"1416815497","file4":"1416815504","file5":"1416815506","file3":"1416815502"},"map_files_photo_id_array":[{"photo_id":"1416815506","filename":"file5"},{"photo_id":"1416815500","filename":"file2"},{"photo_id":"1416815504","filename":"file4"},{"photo_id":"1416815498","filename":"file1"},{"photo_id":"1416815497","filename":"file0"},{"photo_id":"1416815502","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416815504":["hashtag1","hashtag2"]},{"1416815497":["hashtag1","hashtag2"]},{"1416815506":["hashtag1","hashtag2"]},{"1416815500":["hashtag1","hashtag2"]},{"1416815502":["hashtag1","hashtag2"]},{"1416815498":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416815504, 1416815497, 1416815506, 1416815500, 1416815502, 1416815498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78809142112732 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:36:02.907308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/20/image_06052026_17_20_36_30290.jpg', '/home/pi/Desktop/images/06052026/17/18/image_06052026_17_19_06_30391.jpg', '/home/pi/Desktop/images/06052026/17/17/image_06052026_17_18_05_29333.jpg', '/home/pi/Desktop/images/06052026/17/16/image_06052026_17_17_05_30368.jpg', '/home/pi/Desktop/images/06052026/17/16/image_06052026_17_16_35_29164.jpg', '/home/pi/Desktop/images/06052026/17/15/image_06052026_17_16_06_30105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/20/image_06052026_17_20_36_30290.jpg
/home/pi/Desktop/images/06052026/17/18/image_06052026_17_19_06_30391.jpg
/home/pi/Desktop/images/06052026/17/17/image_06052026_17_18_05_29333.jpg
/home/pi/Desktop/images/06052026/17/16/image_06052026_17_17_05_30368.jpg
/home/pi/Desktop/images/06052026/17/16/image_06052026_17_16_35_29164.jpg
/home/pi/Desktop/images/06052026/17/15/image_06052026_17_16_06_30105.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416815513","1416815519","1416815515","1416815509","1416815517","1416815511"],"photo_ids_order":["1416815509","1416815511","1416815513","1416815515","1416815517","1416815519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e6854f8911a7937f149f2a7df9432a1.jpg","text":"TemporaryFile(/tmp/multipartBody7286421570829399066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_18_05_29333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea4db9b0a59809ec0407209d0baba5a5.jpg","text":"TemporaryFile(/tmp/multipartBody1682634033289675098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_16_06_30105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18b6f37577e2984d6da91668f89c6423.jpg","text":"TemporaryFile(/tmp/multipartBody1776128306007517785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_17_05_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c69c39eb6eef9333924430a1bb5614cd.jpg","text":"TemporaryFile(/tmp/multipartBody6878435746703017276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_20_36_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0fec302eb4a11d46140c00cd8c021472.jpg","text":"TemporaryFile(/tmp/multipartBody1056644342980943395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_16_35_29164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/01adf06c916d1d71cf14586855e4adef.jpg","text":"TemporaryFile(/tmp/multipartBody6593621570250927560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477824916,"filename":"image_06052026_17_19_06_30391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416815513","file1":"1416815511","file0":"1416815509","file4":"1416815517","file5":"1416815519","file3":"1416815515"},"map_files_photo_id_array":[{"photo_id":"1416815519","filename":"file5"},{"photo_id":"1416815513","filename":"file2"},{"photo_id":"1416815517","filename":"file4"},{"photo_id":"1416815511","filename":"file1"},{"photo_id":"1416815509","filename":"file0"},{"photo_id":"1416815515","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416815513":["hashtag1","hashtag2"]},{"1416815519":["hashtag1","hashtag2"]},{"1416815515":["hashtag1","hashtag2"]},{"1416815509":["hashtag1","hashtag2"]},{"1416815517":["hashtag1","hashtag2"]},{"1416815511":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416815513, 1416815519, 1416815515, 1416815509, 1416815517, 1416815511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.502408266067505 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:37:03.851719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/15/image_06052026_17_15_36_30319.jpg', '/home/pi/Desktop/images/06052026/17/14/image_06052026_17_15_05_30320.jpg', '/home/pi/Desktop/images/06052026/17/14/image_06052026_17_14_35_29305.jpg', '/home/pi/Desktop/images/06052026/17/13/image_06052026_17_14_06_30273.jpg', '/home/pi/Desktop/images/06052026/17/13/image_06052026_17_13_35_30275.jpg', '/home/pi/Desktop/images/06052026/17/12/image_06052026_17_13_05_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/15/image_06052026_17_15_36_30319.jpg
/home/pi/Desktop/images/06052026/17/14/image_06052026_17_15_05_30320.jpg
/home/pi/Desktop/images/06052026/17/14/image_06052026_17_14_35_29305.jpg
/home/pi/Desktop/images/06052026/17/13/image_06052026_17_14_06_30273.jpg
/home/pi/Desktop/images/06052026/17/13/image_06052026_17_13_35_30275.jpg
/home/pi/Desktop/images/06052026/17/12/image_06052026_17_13_05_30294.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5881595611572266 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:38:03.164791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/15/image_06052026_17_15_36_30319.jpg', '/home/pi/Desktop/images/06052026/17/14/image_06052026_17_15_05_30320.jpg', '/home/pi/Desktop/images/06052026/17/14/image_06052026_17_14_35_29305.jpg', '/home/pi/Desktop/images/06052026/17/13/image_06052026_17_14_06_30273.jpg', '/home/pi/Desktop/images/06052026/17/13/image_06052026_17_13_35_30275.jpg', '/home/pi/Desktop/images/06052026/17/12/image_06052026_17_13_05_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/15/image_06052026_17_15_36_30319.jpg
/home/pi/Desktop/images/06052026/17/14/image_06052026_17_15_05_30320.jpg
/home/pi/Desktop/images/06052026/17/14/image_06052026_17_14_35_29305.jpg
/home/pi/Desktop/images/06052026/17/13/image_06052026_17_14_06_30273.jpg
/home/pi/Desktop/images/06052026/17/13/image_06052026_17_13_35_30275.jpg
/home/pi/Desktop/images/06052026/17/12/image_06052026_17_13_05_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816101","1416816097","1416816199","1416816156","1416816243","1416816225"],"photo_ids_order":["1416816097","1416816101","1416816156","1416816199","1416816225","1416816243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb64a546f41ddd136c31009a4eba2d89.jpg","text":"TemporaryFile(/tmp/multipartBody2726631543979932669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_15_05_30320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a69d48f3961bd86d37a108b63c26d76.jpg","text":"TemporaryFile(/tmp/multipartBody8945360745977531988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_15_36_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96a9b05f0fab1fb7bc2320e347d995c4.jpg","text":"TemporaryFile(/tmp/multipartBody5143048685543930363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_14_06_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5754eb0e4c3a9fe53bc152cd3ea3075.jpg","text":"TemporaryFile(/tmp/multipartBody8843605014846242270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_14_35_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc5a7ee1c3d0de838079ebad46be5ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3392495361761049510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_13_05_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b20092fb64b425059ed0417c2658fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1851520458176053157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778477945107,"filename":"image_06052026_17_13_35_30275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816156","file1":"1416816101","file0":"1416816097","file4":"1416816225","file5":"1416816243","file3":"1416816199"},"map_files_photo_id_array":[{"photo_id":"1416816243","filename":"file5"},{"photo_id":"1416816156","filename":"file2"},{"photo_id":"1416816225","filename":"file4"},{"photo_id":"1416816101","filename":"file1"},{"photo_id":"1416816097","filename":"file0"},{"photo_id":"1416816199","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816101":["hashtag1","hashtag2"]},{"1416816097":["hashtag1","hashtag2"]},{"1416816199":["hashtag1","hashtag2"]},{"1416816156":["hashtag1","hashtag2"]},{"1416816243":["hashtag1","hashtag2"]},{"1416816225":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816101, 1416816097, 1416816199, 1416816156, 1416816243, 1416816225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.74364423751831 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:39:03.984768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/12/image_06052026_17_12_35_29209.jpg', '/home/pi/Desktop/images/06052026/17/11/image_06052026_17_11_35_30423.jpg', '/home/pi/Desktop/images/06052026/17/10/image_06052026_17_11_05_29261.jpg', '/home/pi/Desktop/images/06052026/17/10/image_06052026_17_10_36_30235.jpg', '/home/pi/Desktop/images/06052026/17/09/image_06052026_17_10_05_30257.jpg', '/home/pi/Desktop/images/06052026/17/09/image_06052026_17_09_35_29298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/12/image_06052026_17_12_35_29209.jpg
/home/pi/Desktop/images/06052026/17/11/image_06052026_17_11_35_30423.jpg
/home/pi/Desktop/images/06052026/17/10/image_06052026_17_11_05_29261.jpg
/home/pi/Desktop/images/06052026/17/10/image_06052026_17_10_36_30235.jpg
/home/pi/Desktop/images/06052026/17/09/image_06052026_17_10_05_30257.jpg
/home/pi/Desktop/images/06052026/17/09/image_06052026_17_09_35_29298.jpg
2026-05-11 07:39:04.061896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg', '/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg', '/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg', '/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg
/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg
/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg
/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.530916929244995 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816256","1416816259","1416816250","1416816253","1416816247","1416816245"],"photo_ids_order":["1416816245","1416816247","1416816250","1416816253","1416816256","1416816259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a36adb7978e9fefc3ab9f311f43015b.jpg","text":"TemporaryFile(/tmp/multipartBody9055159545128756587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_10_05_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7089b72c5e6069d838537bcc620ad0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8104724950946178138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_09_35_29298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a218406a65bc2f04c7a9286af96ae082.jpg","text":"TemporaryFile(/tmp/multipartBody1094236443636996542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_11_05_29261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba4bf2fb30bb6191709b3b8034e82b62.jpg","text":"TemporaryFile(/tmp/multipartBody5143226604947902988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_10_36_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00d525c9430596767d9f3ff6c913c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody4698185112528578428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_11_35_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0943d36946bbd9e364d8c2173c9fdeb6.jpg","text":"TemporaryFile(/tmp/multipartBody3274990660261219073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478006860,"filename":"image_06052026_17_12_35_29209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816250","file1":"1416816247","file0":"1416816245","file4":"1416816256","file5":"1416816259","file3":"1416816253"},"map_files_photo_id_array":[{"photo_id":"1416816259","filename":"file5"},{"photo_id":"1416816250","filename":"file2"},{"photo_id":"1416816256","filename":"file4"},{"photo_id":"1416816247","filename":"file1"},{"photo_id":"1416816245","filename":"file0"},{"photo_id":"1416816253","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816256":["hashtag1","hashtag2"]},{"1416816259":["hashtag1","hashtag2"]},{"1416816250":["hashtag1","hashtag2"]},{"1416816253":["hashtag1","hashtag2"]},{"1416816247":["hashtag1","hashtag2"]},{"1416816245":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816256, 1416816259, 1416816250, 1416816253, 1416816247, 1416816245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24341559410095 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:40:03.630451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/08/image_06052026_17_08_35_30251.jpg', '/home/pi/Desktop/images/06052026/17/07/image_06052026_17_08_05_30326.jpg', '/home/pi/Desktop/images/06052026/17/07/image_06052026_17_07_35_29315.jpg', '/home/pi/Desktop/images/06052026/17/05/image_06052026_17_05_36_30335.jpg', '/home/pi/Desktop/images/06052026/17/04/image_06052026_17_05_05_30295.jpg', '/home/pi/Desktop/images/06052026/17/03/image_06052026_17_03_36_30332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/08/image_06052026_17_08_35_30251.jpg
/home/pi/Desktop/images/06052026/17/07/image_06052026_17_08_05_30326.jpg
/home/pi/Desktop/images/06052026/17/07/image_06052026_17_07_35_29315.jpg
/home/pi/Desktop/images/06052026/17/05/image_06052026_17_05_36_30335.jpg
/home/pi/Desktop/images/06052026/17/04/image_06052026_17_05_05_30295.jpg
/home/pi/Desktop/images/06052026/17/03/image_06052026_17_03_36_30332.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816268","1416816262","1416816270","1416816264","1416816272","1416816266"],"photo_ids_order":["1416816262","1416816264","1416816266","1416816268","1416816270","1416816272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46c973a29cb62faf02ef2c590654fd36.jpg","text":"TemporaryFile(/tmp/multipartBody7625122486778063072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_05_36_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20fe7bf781a0d5ecd4c68d10b6743ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6954533419798525377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_08_35_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/811f339b248ff66876fe048058f92dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4516501870682627324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_05_05_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2ac0fc039f7a7e774e824f3f0ea0918.jpg","text":"TemporaryFile(/tmp/multipartBody7427096701099030913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_08_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/527e58e5ca29fba29b9732e1e98d4bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4721071158709023681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_03_36_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70165a6828fa2eabdb01f4b430123437.jpg","text":"TemporaryFile(/tmp/multipartBody5506532256221521097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478065873,"filename":"image_06052026_17_07_35_29315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816266","file1":"1416816264","file0":"1416816262","file4":"1416816270","file5":"1416816272","file3":"1416816268"},"map_files_photo_id_array":[{"photo_id":"1416816272","filename":"file5"},{"photo_id":"1416816266","filename":"file2"},{"photo_id":"1416816270","filename":"file4"},{"photo_id":"1416816264","filename":"file1"},{"photo_id":"1416816262","filename":"file0"},{"photo_id":"1416816268","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816268":["hashtag1","hashtag2"]},{"1416816262":["hashtag1","hashtag2"]},{"1416816270":["hashtag1","hashtag2"]},{"1416816264":["hashtag1","hashtag2"]},{"1416816272":["hashtag1","hashtag2"]},{"1416816266":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816268, 1416816262, 1416816270, 1416816264, 1416816272, 1416816266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87702298164368 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:41:03.695207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/25/image_11052026_07_26_14_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/25/image_11052026_07_26_14_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816366"],"photo_id":"1416816366","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1163ba72eaea7ff75122c5ddb0aa600.jpg","text":"TemporaryFile(/tmp/multipartBody8248351158897020862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478124713,"filename":"image_11052026_07_26_14_30336.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416816366"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416816366"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.929546594619751 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:42:03.413289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/17/01/image_06052026_17_01_36_30384.jpg', '/home/pi/Desktop/images/06052026/17/00/image_06052026_17_01_05_30279.jpg', '/home/pi/Desktop/images/06052026/16/58/image_06052026_16_59_05_29267.jpg', '/home/pi/Desktop/images/06052026/16/55/image_06052026_16_55_35_29193.jpg', '/home/pi/Desktop/images/06052026/16/51/image_06052026_16_51_36_30325.jpg', '/home/pi/Desktop/images/06052026/16/50/image_06052026_16_51_05_30333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/17/01/image_06052026_17_01_36_30384.jpg
/home/pi/Desktop/images/06052026/17/00/image_06052026_17_01_05_30279.jpg
/home/pi/Desktop/images/06052026/16/58/image_06052026_16_59_05_29267.jpg
/home/pi/Desktop/images/06052026/16/55/image_06052026_16_55_35_29193.jpg
/home/pi/Desktop/images/06052026/16/51/image_06052026_16_51_36_30325.jpg
/home/pi/Desktop/images/06052026/16/50/image_06052026_16_51_05_30333.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816565","1416816559","1416816561","1416816555","1416816563","1416816557"],"photo_ids_order":["1416816555","1416816557","1416816559","1416816561","1416816563","1416816565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d2c389d56ba2364f265ffa67af3d61b.jpg","text":"TemporaryFile(/tmp/multipartBody6562664752099553678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_16_51_05_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02801a93c14c67a045db30e2260571ac.jpg","text":"TemporaryFile(/tmp/multipartBody3072486865677991235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_16_59_05_29267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/251ca974e9c46efb262058200c75a433.jpg","text":"TemporaryFile(/tmp/multipartBody2358521763158324158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_16_55_35_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/437df8a06ebb87ec5c2592612bfd835f.jpg","text":"TemporaryFile(/tmp/multipartBody9168419262370718488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_17_01_36_30384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3b50d9f56ac01afea5fe46d8f9a0c52.jpg","text":"TemporaryFile(/tmp/multipartBody8026655920210241378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_16_51_36_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b4a410e093bc0674497574174112728.jpg","text":"TemporaryFile(/tmp/multipartBody5670947603664952645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478185362,"filename":"image_06052026_17_01_05_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816559","file1":"1416816557","file0":"1416816555","file4":"1416816563","file5":"1416816565","file3":"1416816561"},"map_files_photo_id_array":[{"photo_id":"1416816565","filename":"file5"},{"photo_id":"1416816559","filename":"file2"},{"photo_id":"1416816563","filename":"file4"},{"photo_id":"1416816557","filename":"file1"},{"photo_id":"1416816555","filename":"file0"},{"photo_id":"1416816561","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816565":["hashtag1","hashtag2"]},{"1416816559":["hashtag1","hashtag2"]},{"1416816561":["hashtag1","hashtag2"]},{"1416816555":["hashtag1","hashtag2"]},{"1416816563":["hashtag1","hashtag2"]},{"1416816557":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816565, 1416816559, 1416816561, 1416816555, 1416816563, 1416816557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81807470321655 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:43:03.709306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/46/image_06052026_16_47_06_30317.jpg', '/home/pi/Desktop/images/06052026/16/46/image_06052026_16_46_35_30286.jpg', '/home/pi/Desktop/images/06052026/16/45/image_06052026_16_46_05_29257.jpg', '/home/pi/Desktop/images/06052026/16/45/image_06052026_16_45_36_30400.jpg', '/home/pi/Desktop/images/06052026/16/44/image_06052026_16_44_35_29242.jpg', '/home/pi/Desktop/images/06052026/16/43/image_06052026_16_43_35_30409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/46/image_06052026_16_47_06_30317.jpg
/home/pi/Desktop/images/06052026/16/46/image_06052026_16_46_35_30286.jpg
/home/pi/Desktop/images/06052026/16/45/image_06052026_16_46_05_29257.jpg
/home/pi/Desktop/images/06052026/16/45/image_06052026_16_45_36_30400.jpg
/home/pi/Desktop/images/06052026/16/44/image_06052026_16_44_35_29242.jpg
/home/pi/Desktop/images/06052026/16/43/image_06052026_16_43_35_30409.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816571","1416816570","1416816567","1416816581","1416816575","1416816578"],"photo_ids_order":["1416816567","1416816570","1416816571","1416816575","1416816578","1416816581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/08e1be7c7092dc15111ee261dd84b266.jpg","text":"TemporaryFile(/tmp/multipartBody3695485252958595106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_46_05_29257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00261acd9abcdbf02310994966a382fd.jpg","text":"TemporaryFile(/tmp/multipartBody1442321527344617482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_46_35_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75e953282c4ddeeaa1b47f40d2b6d699.jpg","text":"TemporaryFile(/tmp/multipartBody430569607576680135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_47_06_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e1984c23d10621936f50f19fd513796.jpg","text":"TemporaryFile(/tmp/multipartBody3373629209941860817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_43_35_30409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/598c33e094a70339dfc81d0bf40ba8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4664310296898802118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_45_36_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b142891ac862c903f414c2578acbffe.jpg","text":"TemporaryFile(/tmp/multipartBody9046887453967240234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478245591,"filename":"image_06052026_16_44_35_29242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816571","file1":"1416816570","file0":"1416816567","file4":"1416816578","file5":"1416816581","file3":"1416816575"},"map_files_photo_id_array":[{"photo_id":"1416816581","filename":"file5"},{"photo_id":"1416816571","filename":"file2"},{"photo_id":"1416816578","filename":"file4"},{"photo_id":"1416816570","filename":"file1"},{"photo_id":"1416816567","filename":"file0"},{"photo_id":"1416816575","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816571":["hashtag1","hashtag2"]},{"1416816570":["hashtag1","hashtag2"]},{"1416816567":["hashtag1","hashtag2"]},{"1416816581":["hashtag1","hashtag2"]},{"1416816575":["hashtag1","hashtag2"]},{"1416816578":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816571, 1416816570, 1416816567, 1416816581, 1416816575, 1416816578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.048789978027344 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:44:03.045572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg', '/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg', '/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg', '/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg', '/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/26/image_06052026_16_27_05_30307.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_27_36_30422.jpg
/home/pi/Desktop/images/06052026/16/27/image_06052026_16_28_05_29239.jpg
/home/pi/Desktop/images/06052026/16/29/image_06052026_16_29_35_29271.jpg
/home/pi/Desktop/images/06052026/16/32/image_06052026_16_32_35_29135.jpg
/home/pi/Desktop/images/06052026/16/35/image_06052026_16_36_05_29230.jpg
2026-05-11 07:44:03.104676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/42/image_06052026_16_43_05_30279.jpg', '/home/pi/Desktop/images/06052026/16/42/image_06052026_16_42_35_29246.jpg', '/home/pi/Desktop/images/06052026/16/41/image_06052026_16_42_06_30284.jpg', '/home/pi/Desktop/images/06052026/16/41/image_06052026_16_41_35_30346.jpg', '/home/pi/Desktop/images/06052026/16/38/image_06052026_16_38_35_30277.jpg', '/home/pi/Desktop/images/06052026/16/37/image_06052026_16_38_05_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/42/image_06052026_16_43_05_30279.jpg
/home/pi/Desktop/images/06052026/16/42/image_06052026_16_42_35_29246.jpg
/home/pi/Desktop/images/06052026/16/41/image_06052026_16_42_06_30284.jpg
/home/pi/Desktop/images/06052026/16/41/image_06052026_16_41_35_30346.jpg
/home/pi/Desktop/images/06052026/16/38/image_06052026_16_38_35_30277.jpg
/home/pi/Desktop/images/06052026/16/37/image_06052026_16_38_05_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816583","1416816597","1416816600","1416816590","1416816593","1416816587"],"photo_ids_order":["1416816583","1416816587","1416816590","1416816593","1416816597","1416816600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2963f472d11f37bd5b938e4dc4731be4.jpg","text":"TemporaryFile(/tmp/multipartBody8730303390541571717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_27_05_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5285df6e155791137fcb816923cd09db.jpg","text":"TemporaryFile(/tmp/multipartBody2992100362167944077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_32_35_29135.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ff12689c8abbaa5639f3143a79ebefa.jpg","text":"TemporaryFile(/tmp/multipartBody1889703132860813508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_36_05_29230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/508777939c1ea42f30345bc30049725d.jpg","text":"TemporaryFile(/tmp/multipartBody169022990623513252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_28_05_29239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e98b0bb05cc123002d0707d6f2a062f.jpg","text":"TemporaryFile(/tmp/multipartBody8184560975304253309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_29_35_29271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d20522eefbddd979edca20b8cc5caf2.jpg","text":"TemporaryFile(/tmp/multipartBody9201919123258120059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305547,"filename":"image_06052026_16_27_36_30422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816590","file1":"1416816587","file0":"1416816583","file4":"1416816597","file5":"1416816600","file3":"1416816593"},"map_files_photo_id_array":[{"photo_id":"1416816600","filename":"file5"},{"photo_id":"1416816590","filename":"file2"},{"photo_id":"1416816597","filename":"file4"},{"photo_id":"1416816587","filename":"file1"},{"photo_id":"1416816583","filename":"file0"},{"photo_id":"1416816593","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816583":["hashtag1","hashtag2"]},{"1416816597":["hashtag1","hashtag2"]},{"1416816600":["hashtag1","hashtag2"]},{"1416816590":["hashtag1","hashtag2"]},{"1416816593":["hashtag1","hashtag2"]},{"1416816587":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816583, 1416816597, 1416816600, 1416816590, 1416816593, 1416816587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88002371788025 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816598","1416816601","1416816594","1416816588","1416816591","1416816584"],"photo_ids_order":["1416816584","1416816588","1416816591","1416816594","1416816598","1416816601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa557e5252eb7d2dbd8cd2aab9097729.jpg","text":"TemporaryFile(/tmp/multipartBody2757587452979374901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_38_35_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/adf5fba8985d4e1399ff641dae7eab42.jpg","text":"TemporaryFile(/tmp/multipartBody8947685812827115869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_38_05_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e006644f7588fb4bcd493522bd17adb.jpg","text":"TemporaryFile(/tmp/multipartBody5676959646598679251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_41_35_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c690a4e88629a01b286f790013ae1c36.jpg","text":"TemporaryFile(/tmp/multipartBody4766247347226055144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_42_35_29246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ec0ebd8e954df6273fac9d058cb83e8.jpg","text":"TemporaryFile(/tmp/multipartBody3986602585996273929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_42_06_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/515d5ff6cb294317586d6b9018b85526.jpg","text":"TemporaryFile(/tmp/multipartBody9114581798399626095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478305652,"filename":"image_06052026_16_43_05_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416816591","file1":"1416816588","file0":"1416816584","file4":"1416816598","file5":"1416816601","file3":"1416816594"},"map_files_photo_id_array":[{"photo_id":"1416816601","filename":"file5"},{"photo_id":"1416816591","filename":"file2"},{"photo_id":"1416816598","filename":"file4"},{"photo_id":"1416816588","filename":"file1"},{"photo_id":"1416816584","filename":"file0"},{"photo_id":"1416816594","filename":"file3"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816598":["hashtag1","hashtag2"]},{"1416816601":["hashtag1","hashtag2"]},{"1416816594":["hashtag1","hashtag2"]},{"1416816588":["hashtag1","hashtag2"]},{"1416816591":["hashtag1","hashtag2"]},{"1416816584":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816598, 1416816601, 1416816594, 1416816588, 1416816591, 1416816584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27668762207031 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:45:03.451553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/39/image_11052026_07_40_14_30212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/39/image_11052026_07_40_14_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816603"],"photo_id":"1416816603","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8230b6147e3da78a2fc14985f75520c8.jpg","text":"TemporaryFile(/tmp/multipartBody8114655487016837668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478364423,"filename":"image_11052026_07_40_14_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416816603"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416816603"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.496804475784302 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:46:03.203302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/43/image_11052026_07_44_14_30226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/43/image_11052026_07_44_14_30226.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816610"],"photo_id":"1416816610","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c8d9fbc81678422e30be2d18ddd2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7806765653348103597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478424215,"filename":"image_11052026_07_44_14_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416816610"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416816610"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.670232772827148 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:47:03.661034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/45/image_11052026_07_45_44_29296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/45/image_11052026_07_45_44_29296.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816617"],"photo_id":"1416816617","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34c915600a19cf27d4caa545ab2b5d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2112172788546133469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478484675,"filename":"image_11052026_07_45_44_29296.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416816617"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416816617"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.928689002990723 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:48:03.240522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050821
  datou_current_id : 4379883
in upload_from_sqlite, uploading in 31050821
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/16/37/image_06052026_16_37_35_29188.jpg', '/home/pi/Desktop/images/06052026/16/36/image_06052026_16_36_35_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379883&datou=0
/home/pi/Desktop/images/06052026/16/37/image_06052026_16_37_35_29188.jpg
/home/pi/Desktop/images/06052026/16/36/image_06052026_16_36_35_30387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416816620","1416816622"],"photo_ids_order":["1416816620","1416816622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/455b3d8aa5cccc1c8b412457a582c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8855092060106987273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478544641,"filename":"image_06052026_16_37_35_29188.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d2590e6c0747991eec0ef86a93fd4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4429821687258858516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478544641,"filename":"image_06052026_16_36_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416816622","file0":"1416816620"},"map_files_photo_id_array":[{"photo_id":"1416816622","filename":"file1"},{"photo_id":"1416816620","filename":"file0"}],"portfolio_id":31050821,"hashtag_by_photo_ids":[{"1416816620":["hashtag1","hashtag2"]},{"1416816622":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050821 used, photo_id : ArrayBuffer(1416816620, 1416816622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.692137718200684 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:49:04.817762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/48/image_11052026_07_49_14_30329.jpg', '/home/pi/Desktop/images/11052026/07/48/image_11052026_07_48_44_30348.jpg', '/home/pi/Desktop/images/11052026/07/46/image_11052026_07_46_44_30202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/48/image_11052026_07_49_14_30329.jpg
/home/pi/Desktop/images/11052026/07/48/image_11052026_07_48_44_30348.jpg
/home/pi/Desktop/images/11052026/07/46/image_11052026_07_46_44_30202.jpg
2026-05-11 07:49:04.821473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/46/image_11052026_07_46_44_30202.jpg', '/home/pi/Desktop/images/11052026/07/48/image_11052026_07_48_44_30348.jpg', '/home/pi/Desktop/images/11052026/07/48/image_11052026_07_49_14_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/46/image_11052026_07_46_44_30202.jpg
/home/pi/Desktop/images/11052026/07/48/image_11052026_07_48_44_30348.jpg
/home/pi/Desktop/images/11052026/07/48/image_11052026_07_49_14_30329.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4329047203063965 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416817345","1416817348","1416817346"],"photo_ids_order":["1416817345","1416817346","1416817348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/504eefb9b050dc09ba194730c6fda1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2212687378241546384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478606599,"filename":"image_11052026_07_46_44_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3710c2aa650790a89f692d7f4b05575.jpg","text":"TemporaryFile(/tmp/multipartBody5640796508965993134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478606599,"filename":"image_11052026_07_49_14_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2e64a7e7d16fca6d3180977121b1621.jpg","text":"TemporaryFile(/tmp/multipartBody644292013317598763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478606599,"filename":"image_11052026_07_48_44_30348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416817348","file1":"1416817346","file0":"1416817345"},"map_files_photo_id_array":[{"photo_id":"1416817348","filename":"file2"},{"photo_id":"1416817346","filename":"file1"},{"photo_id":"1416817345","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416817345":["hashtag1","hashtag2"]},{"1416817348":["hashtag1","hashtag2"]},{"1416817346":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416817345, 1416817348, 1416817346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.261731386184692 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:50:03.100487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_07052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 31051051, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778478664000}
4310
4379895
4310
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/57/image_07052026_23_58_05_30331.jpg', '/home/pi/Desktop/images/07052026/23/57/image_07052026_23_57_35_29238.jpg', '/home/pi/Desktop/images/07052026/23/56/image_07052026_23_57_06_30413.jpg', '/home/pi/Desktop/images/07052026/23/56/image_07052026_23_56_35_30387.jpg', '/home/pi/Desktop/images/07052026/23/55/image_07052026_23_56_05_29220.jpg', '/home/pi/Desktop/images/07052026/23/55/image_07052026_23_55_36_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/57/image_07052026_23_58_05_30331.jpg
/home/pi/Desktop/images/07052026/23/57/image_07052026_23_57_35_29238.jpg
/home/pi/Desktop/images/07052026/23/56/image_07052026_23_57_06_30413.jpg
/home/pi/Desktop/images/07052026/23/56/image_07052026_23_56_35_30387.jpg
/home/pi/Desktop/images/07052026/23/55/image_07052026_23_56_05_29220.jpg
/home/pi/Desktop/images/07052026/23/55/image_07052026_23_55_36_30224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416817567","1416817572","1416817569","1416817563","1416817571","1416817565"],"photo_ids_order":["1416817563","1416817565","1416817567","1416817569","1416817571","1416817572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d350e44167930b13ddad8b70cc97ae07.jpg","text":"TemporaryFile(/tmp/multipartBody7627658190416751072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_57_06_30413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f00f00a46a57f3aca795d139c762d9b.jpg","text":"TemporaryFile(/tmp/multipartBody8878353086140908108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_55_36_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4b88e091b4246a21305e9c51a1d3592.jpg","text":"TemporaryFile(/tmp/multipartBody2438717838098141833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_56_35_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e46d6581b1679bcf0b1df3e7e579f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5111604110697590051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_58_05_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11fbdbbf3ad96d1c39709d0dfee43227.jpg","text":"TemporaryFile(/tmp/multipartBody3358941267976108981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_56_05_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3c490cf526c28eeb81952084de9a05a.jpg","text":"TemporaryFile(/tmp/multipartBody8251166324129319741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478668744,"filename":"image_07052026_23_57_35_29238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416817567","file1":"1416817565","file0":"1416817563","file4":"1416817571","file5":"1416817572","file3":"1416817569"},"map_files_photo_id_array":[{"photo_id":"1416817572","filename":"file5"},{"photo_id":"1416817567","filename":"file2"},{"photo_id":"1416817571","filename":"file4"},{"photo_id":"1416817565","filename":"file1"},{"photo_id":"1416817563","filename":"file0"},{"photo_id":"1416817569","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416817567":["hashtag1","hashtag2"]},{"1416817572":["hashtag1","hashtag2"]},{"1416817569":["hashtag1","hashtag2"]},{"1416817563":["hashtag1","hashtag2"]},{"1416817571":["hashtag1","hashtag2"]},{"1416817565":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416817567, 1416817572, 1416817569, 1416817563, 1416817571, 1416817565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94262671470642 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:51:04.182363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/54/image_07052026_23_55_05_30306.jpg', '/home/pi/Desktop/images/07052026/23/53/image_07052026_23_54_05_29328.jpg', '/home/pi/Desktop/images/07052026/23/53/image_07052026_23_53_36_30356.jpg', '/home/pi/Desktop/images/07052026/23/52/image_07052026_23_53_05_30273.jpg', '/home/pi/Desktop/images/07052026/23/52/image_07052026_23_52_35_29309.jpg', '/home/pi/Desktop/images/07052026/23/51/image_07052026_23_52_06_30357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/54/image_07052026_23_55_05_30306.jpg
/home/pi/Desktop/images/07052026/23/53/image_07052026_23_54_05_29328.jpg
/home/pi/Desktop/images/07052026/23/53/image_07052026_23_53_36_30356.jpg
/home/pi/Desktop/images/07052026/23/52/image_07052026_23_53_05_30273.jpg
/home/pi/Desktop/images/07052026/23/52/image_07052026_23_52_35_29309.jpg
/home/pi/Desktop/images/07052026/23/51/image_07052026_23_52_06_30357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416817579","1416817575","1416817578","1416817577","1416817574","1416817576"],"photo_ids_order":["1416817574","1416817575","1416817576","1416817577","1416817578","1416817579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aaec02e398a949ae9f4f81ccc1b8f1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5364748744531447076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_52_06_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c4a71010601f268b0fd57fffc7bd786.jpg","text":"TemporaryFile(/tmp/multipartBody8401408714116616629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_54_05_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6931cce41db58338b8ce2641229e0426.jpg","text":"TemporaryFile(/tmp/multipartBody7441410373341794254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_52_35_29309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24ace65e0dc2f9e2c3098c0807c5b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6720626723907309130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_53_05_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/441dc1e83d782fc1420fb2d0bb941376.jpg","text":"TemporaryFile(/tmp/multipartBody7649548353940738749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_55_05_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e53f5cedecd31a470d99b2fad3f5712e.jpg","text":"TemporaryFile(/tmp/multipartBody1826853391152137682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478726817,"filename":"image_07052026_23_53_36_30356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416817576","file1":"1416817575","file0":"1416817574","file4":"1416817578","file5":"1416817579","file3":"1416817577"},"map_files_photo_id_array":[{"photo_id":"1416817579","filename":"file5"},{"photo_id":"1416817576","filename":"file2"},{"photo_id":"1416817578","filename":"file4"},{"photo_id":"1416817575","filename":"file1"},{"photo_id":"1416817574","filename":"file0"},{"photo_id":"1416817577","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416817579":["hashtag1","hashtag2"]},{"1416817575":["hashtag1","hashtag2"]},{"1416817578":["hashtag1","hashtag2"]},{"1416817577":["hashtag1","hashtag2"]},{"1416817574":["hashtag1","hashtag2"]},{"1416817576":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416817579, 1416817575, 1416817578, 1416817577, 1416817574, 1416817576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23111867904663 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:52:03.220860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/49/image_11052026_07_49_43_29218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/49/image_11052026_07_49_43_29218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416817582"],"photo_id":"1416817582","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81cddf4fec63e1d07e1a2928490b69b7.jpg","text":"TemporaryFile(/tmp/multipartBody2600711867107051345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478784210,"filename":"image_11052026_07_49_43_29218.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416817582"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416817582"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.545635461807251 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:53:04.184124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/51/image_07052026_23_51_35_30297.jpg', '/home/pi/Desktop/images/07052026/23/48/image_07052026_23_48_36_30289.jpg', '/home/pi/Desktop/images/07052026/23/47/image_07052026_23_47_35_29300.jpg', '/home/pi/Desktop/images/07052026/23/43/image_07052026_23_43_35_30300.jpg', '/home/pi/Desktop/images/07052026/23/42/image_07052026_23_42_36_30445.jpg', '/home/pi/Desktop/images/07052026/23/41/image_07052026_23_42_05_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/51/image_07052026_23_51_35_30297.jpg
/home/pi/Desktop/images/07052026/23/48/image_07052026_23_48_36_30289.jpg
/home/pi/Desktop/images/07052026/23/47/image_07052026_23_47_35_29300.jpg
/home/pi/Desktop/images/07052026/23/43/image_07052026_23_43_35_30300.jpg
/home/pi/Desktop/images/07052026/23/42/image_07052026_23_42_36_30445.jpg
/home/pi/Desktop/images/07052026/23/41/image_07052026_23_42_05_30282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416817591","1416817590","1416817593","1416817592","1416817589","1416817594"],"photo_ids_order":["1416817589","1416817590","1416817591","1416817592","1416817593","1416817594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb1fbef3e7e0e019086ca40e9528a58f.jpg","text":"TemporaryFile(/tmp/multipartBody3330577392127888801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_47_35_29300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb109f5f25ff743700d29b9380c9e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1755105730851558980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_48_36_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84df2c9a71091f391617c70d7771d4b1.jpg","text":"TemporaryFile(/tmp/multipartBody6448553544925411570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_42_36_30445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c0a8f3339c50bb6de363ef8ff184276.jpg","text":"TemporaryFile(/tmp/multipartBody3650795844933274744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_43_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90c0c8ddf09bf16a6b544493563d5270.jpg","text":"TemporaryFile(/tmp/multipartBody8413262051194733210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_51_35_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b043a9cf08fb9f0377c7455331bef373.jpg","text":"TemporaryFile(/tmp/multipartBody3735780720336551033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478846471,"filename":"image_07052026_23_42_05_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416817591","file1":"1416817590","file0":"1416817589","file4":"1416817593","file5":"1416817594","file3":"1416817592"},"map_files_photo_id_array":[{"photo_id":"1416817594","filename":"file5"},{"photo_id":"1416817591","filename":"file2"},{"photo_id":"1416817593","filename":"file4"},{"photo_id":"1416817590","filename":"file1"},{"photo_id":"1416817589","filename":"file0"},{"photo_id":"1416817592","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416817591":["hashtag1","hashtag2"]},{"1416817590":["hashtag1","hashtag2"]},{"1416817593":["hashtag1","hashtag2"]},{"1416817592":["hashtag1","hashtag2"]},{"1416817589":["hashtag1","hashtag2"]},{"1416817594":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416817591, 1416817590, 1416817593, 1416817592, 1416817589, 1416817594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20720958709717 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:54:03.024324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06052026/23/59/image_07052026_00_00_05_29379.jpg', '/home/pi/Desktop/images/07052026/00/00/image_07052026_00_00_35_30291.jpg', '/home/pi/Desktop/images/07052026/00/00/image_07052026_00_01_06_30335.jpg', '/home/pi/Desktop/images/07052026/00/02/image_07052026_00_02_36_30323.jpg', '/home/pi/Desktop/images/07052026/00/02/image_07052026_00_03_05_29249.jpg', '/home/pi/Desktop/images/07052026/00/03/image_07052026_00_04_06_30370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/06052026/23/59/image_07052026_00_00_05_29379.jpg
/home/pi/Desktop/images/07052026/00/00/image_07052026_00_00_35_30291.jpg
/home/pi/Desktop/images/07052026/00/00/image_07052026_00_01_06_30335.jpg
/home/pi/Desktop/images/07052026/00/02/image_07052026_00_02_36_30323.jpg
/home/pi/Desktop/images/07052026/00/02/image_07052026_00_03_05_29249.jpg
/home/pi/Desktop/images/07052026/00/03/image_07052026_00_04_06_30370.jpg
2026-05-11 07:54:03.058036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/40/image_07052026_23_41_06_30383.jpg', '/home/pi/Desktop/images/07052026/23/37/image_07052026_23_38_05_30244.jpg', '/home/pi/Desktop/images/07052026/23/37/image_07052026_23_37_35_30348.jpg', '/home/pi/Desktop/images/07052026/23/36/image_07052026_23_37_05_29160.jpg', '/home/pi/Desktop/images/07052026/23/35/image_07052026_23_36_06_30344.jpg', '/home/pi/Desktop/images/07052026/23/35/image_07052026_23_35_35_30322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/40/image_07052026_23_41_06_30383.jpg
/home/pi/Desktop/images/07052026/23/37/image_07052026_23_38_05_30244.jpg
/home/pi/Desktop/images/07052026/23/37/image_07052026_23_37_35_30348.jpg
/home/pi/Desktop/images/07052026/23/36/image_07052026_23_37_05_29160.jpg
/home/pi/Desktop/images/07052026/23/35/image_07052026_23_36_06_30344.jpg
/home/pi/Desktop/images/07052026/23/35/image_07052026_23_35_35_30322.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818223","1416818386","1416818380","1416818374","1416818383","1416818377"],"photo_ids_order":["1416818223","1416818374","1416818377","1416818380","1416818383","1416818386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44ed4b3a2901c22a56466534fcde1b44.jpg","text":"TemporaryFile(/tmp/multipartBody5833615107467016606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_41_06_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04b5fddbc7f95a41dca64acf66fe228a.jpg","text":"TemporaryFile(/tmp/multipartBody818622797224559910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_35_35_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c0f4de17c9c530b78866f2e12f3747f.jpg","text":"TemporaryFile(/tmp/multipartBody552870364347668317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_37_05_29160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8d8dc421184a7ec0802c287260bc0cf.jpg","text":"TemporaryFile(/tmp/multipartBody2840400520083114233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_38_05_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8af3853eab21287d2526333a20ba958b.jpg","text":"TemporaryFile(/tmp/multipartBody2906447130129063266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_36_06_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d67d85f915166aad79aa995c549f26b2.jpg","text":"TemporaryFile(/tmp/multipartBody2299709293800439808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478905456,"filename":"image_07052026_23_37_35_30348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416818377","file1":"1416818374","file0":"1416818223","file4":"1416818383","file5":"1416818386","file3":"1416818380"},"map_files_photo_id_array":[{"photo_id":"1416818386","filename":"file5"},{"photo_id":"1416818377","filename":"file2"},{"photo_id":"1416818383","filename":"file4"},{"photo_id":"1416818374","filename":"file1"},{"photo_id":"1416818223","filename":"file0"},{"photo_id":"1416818380","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416818223":["hashtag1","hashtag2"]},{"1416818386":["hashtag1","hashtag2"]},{"1416818380":["hashtag1","hashtag2"]},{"1416818374":["hashtag1","hashtag2"]},{"1416818383":["hashtag1","hashtag2"]},{"1416818377":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416818223, 1416818386, 1416818380, 1416818374, 1416818383, 1416818377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48918294906616 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818381","1416818384","1416818378","1416818285","1416818387","1416818375"],"photo_ids_order":["1416818285","1416818375","1416818378","1416818381","1416818384","1416818387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff31e24aa74aaab055916f1b48862b67.jpg","text":"TemporaryFile(/tmp/multipartBody3302896462870342945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_02_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b87dd94a87f8eec12d10dfd1fa159f14.jpg","text":"TemporaryFile(/tmp/multipartBody3870384978857577133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_03_05_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/569a94fbbdbd96d3c63cfa09b0413cea.jpg","text":"TemporaryFile(/tmp/multipartBody6670209553567965850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_01_06_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1ff618e5c5bdb07b83ef04ddce4d77c.jpg","text":"TemporaryFile(/tmp/multipartBody8123216794323857552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_00_05_29379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b8c2e4f698fb5e29d8d141328322b14.jpg","text":"TemporaryFile(/tmp/multipartBody4512204674347107142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_04_06_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c357056b32f44470cb85f5564b36eed7.jpg","text":"TemporaryFile(/tmp/multipartBody8744662661393941893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778478906601,"filename":"image_07052026_00_00_35_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416818378","file1":"1416818375","file0":"1416818285","file4":"1416818384","file5":"1416818387","file3":"1416818381"},"map_files_photo_id_array":[{"photo_id":"1416818387","filename":"file5"},{"photo_id":"1416818378","filename":"file2"},{"photo_id":"1416818384","filename":"file4"},{"photo_id":"1416818375","filename":"file1"},{"photo_id":"1416818285","filename":"file0"},{"photo_id":"1416818381","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416818381":["hashtag1","hashtag2"]},{"1416818384":["hashtag1","hashtag2"]},{"1416818378":["hashtag1","hashtag2"]},{"1416818285":["hashtag1","hashtag2"]},{"1416818387":["hashtag1","hashtag2"]},{"1416818375":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416818381, 1416818384, 1416818378, 1416818285, 1416818387, 1416818375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.789117097854614 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 07:59:04.424297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/52/image_11052026_07_52_44_30229.jpg', '/home/pi/Desktop/images/11052026/07/55/image_11052026_07_55_44_30287.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/52/image_11052026_07_52_44_30229.jpg
/home/pi/Desktop/images/11052026/07/55/image_11052026_07_55_44_30287.jpg
2026-05-11 07:59:04.684922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/55/image_11052026_07_55_44_30287.jpg', '/home/pi/Desktop/images/11052026/07/52/image_11052026_07_52_44_30229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/55/image_11052026_07_55_44_30287.jpg
/home/pi/Desktop/images/11052026/07/52/image_11052026_07_52_44_30229.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818936","1416818938"],"photo_ids_order":["1416818936","1416818938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27cd68d12bf4838d4017ad8f1d7b5b48.jpg","text":"TemporaryFile(/tmp/multipartBody5055290180763397683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479205894,"filename":"image_11052026_07_55_44_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8012fbf6a489b528d58b24f074618858.jpg","text":"TemporaryFile(/tmp/multipartBody6473788532099820225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479205894,"filename":"image_11052026_07_52_44_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416818938","file0":"1416818936"},"map_files_photo_id_array":[{"photo_id":"1416818938","filename":"file1"},{"photo_id":"1416818936","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416818936":["hashtag1","hashtag2"]},{"1416818938":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416818936, 1416818938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.80989360809326 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818939","1416818935"],"photo_ids_order":["1416818935","1416818939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd3e4618f7446a4e2378b4817ccbff16.jpg","text":"TemporaryFile(/tmp/multipartBody2393557462022179373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479205712,"filename":"image_11052026_07_55_44_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1756b25e809a300adf4d31adad4befcd.jpg","text":"TemporaryFile(/tmp/multipartBody3926047236563650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479205712,"filename":"image_11052026_07_52_44_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416818939","file0":"1416818935"},"map_files_photo_id_array":[{"photo_id":"1416818939","filename":"file1"},{"photo_id":"1416818935","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416818939":["hashtag1","hashtag2"]},{"1416818935":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416818939, 1416818935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.540334463119507 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:00:02.974691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/33/image_07052026_23_34_05_30285.jpg', '/home/pi/Desktop/images/07052026/23/32/image_07052026_23_33_05_29180.jpg', '/home/pi/Desktop/images/07052026/23/32/image_07052026_23_32_36_30276.jpg', '/home/pi/Desktop/images/07052026/23/31/image_07052026_23_32_05_30354.jpg', '/home/pi/Desktop/images/07052026/23/31/image_07052026_23_31_35_29307.jpg', '/home/pi/Desktop/images/07052026/23/18/image_07052026_23_19_05_30368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/33/image_07052026_23_34_05_30285.jpg
/home/pi/Desktop/images/07052026/23/32/image_07052026_23_33_05_29180.jpg
/home/pi/Desktop/images/07052026/23/32/image_07052026_23_32_36_30276.jpg
/home/pi/Desktop/images/07052026/23/31/image_07052026_23_32_05_30354.jpg
/home/pi/Desktop/images/07052026/23/31/image_07052026_23_31_35_29307.jpg
/home/pi/Desktop/images/07052026/23/18/image_07052026_23_19_05_30368.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9560761451721191 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:01:04.161559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/33/image_07052026_23_34_05_30285.jpg', '/home/pi/Desktop/images/07052026/23/32/image_07052026_23_33_05_29180.jpg', '/home/pi/Desktop/images/07052026/23/32/image_07052026_23_32_36_30276.jpg', '/home/pi/Desktop/images/07052026/23/31/image_07052026_23_32_05_30354.jpg', '/home/pi/Desktop/images/07052026/23/31/image_07052026_23_31_35_29307.jpg', '/home/pi/Desktop/images/07052026/23/18/image_07052026_23_19_05_30368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/33/image_07052026_23_34_05_30285.jpg
/home/pi/Desktop/images/07052026/23/32/image_07052026_23_33_05_29180.jpg
/home/pi/Desktop/images/07052026/23/32/image_07052026_23_32_36_30276.jpg
/home/pi/Desktop/images/07052026/23/31/image_07052026_23_32_05_30354.jpg
/home/pi/Desktop/images/07052026/23/31/image_07052026_23_31_35_29307.jpg
/home/pi/Desktop/images/07052026/23/18/image_07052026_23_19_05_30368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818961","1416818964","1416818960","1416818963","1416818962","1416818959"],"photo_ids_order":["1416818959","1416818960","1416818961","1416818962","1416818963","1416818964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33cc21a5234434beecb3fdafc63047a8.jpg","text":"TemporaryFile(/tmp/multipartBody5274882452785359741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_32_36_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b03b8ab88bfadfe914d6d0937ac7db24.jpg","text":"TemporaryFile(/tmp/multipartBody7547411124341934898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_19_05_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/621b6a42c84527d3f8295b525edb1818.jpg","text":"TemporaryFile(/tmp/multipartBody5141177388707266154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_33_05_29180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/237a8fcf33761e668ae9e4b8cf95d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4762521768271167491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_31_35_29307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6839a68c0a2c7b313fccb5df57c03e7f.jpg","text":"TemporaryFile(/tmp/multipartBody107485785227383153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_32_05_30354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6a72506670980dc5e2a1b80c305d085.jpg","text":"TemporaryFile(/tmp/multipartBody4404301285705268279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479326180,"filename":"image_07052026_23_34_05_30285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416818961","file1":"1416818960","file0":"1416818959","file4":"1416818963","file5":"1416818964","file3":"1416818962"},"map_files_photo_id_array":[{"photo_id":"1416818964","filename":"file5"},{"photo_id":"1416818961","filename":"file2"},{"photo_id":"1416818963","filename":"file4"},{"photo_id":"1416818960","filename":"file1"},{"photo_id":"1416818959","filename":"file0"},{"photo_id":"1416818962","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416818961":["hashtag1","hashtag2"]},{"1416818964":["hashtag1","hashtag2"]},{"1416818960":["hashtag1","hashtag2"]},{"1416818963":["hashtag1","hashtag2"]},{"1416818962":["hashtag1","hashtag2"]},{"1416818959":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416818961, 1416818964, 1416818960, 1416818963, 1416818962, 1416818959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10521197319031 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:02:03.002529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/07/56/image_11052026_07_56_44_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/07/56/image_11052026_07_56_44_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416818971"],"photo_id":"1416818971","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/602b164dc1d3b67a7cdc61957e49b40e.jpg","text":"TemporaryFile(/tmp/multipartBody4249653386932131008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479384166,"filename":"image_11052026_07_56_44_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416818971"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416818971"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.938095808029175 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:03:03.582474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7064013481140137 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:04:03.231333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.jpg
2026-05-11 08:04:03.425557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/01/image_11052026_08_01_44_30165.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416819638"],"photo_id":"1416819638","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4fa48175a6efe0822683ab6c0b999ab7.jpg","text":"TemporaryFile(/tmp/multipartBody440104702952046561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479504412,"filename":"image_11052026_08_01_44_30165.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416819638"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416819638"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.48627781867981 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416819637"],"photo_id":"1416819637","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/715c17992c420c8295c7c79006d0effd.jpg","text":"TemporaryFile(/tmp/multipartBody8965569627740052158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479504373,"filename":"image_11052026_08_01_44_30165.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416819637"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416819637"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.134275436401367 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:05:03.870487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/01/image_11052026_08_02_13_29253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/01/image_11052026_08_02_13_29253.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416819863"],"photo_id":"1416819863","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d844fa2c0e153cad2865628ca4c722e7.jpg","text":"TemporaryFile(/tmp/multipartBody2547847643650321167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479564823,"filename":"image_11052026_08_02_13_29253.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416819863"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416819863"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.186867237091064 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:06:03.402472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/15/image_07052026_23_16_05_30436.jpg', '/home/pi/Desktop/images/07052026/23/15/image_07052026_23_15_35_29402.jpg', '/home/pi/Desktop/images/07052026/23/14/image_07052026_23_14_35_30444.jpg', '/home/pi/Desktop/images/07052026/23/13/image_07052026_23_14_05_29412.jpg', '/home/pi/Desktop/images/07052026/23/13/image_07052026_23_13_35_30453.jpg', '/home/pi/Desktop/images/07052026/23/12/image_07052026_23_13_05_29281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/15/image_07052026_23_16_05_30436.jpg
/home/pi/Desktop/images/07052026/23/15/image_07052026_23_15_35_29402.jpg
/home/pi/Desktop/images/07052026/23/14/image_07052026_23_14_35_30444.jpg
/home/pi/Desktop/images/07052026/23/13/image_07052026_23_14_05_29412.jpg
/home/pi/Desktop/images/07052026/23/13/image_07052026_23_13_35_30453.jpg
/home/pi/Desktop/images/07052026/23/12/image_07052026_23_13_05_29281.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416819876","1416819872","1416819866","1416819874","1416819868","1416819870"],"photo_ids_order":["1416819866","1416819868","1416819870","1416819872","1416819874","1416819876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/703f1994b39b8c0cdceb5b1dc03dd200.jpg","text":"TemporaryFile(/tmp/multipartBody7524924886401893010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_13_05_29281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db09e832d65666d5c2c6c32474dc220e.jpg","text":"TemporaryFile(/tmp/multipartBody6065141890041165384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_14_05_29412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04bd2d8a62a5f72c0e1d9bcc9ae4f29a.jpg","text":"TemporaryFile(/tmp/multipartBody5132414822658362169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_16_05_30436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf8e0cd1526665c512b4e8936e21d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody7792060799144151043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_13_35_30453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/025c6e6247d944d938fc785077e9524e.jpg","text":"TemporaryFile(/tmp/multipartBody1307861185755123761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_15_35_29402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a687d4d2e1cd7852467bbb4ce34d9a55.jpg","text":"TemporaryFile(/tmp/multipartBody8584288428515786108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479625715,"filename":"image_07052026_23_14_35_30444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416819870","file1":"1416819868","file0":"1416819866","file4":"1416819874","file5":"1416819876","file3":"1416819872"},"map_files_photo_id_array":[{"photo_id":"1416819876","filename":"file5"},{"photo_id":"1416819870","filename":"file2"},{"photo_id":"1416819874","filename":"file4"},{"photo_id":"1416819868","filename":"file1"},{"photo_id":"1416819866","filename":"file0"},{"photo_id":"1416819872","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416819876":["hashtag1","hashtag2"]},{"1416819872":["hashtag1","hashtag2"]},{"1416819866":["hashtag1","hashtag2"]},{"1416819874":["hashtag1","hashtag2"]},{"1416819868":["hashtag1","hashtag2"]},{"1416819870":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416819876, 1416819872, 1416819866, 1416819874, 1416819868, 1416819870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.531240940093994 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:07:03.443407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/11/image_07052026_23_11_35_29411.jpg', '/home/pi/Desktop/images/07052026/23/10/image_07052026_23_10_35_29305.jpg', '/home/pi/Desktop/images/07052026/23/09/image_07052026_23_09_35_30410.jpg', '/home/pi/Desktop/images/07052026/23/08/image_07052026_23_09_05_29195.jpg', '/home/pi/Desktop/images/07052026/23/07/image_07052026_23_08_05_30273.jpg', '/home/pi/Desktop/images/07052026/23/07/image_07052026_23_07_35_30250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/11/image_07052026_23_11_35_29411.jpg
/home/pi/Desktop/images/07052026/23/10/image_07052026_23_10_35_29305.jpg
/home/pi/Desktop/images/07052026/23/09/image_07052026_23_09_35_30410.jpg
/home/pi/Desktop/images/07052026/23/08/image_07052026_23_09_05_29195.jpg
/home/pi/Desktop/images/07052026/23/07/image_07052026_23_08_05_30273.jpg
/home/pi/Desktop/images/07052026/23/07/image_07052026_23_07_35_30250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416819882","1416819881","1416819878","1416819880","1416819883","1416819879"],"photo_ids_order":["1416819878","1416819879","1416819880","1416819881","1416819882","1416819883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0debdfdf3e6529ae9a65ca6852691688.jpg","text":"TemporaryFile(/tmp/multipartBody5825196311438899504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_08_05_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3eef41420e0ba39dbdb1618e38751af0.jpg","text":"TemporaryFile(/tmp/multipartBody6453865378987206492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_09_05_29195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50a2d07d7e69e94fc917e2ec0fef8295.jpg","text":"TemporaryFile(/tmp/multipartBody7114919932491430158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_11_35_29411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bfa96787889375307e3dbe9666272b2.jpg","text":"TemporaryFile(/tmp/multipartBody991384452501024533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_09_35_30410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/defc9abdd4f0cdf8190784f088fc2d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7497829591267149848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_07_35_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc4eaeecd7133919596b79a976fa01c8.jpg","text":"TemporaryFile(/tmp/multipartBody249542826536802659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479685730,"filename":"image_07052026_23_10_35_29305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416819880","file1":"1416819879","file0":"1416819878","file4":"1416819882","file5":"1416819883","file3":"1416819881"},"map_files_photo_id_array":[{"photo_id":"1416819883","filename":"file5"},{"photo_id":"1416819880","filename":"file2"},{"photo_id":"1416819882","filename":"file4"},{"photo_id":"1416819879","filename":"file1"},{"photo_id":"1416819878","filename":"file0"},{"photo_id":"1416819881","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416819882":["hashtag1","hashtag2"]},{"1416819881":["hashtag1","hashtag2"]},{"1416819878":["hashtag1","hashtag2"]},{"1416819880":["hashtag1","hashtag2"]},{"1416819883":["hashtag1","hashtag2"]},{"1416819879":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416819882, 1416819881, 1416819878, 1416819880, 1416819883, 1416819879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.437185525894165 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:08:03.317480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/23/06/image_07052026_23_07_05_29093.jpg', '/home/pi/Desktop/images/07052026/22/56/image_07052026_22_57_05_30409.jpg', '/home/pi/Desktop/images/07052026/22/55/image_07052026_22_56_06_30410.jpg', '/home/pi/Desktop/images/07052026/22/55/image_07052026_22_55_35_30368.jpg', '/home/pi/Desktop/images/07052026/22/54/image_07052026_22_55_05_29232.jpg', '/home/pi/Desktop/images/07052026/22/54/image_07052026_22_54_36_30278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/23/06/image_07052026_23_07_05_29093.jpg
/home/pi/Desktop/images/07052026/22/56/image_07052026_22_57_05_30409.jpg
/home/pi/Desktop/images/07052026/22/55/image_07052026_22_56_06_30410.jpg
/home/pi/Desktop/images/07052026/22/55/image_07052026_22_55_35_30368.jpg
/home/pi/Desktop/images/07052026/22/54/image_07052026_22_55_05_29232.jpg
/home/pi/Desktop/images/07052026/22/54/image_07052026_22_54_36_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820551","1416820527","1416820256","1416819886","1416819981","1416819888"],"photo_ids_order":["1416819886","1416819888","1416819981","1416820256","1416820527","1416820551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96421990bdbd1fb9a8609298dd2baec1.jpg","text":"TemporaryFile(/tmp/multipartBody1961248143215523256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_22_54_36_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbdb464bc3572b4da87029565fe0b76b.jpg","text":"TemporaryFile(/tmp/multipartBody2328904699724549087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_22_55_05_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/178c79fd9ae86831d6c9015df6f76c30.jpg","text":"TemporaryFile(/tmp/multipartBody8587628544594263379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_22_55_35_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/afc46a142d794a1edfb9b4dbb8426897.jpg","text":"TemporaryFile(/tmp/multipartBody5123255029384541313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_23_07_05_29093.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5ffdbef397071f337010306945d0928.jpg","text":"TemporaryFile(/tmp/multipartBody7396075367754732690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_22_56_06_30410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f03f14e2674cddecc35392551cf78d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3145183096095208459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479745533,"filename":"image_07052026_22_57_05_30409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416819981","file1":"1416819888","file0":"1416819886","file4":"1416820527","file5":"1416820551","file3":"1416820256"},"map_files_photo_id_array":[{"photo_id":"1416820551","filename":"file5"},{"photo_id":"1416819981","filename":"file2"},{"photo_id":"1416820527","filename":"file4"},{"photo_id":"1416819888","filename":"file1"},{"photo_id":"1416819886","filename":"file0"},{"photo_id":"1416820256","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820551":["hashtag1","hashtag2"]},{"1416820527":["hashtag1","hashtag2"]},{"1416820256":["hashtag1","hashtag2"]},{"1416819886":["hashtag1","hashtag2"]},{"1416819981":["hashtag1","hashtag2"]},{"1416819888":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820551, 1416820527, 1416820256, 1416819886, 1416819981, 1416819888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89805197715759 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:09:04.588100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/53/image_07052026_22_54_05_30370.jpg', '/home/pi/Desktop/images/07052026/22/53/image_07052026_22_53_35_29364.jpg', '/home/pi/Desktop/images/07052026/22/52/image_07052026_22_52_35_30328.jpg', '/home/pi/Desktop/images/07052026/22/51/image_07052026_22_52_05_29212.jpg', '/home/pi/Desktop/images/07052026/22/49/image_07052026_22_50_06_30479.jpg', '/home/pi/Desktop/images/07052026/22/47/image_07052026_22_47_35_29437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/53/image_07052026_22_54_05_30370.jpg
/home/pi/Desktop/images/07052026/22/53/image_07052026_22_53_35_29364.jpg
/home/pi/Desktop/images/07052026/22/52/image_07052026_22_52_35_30328.jpg
/home/pi/Desktop/images/07052026/22/51/image_07052026_22_52_05_29212.jpg
/home/pi/Desktop/images/07052026/22/49/image_07052026_22_50_06_30479.jpg
/home/pi/Desktop/images/07052026/22/47/image_07052026_22_47_35_29437.jpg
2026-05-11 08:09:04.910285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/06/image_07052026_00_06_35_30439.jpg', '/home/pi/Desktop/images/07052026/00/07/image_07052026_00_07_35_29366.jpg', '/home/pi/Desktop/images/07052026/00/07/image_07052026_00_08_05_30382.jpg', '/home/pi/Desktop/images/07052026/00/10/image_07052026_00_10_35_30377.jpg', '/home/pi/Desktop/images/07052026/00/12/image_07052026_00_12_36_30273.jpg', '/home/pi/Desktop/images/07052026/00/12/image_07052026_00_13_05_29261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/06/image_07052026_00_06_35_30439.jpg
/home/pi/Desktop/images/07052026/00/07/image_07052026_00_07_35_29366.jpg
/home/pi/Desktop/images/07052026/00/07/image_07052026_00_08_05_30382.jpg
/home/pi/Desktop/images/07052026/00/10/image_07052026_00_10_35_30377.jpg
/home/pi/Desktop/images/07052026/00/12/image_07052026_00_12_36_30273.jpg
/home/pi/Desktop/images/07052026/00/12/image_07052026_00_13_05_29261.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.2273457050323486 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820737","1416820731","1416820739","1416820730","1416820733","1416820735"],"photo_ids_order":["1416820730","1416820731","1416820733","1416820735","1416820737","1416820739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea317e81938efdcf1bcaa5ecda18cb1a.jpg","text":"TemporaryFile(/tmp/multipartBody4745791179042252534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_50_06_30479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a39a62555c4bd9162900d0cda6bf3d44.jpg","text":"TemporaryFile(/tmp/multipartBody6821472867801687667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_53_35_29364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ce3c225c0ac06616b2cc4834884b679.jpg","text":"TemporaryFile(/tmp/multipartBody4199155966845377995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_47_35_29437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9fc9613974e4a34d7c5664c1eb9e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2117274269025938424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_54_05_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54d7e9aeb88ac6ef7c853f70662f3b91.jpg","text":"TemporaryFile(/tmp/multipartBody7283647690992927082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_52_35_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ca88658eb85546ba91dd514d4ff7664.jpg","text":"TemporaryFile(/tmp/multipartBody8893679539471005306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479807930,"filename":"image_07052026_22_52_05_29212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820733","file1":"1416820731","file0":"1416820730","file4":"1416820737","file5":"1416820739","file3":"1416820735"},"map_files_photo_id_array":[{"photo_id":"1416820739","filename":"file5"},{"photo_id":"1416820733","filename":"file2"},{"photo_id":"1416820737","filename":"file4"},{"photo_id":"1416820731","filename":"file1"},{"photo_id":"1416820730","filename":"file0"},{"photo_id":"1416820735","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820737":["hashtag1","hashtag2"]},{"1416820731":["hashtag1","hashtag2"]},{"1416820739":["hashtag1","hashtag2"]},{"1416820730":["hashtag1","hashtag2"]},{"1416820733":["hashtag1","hashtag2"]},{"1416820735":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820737, 1416820731, 1416820739, 1416820730, 1416820733, 1416820735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1333863735199 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:10:03.244496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/46/image_07052026_22_46_35_29318.jpg', '/home/pi/Desktop/images/07052026/22/45/image_07052026_22_46_06_30410.jpg', '/home/pi/Desktop/images/07052026/22/44/image_07052026_22_45_05_29236.jpg', '/home/pi/Desktop/images/07052026/22/44/image_07052026_22_44_36_30442.jpg', '/home/pi/Desktop/images/07052026/22/43/image_07052026_22_44_05_30358.jpg', '/home/pi/Desktop/images/07052026/22/43/image_07052026_22_43_35_29341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/46/image_07052026_22_46_35_29318.jpg
/home/pi/Desktop/images/07052026/22/45/image_07052026_22_46_06_30410.jpg
/home/pi/Desktop/images/07052026/22/44/image_07052026_22_45_05_29236.jpg
/home/pi/Desktop/images/07052026/22/44/image_07052026_22_44_36_30442.jpg
/home/pi/Desktop/images/07052026/22/43/image_07052026_22_44_05_30358.jpg
/home/pi/Desktop/images/07052026/22/43/image_07052026_22_43_35_29341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820749","1416820743","1416820751","1416820745","1416820753","1416820747"],"photo_ids_order":["1416820743","1416820745","1416820747","1416820749","1416820751","1416820753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/900c8cba497b9e40eb346d959033ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody4251783108726294100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_44_36_30442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d0109fa6e2b6b5b160aca84dec9a523.jpg","text":"TemporaryFile(/tmp/multipartBody1287669157445810769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_46_35_29318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23537e99823ee042a62ee3c92f31eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody4807144684796676696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_44_05_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f1e697ef2769b68a30f068ae13013be.jpg","text":"TemporaryFile(/tmp/multipartBody6461702475126959364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_46_06_30410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b74aecc06ae3202828751a3589ebc1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1881584284868116886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_43_35_29341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3836c49f523a52320c8848ca91ff86d3.jpg","text":"TemporaryFile(/tmp/multipartBody5788523355604643808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479865556,"filename":"image_07052026_22_45_05_29236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820747","file1":"1416820745","file0":"1416820743","file4":"1416820751","file5":"1416820753","file3":"1416820749"},"map_files_photo_id_array":[{"photo_id":"1416820753","filename":"file5"},{"photo_id":"1416820747","filename":"file2"},{"photo_id":"1416820751","filename":"file4"},{"photo_id":"1416820745","filename":"file1"},{"photo_id":"1416820743","filename":"file0"},{"photo_id":"1416820749","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820749":["hashtag1","hashtag2"]},{"1416820743":["hashtag1","hashtag2"]},{"1416820751":["hashtag1","hashtag2"]},{"1416820745":["hashtag1","hashtag2"]},{"1416820753":["hashtag1","hashtag2"]},{"1416820747":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820749, 1416820743, 1416820751, 1416820745, 1416820753, 1416820747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.159398317337036 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:11:03.415101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/42/image_07052026_22_43_06_30344.jpg', '/home/pi/Desktop/images/07052026/22/42/image_07052026_22_42_35_30312.jpg', '/home/pi/Desktop/images/07052026/22/41/image_07052026_22_42_05_29245.jpg', '/home/pi/Desktop/images/07052026/22/41/image_07052026_22_41_36_30314.jpg', '/home/pi/Desktop/images/07052026/22/40/image_07052026_22_41_05_30475.jpg', '/home/pi/Desktop/images/07052026/22/39/image_07052026_22_39_35_29387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/42/image_07052026_22_43_06_30344.jpg
/home/pi/Desktop/images/07052026/22/42/image_07052026_22_42_35_30312.jpg
/home/pi/Desktop/images/07052026/22/41/image_07052026_22_42_05_29245.jpg
/home/pi/Desktop/images/07052026/22/41/image_07052026_22_41_36_30314.jpg
/home/pi/Desktop/images/07052026/22/40/image_07052026_22_41_05_30475.jpg
/home/pi/Desktop/images/07052026/22/39/image_07052026_22_39_35_29387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820758","1416820763","1416820766","1416820760","1416820762","1416820765"],"photo_ids_order":["1416820758","1416820760","1416820762","1416820763","1416820765","1416820766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef2f07f2d23757e41084ea1cbb61c808.jpg","text":"TemporaryFile(/tmp/multipartBody6370062205846596868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_43_06_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f78bd6d6092de67e0b5579869647441.jpg","text":"TemporaryFile(/tmp/multipartBody5900583150774875537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_41_36_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d25e17f17c0a4aa474650bc65a907a2.jpg","text":"TemporaryFile(/tmp/multipartBody2839659611126491605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_39_35_29387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21f8c0eec7292a53ee5c70a86d50f603.jpg","text":"TemporaryFile(/tmp/multipartBody6269527639343123552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_42_35_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a5434e425d2fa5f8459fc5e277a6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody286760324184657944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_42_05_29245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf2a1cc700b6a7d46cd1681e35c4ca5a.jpg","text":"TemporaryFile(/tmp/multipartBody3211463358247356052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479925985,"filename":"image_07052026_22_41_05_30475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820762","file1":"1416820760","file0":"1416820758","file4":"1416820765","file5":"1416820766","file3":"1416820763"},"map_files_photo_id_array":[{"photo_id":"1416820766","filename":"file5"},{"photo_id":"1416820762","filename":"file2"},{"photo_id":"1416820765","filename":"file4"},{"photo_id":"1416820760","filename":"file1"},{"photo_id":"1416820758","filename":"file0"},{"photo_id":"1416820763","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820758":["hashtag1","hashtag2"]},{"1416820763":["hashtag1","hashtag2"]},{"1416820766":["hashtag1","hashtag2"]},{"1416820760":["hashtag1","hashtag2"]},{"1416820762":["hashtag1","hashtag2"]},{"1416820765":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820758, 1416820763, 1416820766, 1416820760, 1416820762, 1416820765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16108226776123 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:12:02.947398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/38/image_07052026_22_39_06_30436.jpg', '/home/pi/Desktop/images/07052026/22/38/image_07052026_22_38_35_29353.jpg', '/home/pi/Desktop/images/07052026/22/37/image_07052026_22_38_06_30388.jpg', '/home/pi/Desktop/images/07052026/22/37/image_07052026_22_37_35_30415.jpg', '/home/pi/Desktop/images/07052026/22/36/image_07052026_22_37_05_29276.jpg', '/home/pi/Desktop/images/07052026/22/36/image_07052026_22_36_36_30176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/38/image_07052026_22_39_06_30436.jpg
/home/pi/Desktop/images/07052026/22/38/image_07052026_22_38_35_29353.jpg
/home/pi/Desktop/images/07052026/22/37/image_07052026_22_38_06_30388.jpg
/home/pi/Desktop/images/07052026/22/37/image_07052026_22_37_35_30415.jpg
/home/pi/Desktop/images/07052026/22/36/image_07052026_22_37_05_29276.jpg
/home/pi/Desktop/images/07052026/22/36/image_07052026_22_36_36_30176.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820779","1416820773","1416820775","1416820769","1416820771","1416820777"],"photo_ids_order":["1416820769","1416820771","1416820773","1416820775","1416820777","1416820779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6f67ce8727812b5dfcda3a9daebfb76.jpg","text":"TemporaryFile(/tmp/multipartBody6761813183334517151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_36_36_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5eee09c69ff05d88f4dfad41b5384b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6143396125346902843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_38_06_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/149ad3c60702b14314a7d28181a0b46b.jpg","text":"TemporaryFile(/tmp/multipartBody91323824302699370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_37_35_30415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b47dd5287621e1943c400e7672b9621.jpg","text":"TemporaryFile(/tmp/multipartBody3234508993916247731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_39_06_30436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c5c1a3de62f6385668c98e33cc0600c.jpg","text":"TemporaryFile(/tmp/multipartBody6459163274790261453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_38_35_29353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/862fc762571b9f1a6718259450c4e9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7743475664911151292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778479985286,"filename":"image_07052026_22_37_05_29276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820773","file1":"1416820771","file0":"1416820769","file4":"1416820777","file5":"1416820779","file3":"1416820775"},"map_files_photo_id_array":[{"photo_id":"1416820779","filename":"file5"},{"photo_id":"1416820773","filename":"file2"},{"photo_id":"1416820777","filename":"file4"},{"photo_id":"1416820771","filename":"file1"},{"photo_id":"1416820769","filename":"file0"},{"photo_id":"1416820775","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820779":["hashtag1","hashtag2"]},{"1416820773":["hashtag1","hashtag2"]},{"1416820775":["hashtag1","hashtag2"]},{"1416820769":["hashtag1","hashtag2"]},{"1416820771":["hashtag1","hashtag2"]},{"1416820777":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820779, 1416820773, 1416820775, 1416820769, 1416820771, 1416820777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90804934501648 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:13:04.618238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/35/image_07052026_22_36_05_30352.jpg', '/home/pi/Desktop/images/07052026/22/35/image_07052026_22_35_35_30378.jpg', '/home/pi/Desktop/images/07052026/22/34/image_07052026_22_34_36_30284.jpg', '/home/pi/Desktop/images/07052026/22/27/image_07052026_22_27_35_29374.jpg', '/home/pi/Desktop/images/07052026/22/26/image_07052026_22_26_36_30358.jpg', '/home/pi/Desktop/images/07052026/22/25/image_07052026_22_26_05_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/35/image_07052026_22_36_05_30352.jpg
/home/pi/Desktop/images/07052026/22/35/image_07052026_22_35_35_30378.jpg
/home/pi/Desktop/images/07052026/22/34/image_07052026_22_34_36_30284.jpg
/home/pi/Desktop/images/07052026/22/27/image_07052026_22_27_35_29374.jpg
/home/pi/Desktop/images/07052026/22/26/image_07052026_22_26_36_30358.jpg
/home/pi/Desktop/images/07052026/22/25/image_07052026_22_26_05_30387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820782","1416820785","1416820781","1416820784","1416820786","1416820783"],"photo_ids_order":["1416820781","1416820782","1416820783","1416820784","1416820785","1416820786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec56cb12e735c2429e70c1f3e96ac5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7731963689394436597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_35_35_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc8e72aceef580ac9f8162e8d75191c2.jpg","text":"TemporaryFile(/tmp/multipartBody111357891621138193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_26_36_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b659e4ea9db945a255897064712e0a94.jpg","text":"TemporaryFile(/tmp/multipartBody2514555577829057284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_36_05_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc64ff87d7e922eea155912ff1e3d859.jpg","text":"TemporaryFile(/tmp/multipartBody4666977149591141767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_27_35_29374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38a3de811e5b16abc3ba22f6ff2b0436.jpg","text":"TemporaryFile(/tmp/multipartBody5143075813218176443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_26_05_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/49c2c39517c97adae360c74d6ae4c251.jpg","text":"TemporaryFile(/tmp/multipartBody7993233778374874064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480046907,"filename":"image_07052026_22_34_36_30284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820783","file1":"1416820782","file0":"1416820781","file4":"1416820785","file5":"1416820786","file3":"1416820784"},"map_files_photo_id_array":[{"photo_id":"1416820786","filename":"file5"},{"photo_id":"1416820783","filename":"file2"},{"photo_id":"1416820785","filename":"file4"},{"photo_id":"1416820782","filename":"file1"},{"photo_id":"1416820781","filename":"file0"},{"photo_id":"1416820784","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820782":["hashtag1","hashtag2"]},{"1416820785":["hashtag1","hashtag2"]},{"1416820781":["hashtag1","hashtag2"]},{"1416820784":["hashtag1","hashtag2"]},{"1416820786":["hashtag1","hashtag2"]},{"1416820783":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820782, 1416820785, 1416820781, 1416820784, 1416820786, 1416820783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17372274398804 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:14:03.893576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/25/image_07052026_22_25_35_29387.jpg', '/home/pi/Desktop/images/07052026/22/24/image_07052026_22_25_05_30360.jpg', '/home/pi/Desktop/images/07052026/22/24/image_07052026_22_24_35_29327.jpg', '/home/pi/Desktop/images/07052026/22/23/image_07052026_22_24_06_30457.jpg', '/home/pi/Desktop/images/07052026/22/23/image_07052026_22_23_35_30423.jpg', '/home/pi/Desktop/images/07052026/22/17/image_07052026_22_18_05_30489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/25/image_07052026_22_25_35_29387.jpg
/home/pi/Desktop/images/07052026/22/24/image_07052026_22_25_05_30360.jpg
/home/pi/Desktop/images/07052026/22/24/image_07052026_22_24_35_29327.jpg
/home/pi/Desktop/images/07052026/22/23/image_07052026_22_24_06_30457.jpg
/home/pi/Desktop/images/07052026/22/23/image_07052026_22_23_35_30423.jpg
/home/pi/Desktop/images/07052026/22/17/image_07052026_22_18_05_30489.jpg
2026-05-11 08:14:04.012257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/06/image_07052026_00_06_35_30439.jpg', '/home/pi/Desktop/images/07052026/00/07/image_07052026_00_07_35_29366.jpg', '/home/pi/Desktop/images/07052026/00/07/image_07052026_00_08_05_30382.jpg', '/home/pi/Desktop/images/07052026/00/10/image_07052026_00_10_35_30377.jpg', '/home/pi/Desktop/images/07052026/00/12/image_07052026_00_12_36_30273.jpg', '/home/pi/Desktop/images/07052026/00/12/image_07052026_00_13_05_29261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/06/image_07052026_00_06_35_30439.jpg
/home/pi/Desktop/images/07052026/00/07/image_07052026_00_07_35_29366.jpg
/home/pi/Desktop/images/07052026/00/07/image_07052026_00_08_05_30382.jpg
/home/pi/Desktop/images/07052026/00/10/image_07052026_00_10_35_30377.jpg
/home/pi/Desktop/images/07052026/00/12/image_07052026_00_12_36_30273.jpg
/home/pi/Desktop/images/07052026/00/12/image_07052026_00_13_05_29261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820797","1416820800","1416820790","1416820802","1416820805","1416820795"],"photo_ids_order":["1416820790","1416820795","1416820797","1416820800","1416820802","1416820805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a394903418fc174b2514553c28779fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1932290834941983493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_08_05_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2a4129b3bc2a6b2f4ccffc3c5e3ac83.jpg","text":"TemporaryFile(/tmp/multipartBody2946293827006419628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_10_35_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b1314068a99711ac07e6f6e74b90821.jpg","text":"TemporaryFile(/tmp/multipartBody6144078535316939943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_06_35_30439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d84bf9e233d3ec7889370b2c4b0af46.jpg","text":"TemporaryFile(/tmp/multipartBody2948571323762635590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_12_36_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7927ea0c7730456955dd5746bae8d9c3.jpg","text":"TemporaryFile(/tmp/multipartBody855620654337270923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_13_05_29261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/839253cdd5fd4e3c942068267c86d74c.jpg","text":"TemporaryFile(/tmp/multipartBody744840055291723706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107535,"filename":"image_07052026_00_07_35_29366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820797","file1":"1416820795","file0":"1416820790","file4":"1416820802","file5":"1416820805","file3":"1416820800"},"map_files_photo_id_array":[{"photo_id":"1416820805","filename":"file5"},{"photo_id":"1416820797","filename":"file2"},{"photo_id":"1416820802","filename":"file4"},{"photo_id":"1416820795","filename":"file1"},{"photo_id":"1416820790","filename":"file0"},{"photo_id":"1416820800","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820797":["hashtag1","hashtag2"]},{"1416820800":["hashtag1","hashtag2"]},{"1416820790":["hashtag1","hashtag2"]},{"1416820802":["hashtag1","hashtag2"]},{"1416820805":["hashtag1","hashtag2"]},{"1416820795":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820797, 1416820800, 1416820790, 1416820802, 1416820805, 1416820795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24556612968445 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820801","1416820794","1416820803","1416820806","1416820798","1416820789"],"photo_ids_order":["1416820789","1416820794","1416820798","1416820801","1416820803","1416820806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50b8af31f7940b6c6e3e7f5db43248d7.jpg","text":"TemporaryFile(/tmp/multipartBody526179905808502747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_24_06_30457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5e8febc9be290e4943c78fd449f64fd.jpg","text":"TemporaryFile(/tmp/multipartBody2405626085659871021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_25_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4e22aa721f4761f35c93c482566e8bc.jpg","text":"TemporaryFile(/tmp/multipartBody1411979207437997475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_23_35_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a12e325bf6579ca2a65a5977bbd73232.jpg","text":"TemporaryFile(/tmp/multipartBody1049203541705026980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_18_05_30489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ecd1778eddb99712f0131cc38e9560c.jpg","text":"TemporaryFile(/tmp/multipartBody5413395477195466491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_24_35_29327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7eccbe9ca77732d4865ada53bc510551.jpg","text":"TemporaryFile(/tmp/multipartBody8539177296735047652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480107465,"filename":"image_07052026_22_25_35_29387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820798","file1":"1416820794","file0":"1416820789","file4":"1416820803","file5":"1416820806","file3":"1416820801"},"map_files_photo_id_array":[{"photo_id":"1416820806","filename":"file5"},{"photo_id":"1416820798","filename":"file2"},{"photo_id":"1416820803","filename":"file4"},{"photo_id":"1416820794","filename":"file1"},{"photo_id":"1416820789","filename":"file0"},{"photo_id":"1416820801","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820801":["hashtag1","hashtag2"]},{"1416820794":["hashtag1","hashtag2"]},{"1416820803":["hashtag1","hashtag2"]},{"1416820806":["hashtag1","hashtag2"]},{"1416820798":["hashtag1","hashtag2"]},{"1416820789":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820801, 1416820794, 1416820803, 1416820806, 1416820798, 1416820789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56681251525879 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:15:04.173709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/17/image_07052026_22_17_35_29364.jpg', '/home/pi/Desktop/images/07052026/22/16/image_07052026_22_17_06_30442.jpg', '/home/pi/Desktop/images/07052026/22/16/image_07052026_22_16_35_30294.jpg', '/home/pi/Desktop/images/07052026/22/13/image_07052026_22_13_35_29351.jpg', '/home/pi/Desktop/images/07052026/22/12/image_07052026_22_13_06_30379.jpg', '/home/pi/Desktop/images/07052026/22/11/image_07052026_22_11_36_30421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/17/image_07052026_22_17_35_29364.jpg
/home/pi/Desktop/images/07052026/22/16/image_07052026_22_17_06_30442.jpg
/home/pi/Desktop/images/07052026/22/16/image_07052026_22_16_35_30294.jpg
/home/pi/Desktop/images/07052026/22/13/image_07052026_22_13_35_29351.jpg
/home/pi/Desktop/images/07052026/22/12/image_07052026_22_13_06_30379.jpg
/home/pi/Desktop/images/07052026/22/11/image_07052026_22_11_36_30421.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820813","1416820809","1416820812","1416820811","1416820808","1416820810"],"photo_ids_order":["1416820808","1416820809","1416820810","1416820811","1416820812","1416820813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e7f8baa392d10f35f85722567731f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6552736947008551708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_11_36_30421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ae32d8d17efe8b1618519ed02f1f39f.jpg","text":"TemporaryFile(/tmp/multipartBody6958864411079098156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_17_06_30442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48ff78a3d24c6a7accb4be0c2f1b416a.jpg","text":"TemporaryFile(/tmp/multipartBody5202491434814293801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_13_06_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c718fd4ea061729b0c166f8970392f7.jpg","text":"TemporaryFile(/tmp/multipartBody4074940299238079109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_13_35_29351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dac204cbbd24bde427369489c967fee5.jpg","text":"TemporaryFile(/tmp/multipartBody4218510223247153495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_17_35_29364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8381d143f7096f184926a2fd7c29d0c9.jpg","text":"TemporaryFile(/tmp/multipartBody3504997957344185947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480166436,"filename":"image_07052026_22_16_35_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820810","file1":"1416820809","file0":"1416820808","file4":"1416820812","file5":"1416820813","file3":"1416820811"},"map_files_photo_id_array":[{"photo_id":"1416820813","filename":"file5"},{"photo_id":"1416820810","filename":"file2"},{"photo_id":"1416820812","filename":"file4"},{"photo_id":"1416820809","filename":"file1"},{"photo_id":"1416820808","filename":"file0"},{"photo_id":"1416820811","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820813":["hashtag1","hashtag2"]},{"1416820809":["hashtag1","hashtag2"]},{"1416820812":["hashtag1","hashtag2"]},{"1416820811":["hashtag1","hashtag2"]},{"1416820808":["hashtag1","hashtag2"]},{"1416820810":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820813, 1416820809, 1416820812, 1416820811, 1416820808, 1416820810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98828434944153 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:16:03.160059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/08/image_07052026_22_08_36_30337.jpg', '/home/pi/Desktop/images/07052026/22/07/image_07052026_22_08_05_30403.jpg', '/home/pi/Desktop/images/07052026/22/07/image_07052026_22_07_35_29309.jpg', '/home/pi/Desktop/images/07052026/22/06/image_07052026_22_07_06_30353.jpg', '/home/pi/Desktop/images/07052026/22/06/image_07052026_22_06_35_29362.jpg', '/home/pi/Desktop/images/07052026/22/05/image_07052026_22_06_06_30399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/08/image_07052026_22_08_36_30337.jpg
/home/pi/Desktop/images/07052026/22/07/image_07052026_22_08_05_30403.jpg
/home/pi/Desktop/images/07052026/22/07/image_07052026_22_07_35_29309.jpg
/home/pi/Desktop/images/07052026/22/06/image_07052026_22_07_06_30353.jpg
/home/pi/Desktop/images/07052026/22/06/image_07052026_22_06_35_29362.jpg
/home/pi/Desktop/images/07052026/22/05/image_07052026_22_06_06_30399.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820824","1416820818","1416820826","1416820820","1416820822","1416820816"],"photo_ids_order":["1416820816","1416820818","1416820820","1416820822","1416820824","1416820826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3408aeb6a067f9be5e9e102f9c7071f9.jpg","text":"TemporaryFile(/tmp/multipartBody8021909273222736791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_06_35_29362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/685a296b04560cc86a975efdfa3d2691.jpg","text":"TemporaryFile(/tmp/multipartBody6598407768803066204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_08_05_30403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25d593ca987a5f17870ebcecc58a8e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8811138234905776439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_06_06_30399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c5601ce88f7e10f4a183952257b302b.jpg","text":"TemporaryFile(/tmp/multipartBody3555896934928368325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_07_35_29309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dd796a17c7095e00e41d2792cf3a50b.jpg","text":"TemporaryFile(/tmp/multipartBody6452445831302453034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_07_06_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5986b724ab7fb296e1487feb264e79f2.jpg","text":"TemporaryFile(/tmp/multipartBody7110980119637187166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480225475,"filename":"image_07052026_22_08_36_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820820","file1":"1416820818","file0":"1416820816","file4":"1416820824","file5":"1416820826","file3":"1416820822"},"map_files_photo_id_array":[{"photo_id":"1416820826","filename":"file5"},{"photo_id":"1416820820","filename":"file2"},{"photo_id":"1416820824","filename":"file4"},{"photo_id":"1416820818","filename":"file1"},{"photo_id":"1416820816","filename":"file0"},{"photo_id":"1416820822","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820824":["hashtag1","hashtag2"]},{"1416820818":["hashtag1","hashtag2"]},{"1416820826":["hashtag1","hashtag2"]},{"1416820820":["hashtag1","hashtag2"]},{"1416820822":["hashtag1","hashtag2"]},{"1416820816":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820824, 1416820818, 1416820826, 1416820820, 1416820822, 1416820816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.001261949539185 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:17:04.144865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/05/image_07052026_22_05_35_30173.jpg', '/home/pi/Desktop/images/07052026/22/04/image_07052026_22_05_05_30323.jpg', '/home/pi/Desktop/images/07052026/22/04/image_07052026_22_04_35_29289.jpg', '/home/pi/Desktop/images/07052026/22/03/image_07052026_22_04_06_30425.jpg', '/home/pi/Desktop/images/07052026/22/03/image_07052026_22_03_35_30300.jpg', '/home/pi/Desktop/images/07052026/22/02/image_07052026_22_02_36_30330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/05/image_07052026_22_05_35_30173.jpg
/home/pi/Desktop/images/07052026/22/04/image_07052026_22_05_05_30323.jpg
/home/pi/Desktop/images/07052026/22/04/image_07052026_22_04_35_29289.jpg
/home/pi/Desktop/images/07052026/22/03/image_07052026_22_04_06_30425.jpg
/home/pi/Desktop/images/07052026/22/03/image_07052026_22_03_35_30300.jpg
/home/pi/Desktop/images/07052026/22/02/image_07052026_22_02_36_30330.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820828","1416820833","1416820836","1416820829","1416820834","1416820831"],"photo_ids_order":["1416820828","1416820829","1416820831","1416820833","1416820834","1416820836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8638e98299fd82176de6b91976743e6c.jpg","text":"TemporaryFile(/tmp/multipartBody895120820873882337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_05_35_30173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/702c7d149d49bd7ed733fa7e9f4554cd.jpg","text":"TemporaryFile(/tmp/multipartBody2941431847744600828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_04_06_30425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55139852e6de4a046a37134b0b458382.jpg","text":"TemporaryFile(/tmp/multipartBody1182692296608934407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_02_36_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57286af753d591b233fa877fdf893206.jpg","text":"TemporaryFile(/tmp/multipartBody5637760084033663467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_05_05_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83b52a8cbce2361ad3c8efa73b6516aa.jpg","text":"TemporaryFile(/tmp/multipartBody4236589497551803955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_03_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/704cf508918b64eeb20d04f8773941a2.jpg","text":"TemporaryFile(/tmp/multipartBody3256435467183374696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480286710,"filename":"image_07052026_22_04_35_29289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820831","file1":"1416820829","file0":"1416820828","file4":"1416820834","file5":"1416820836","file3":"1416820833"},"map_files_photo_id_array":[{"photo_id":"1416820836","filename":"file5"},{"photo_id":"1416820831","filename":"file2"},{"photo_id":"1416820834","filename":"file4"},{"photo_id":"1416820829","filename":"file1"},{"photo_id":"1416820828","filename":"file0"},{"photo_id":"1416820833","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820828":["hashtag1","hashtag2"]},{"1416820833":["hashtag1","hashtag2"]},{"1416820836":["hashtag1","hashtag2"]},{"1416820829":["hashtag1","hashtag2"]},{"1416820834":["hashtag1","hashtag2"]},{"1416820831":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820828, 1416820833, 1416820836, 1416820829, 1416820834, 1416820831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99896597862244 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:18:02.789055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/22/01/image_07052026_22_01_35_29287.jpg', '/home/pi/Desktop/images/07052026/22/00/image_07052026_22_01_06_30428.jpg', '/home/pi/Desktop/images/07052026/22/00/image_07052026_22_00_35_30287.jpg', '/home/pi/Desktop/images/07052026/21/59/image_07052026_22_00_05_29217.jpg', '/home/pi/Desktop/images/07052026/21/57/image_07052026_21_57_35_30344.jpg', '/home/pi/Desktop/images/07052026/21/50/image_07052026_21_50_35_30309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/22/01/image_07052026_22_01_35_29287.jpg
/home/pi/Desktop/images/07052026/22/00/image_07052026_22_01_06_30428.jpg
/home/pi/Desktop/images/07052026/22/00/image_07052026_22_00_35_30287.jpg
/home/pi/Desktop/images/07052026/21/59/image_07052026_22_00_05_29217.jpg
/home/pi/Desktop/images/07052026/21/57/image_07052026_21_57_35_30344.jpg
/home/pi/Desktop/images/07052026/21/50/image_07052026_21_50_35_30309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820848","1416820842","1416820850","1416820844","1416820852","1416820846"],"photo_ids_order":["1416820842","1416820844","1416820846","1416820848","1416820850","1416820852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfab076ca5d0d20a82685b01d17c0961.jpg","text":"TemporaryFile(/tmp/multipartBody8775124350299081673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_22_00_05_29217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9fff323255d566aa6aaf366eaa79d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4024942793400072485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_22_01_35_29287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65161556c783f88210bb6ea6c2291619.jpg","text":"TemporaryFile(/tmp/multipartBody6112288009330162312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_21_57_35_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/98cc0331983e553880118f470b7d273c.jpg","text":"TemporaryFile(/tmp/multipartBody3326842277832084424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_22_01_06_30428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13cb5f96d43d2d577a96a0c7b39744f4.jpg","text":"TemporaryFile(/tmp/multipartBody7873863407242318194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_21_50_35_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68089395988d3718f4dbfc86d3261e1a.jpg","text":"TemporaryFile(/tmp/multipartBody5083431371031547226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480344981,"filename":"image_07052026_22_00_35_30287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820846","file1":"1416820844","file0":"1416820842","file4":"1416820850","file5":"1416820852","file3":"1416820848"},"map_files_photo_id_array":[{"photo_id":"1416820852","filename":"file5"},{"photo_id":"1416820846","filename":"file2"},{"photo_id":"1416820850","filename":"file4"},{"photo_id":"1416820844","filename":"file1"},{"photo_id":"1416820842","filename":"file0"},{"photo_id":"1416820848","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820848":["hashtag1","hashtag2"]},{"1416820842":["hashtag1","hashtag2"]},{"1416820850":["hashtag1","hashtag2"]},{"1416820844":["hashtag1","hashtag2"]},{"1416820852":["hashtag1","hashtag2"]},{"1416820846":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820848, 1416820842, 1416820850, 1416820844, 1416820852, 1416820846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.631585121154785 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:19:04.432494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/49/image_07052026_21_49_36_30341.jpg', '/home/pi/Desktop/images/07052026/21/48/image_07052026_21_49_05_30339.jpg', '/home/pi/Desktop/images/07052026/21/48/image_07052026_21_48_35_29372.jpg', '/home/pi/Desktop/images/07052026/21/47/image_07052026_21_48_06_30409.jpg', '/home/pi/Desktop/images/07052026/21/47/image_07052026_21_47_35_30367.jpg', '/home/pi/Desktop/images/07052026/21/46/image_07052026_21_47_05_29128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/49/image_07052026_21_49_36_30341.jpg
/home/pi/Desktop/images/07052026/21/48/image_07052026_21_49_05_30339.jpg
/home/pi/Desktop/images/07052026/21/48/image_07052026_21_48_35_29372.jpg
/home/pi/Desktop/images/07052026/21/47/image_07052026_21_48_06_30409.jpg
/home/pi/Desktop/images/07052026/21/47/image_07052026_21_47_35_30367.jpg
/home/pi/Desktop/images/07052026/21/46/image_07052026_21_47_05_29128.jpg
2026-05-11 08:19:04.520328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/13/image_07052026_00_13_35_30376.jpg', '/home/pi/Desktop/images/07052026/00/13/image_07052026_00_14_06_30390.jpg', '/home/pi/Desktop/images/07052026/00/14/image_07052026_00_14_35_29239.jpg', '/home/pi/Desktop/images/07052026/00/14/image_07052026_00_15_05_30363.jpg', '/home/pi/Desktop/images/07052026/00/16/image_07052026_00_16_35_30325.jpg', '/home/pi/Desktop/images/07052026/00/16/image_07052026_00_17_06_30274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/13/image_07052026_00_13_35_30376.jpg
/home/pi/Desktop/images/07052026/00/13/image_07052026_00_14_06_30390.jpg
/home/pi/Desktop/images/07052026/00/14/image_07052026_00_14_35_29239.jpg
/home/pi/Desktop/images/07052026/00/14/image_07052026_00_15_05_30363.jpg
/home/pi/Desktop/images/07052026/00/16/image_07052026_00_16_35_30325.jpg
/home/pi/Desktop/images/07052026/00/16/image_07052026_00_17_06_30274.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820860","1416820854","1416820862","1416820856","1416820865","1416820858"],"photo_ids_order":["1416820854","1416820856","1416820858","1416820860","1416820862","1416820865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ddc26612b13dafa39dbc5e40a80bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody7461188359599454362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_15_05_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4209154b7d420e59e0d71f1232285712.jpg","text":"TemporaryFile(/tmp/multipartBody6225782799691979131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_13_35_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4c2e56db55284c020213b4db9c8b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody774608876813255789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_16_35_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5298fa737bc383fa87b76c70814cf7a5.jpg","text":"TemporaryFile(/tmp/multipartBody8625783261323956866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_14_06_30390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b516419c96b169d2f97629a2f1cca50b.jpg","text":"TemporaryFile(/tmp/multipartBody1314715615606353222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_17_06_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb2e33ee20602e61f76be1f31f76731a.jpg","text":"TemporaryFile(/tmp/multipartBody4509440457189484055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407936,"filename":"image_07052026_00_14_35_29239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820858","file1":"1416820856","file0":"1416820854","file4":"1416820862","file5":"1416820865","file3":"1416820860"},"map_files_photo_id_array":[{"photo_id":"1416820865","filename":"file5"},{"photo_id":"1416820858","filename":"file2"},{"photo_id":"1416820862","filename":"file4"},{"photo_id":"1416820856","filename":"file1"},{"photo_id":"1416820854","filename":"file0"},{"photo_id":"1416820860","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820860":["hashtag1","hashtag2"]},{"1416820854":["hashtag1","hashtag2"]},{"1416820862":["hashtag1","hashtag2"]},{"1416820856":["hashtag1","hashtag2"]},{"1416820865":["hashtag1","hashtag2"]},{"1416820858":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820860, 1416820854, 1416820862, 1416820856, 1416820865, 1416820858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.83622336387634 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820863","1416820866","1416820857","1416820859","1416820861","1416820855"],"photo_ids_order":["1416820855","1416820857","1416820859","1416820861","1416820863","1416820866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/afd6254e3fff77b7cfbd57d87ca31fea.jpg","text":"TemporaryFile(/tmp/multipartBody8448205910923049480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_47_35_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0da8107272140292bb33e7abae6a734c.jpg","text":"TemporaryFile(/tmp/multipartBody718909846327511366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_47_05_29128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f106b687d3f6b590b0c7e44c9d9182ec.jpg","text":"TemporaryFile(/tmp/multipartBody3937551946651767562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_49_05_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5265b894780b0e07605afc15a198b536.jpg","text":"TemporaryFile(/tmp/multipartBody2510815635306193651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_48_35_29372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2135ef1da44f3c03da54d609488a3641.jpg","text":"TemporaryFile(/tmp/multipartBody8824368244252819497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_48_06_30409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e390f0aa7850ffda41e3e0a5e94d30d.jpg","text":"TemporaryFile(/tmp/multipartBody1467154870415802309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480407949,"filename":"image_07052026_21_49_36_30341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820859","file1":"1416820857","file0":"1416820855","file4":"1416820863","file5":"1416820866","file3":"1416820861"},"map_files_photo_id_array":[{"photo_id":"1416820866","filename":"file5"},{"photo_id":"1416820859","filename":"file2"},{"photo_id":"1416820863","filename":"file4"},{"photo_id":"1416820857","filename":"file1"},{"photo_id":"1416820855","filename":"file0"},{"photo_id":"1416820861","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820863":["hashtag1","hashtag2"]},{"1416820866":["hashtag1","hashtag2"]},{"1416820857":["hashtag1","hashtag2"]},{"1416820859":["hashtag1","hashtag2"]},{"1416820861":["hashtag1","hashtag2"]},{"1416820855":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820863, 1416820866, 1416820857, 1416820859, 1416820861, 1416820855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.70624113082886 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:20:03.292050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/46/image_07052026_21_46_36_30380.jpg', '/home/pi/Desktop/images/07052026/21/45/image_07052026_21_46_05_30469.jpg', '/home/pi/Desktop/images/07052026/21/45/image_07052026_21_45_35_29287.jpg', '/home/pi/Desktop/images/07052026/21/44/image_07052026_21_44_35_29450.jpg', '/home/pi/Desktop/images/07052026/21/43/image_07052026_21_44_06_30407.jpg', '/home/pi/Desktop/images/07052026/21/43/image_07052026_21_43_35_30269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/46/image_07052026_21_46_36_30380.jpg
/home/pi/Desktop/images/07052026/21/45/image_07052026_21_46_05_30469.jpg
/home/pi/Desktop/images/07052026/21/45/image_07052026_21_45_35_29287.jpg
/home/pi/Desktop/images/07052026/21/44/image_07052026_21_44_35_29450.jpg
/home/pi/Desktop/images/07052026/21/43/image_07052026_21_44_06_30407.jpg
/home/pi/Desktop/images/07052026/21/43/image_07052026_21_43_35_30269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820872","1416820875","1416820874","1416820877","1416820873","1416820876"],"photo_ids_order":["1416820872","1416820873","1416820874","1416820875","1416820876","1416820877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1a48e86e11083bd5be9eaaa68b66b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8179886309556717157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_46_36_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b37a32c2622e0f30622fa90858cc23bf.jpg","text":"TemporaryFile(/tmp/multipartBody8874658091227806020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_44_35_29450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84d88c311d593d1e877bf7238756c9ef.jpg","text":"TemporaryFile(/tmp/multipartBody359034542979699777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_45_35_29287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a94d7be89ba87a1b436a191316ee4130.jpg","text":"TemporaryFile(/tmp/multipartBody5309325683854579237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_43_35_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/097fd1cfc759fdfa78ff9c85e3b4a0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2138590855230259291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_46_05_30469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/260fd8167d628374949c258975d39c6a.jpg","text":"TemporaryFile(/tmp/multipartBody333798082071467937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480465351,"filename":"image_07052026_21_44_06_30407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820874","file1":"1416820873","file0":"1416820872","file4":"1416820876","file5":"1416820877","file3":"1416820875"},"map_files_photo_id_array":[{"photo_id":"1416820877","filename":"file5"},{"photo_id":"1416820874","filename":"file2"},{"photo_id":"1416820876","filename":"file4"},{"photo_id":"1416820873","filename":"file1"},{"photo_id":"1416820872","filename":"file0"},{"photo_id":"1416820875","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820872":["hashtag1","hashtag2"]},{"1416820875":["hashtag1","hashtag2"]},{"1416820874":["hashtag1","hashtag2"]},{"1416820877":["hashtag1","hashtag2"]},{"1416820873":["hashtag1","hashtag2"]},{"1416820876":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820872, 1416820875, 1416820874, 1416820877, 1416820873, 1416820876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41902208328247 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:21:04.421218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/03/image_11052026_08_04_13_29166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/03/image_11052026_08_04_13_29166.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6026911735534668 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:22:02.692630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/03/image_11052026_08_04_13_29166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/03/image_11052026_08_04_13_29166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820890"],"photo_id":"1416820890","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b881628d225bebf81a22211d6e98dd84.jpg","text":"TemporaryFile(/tmp/multipartBody2311842607882912249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480583722,"filename":"image_11052026_08_04_13_29166.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416820890"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416820890"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.406269073486328 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:23:03.705475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/21/image_11052026_08_22_14_30181.jpg', '/home/pi/Desktop/images/11052026/08/20/image_11052026_08_21_13_29091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/21/image_11052026_08_22_14_30181.jpg
/home/pi/Desktop/images/11052026/08/20/image_11052026_08_21_13_29091.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820898","1416820897"],"photo_ids_order":["1416820897","1416820898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/518c750a537f4c3b361ac0948ca1e661.jpg","text":"TemporaryFile(/tmp/multipartBody5003407688941055075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480644875,"filename":"image_11052026_08_21_13_29091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7430092e011b590c97e73e7c504da0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3145481634603246629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480644875,"filename":"image_11052026_08_22_14_30181.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416820898","file0":"1416820897"},"map_files_photo_id_array":[{"photo_id":"1416820898","filename":"file1"},{"photo_id":"1416820897","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416820898":["hashtag1","hashtag2"]},{"1416820897":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416820898, 1416820897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.16524052619934 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-05-11 08:24:03.206325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/42/image_07052026_21_43_05_30183.jpg', '/home/pi/Desktop/images/07052026/21/42/image_07052026_21_42_35_29388.jpg', '/home/pi/Desktop/images/07052026/21/40/image_07052026_21_40_36_30362.jpg', '/home/pi/Desktop/images/07052026/21/39/image_07052026_21_40_05_30429.jpg', '/home/pi/Desktop/images/07052026/21/39/image_07052026_21_39_35_29255.jpg', '/home/pi/Desktop/images/07052026/21/31/image_07052026_21_31_36_30431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/42/image_07052026_21_43_05_30183.jpg
/home/pi/Desktop/images/07052026/21/42/image_07052026_21_42_35_29388.jpg
/home/pi/Desktop/images/07052026/21/40/image_07052026_21_40_36_30362.jpg
/home/pi/Desktop/images/07052026/21/39/image_07052026_21_40_05_30429.jpg
/home/pi/Desktop/images/07052026/21/39/image_07052026_21_39_35_29255.jpg
/home/pi/Desktop/images/07052026/21/31/image_07052026_21_31_36_30431.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820909","1416820914","1416820911","1416820913","1416820907","1416820915"],"photo_ids_order":["1416820907","1416820909","1416820911","1416820913","1416820914","1416820915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9490a363e59e402e11698b9317758107.jpg","text":"TemporaryFile(/tmp/multipartBody5295768068614110629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_42_35_29388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4013e56556d2a60300b6fb0945d8eee.jpg","text":"TemporaryFile(/tmp/multipartBody5075777939485102165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_39_35_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/547f207335891e04a1f1920d58fff9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2404598069779311177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_40_36_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed9b9cf26898f1e9d904c057ed460c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1731375107269903521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_40_05_30429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab62f17e5d0311cb74cb2daf8e3ebb16.jpg","text":"TemporaryFile(/tmp/multipartBody9093618392282952007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_43_05_30183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a407fbba856919a86e3113818ec0639c.jpg","text":"TemporaryFile(/tmp/multipartBody5527170651875529343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480705481,"filename":"image_07052026_21_31_36_30431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820911","file1":"1416820909","file0":"1416820907","file4":"1416820914","file5":"1416820915","file3":"1416820913"},"map_files_photo_id_array":[{"photo_id":"1416820915","filename":"file5"},{"photo_id":"1416820911","filename":"file2"},{"photo_id":"1416820914","filename":"file4"},{"photo_id":"1416820909","filename":"file1"},{"photo_id":"1416820907","filename":"file0"},{"photo_id":"1416820913","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820909":["hashtag1","hashtag2"]},{"1416820914":["hashtag1","hashtag2"]},{"1416820911":["hashtag1","hashtag2"]},{"1416820913":["hashtag1","hashtag2"]},{"1416820907":["hashtag1","hashtag2"]},{"1416820915":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820909, 1416820914, 1416820911, 1416820913, 1416820907, 1416820915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22125720977783 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:25:03.485578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/28/image_07052026_21_28_35_29273.jpg', '/home/pi/Desktop/images/07052026/21/27/image_07052026_21_27_35_29267.jpg', '/home/pi/Desktop/images/07052026/21/26/image_07052026_21_27_06_30286.jpg', '/home/pi/Desktop/images/07052026/21/26/image_07052026_21_26_36_30213.jpg', '/home/pi/Desktop/images/07052026/21/25/image_07052026_21_26_05_30336.jpg', '/home/pi/Desktop/images/07052026/21/25/image_07052026_21_25_35_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/28/image_07052026_21_28_35_29273.jpg
/home/pi/Desktop/images/07052026/21/27/image_07052026_21_27_35_29267.jpg
/home/pi/Desktop/images/07052026/21/26/image_07052026_21_27_06_30286.jpg
/home/pi/Desktop/images/07052026/21/26/image_07052026_21_26_36_30213.jpg
/home/pi/Desktop/images/07052026/21/25/image_07052026_21_26_05_30336.jpg
/home/pi/Desktop/images/07052026/21/25/image_07052026_21_25_35_30231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820932","1416820926","1416820928","1416820922","1416820930","1416820924"],"photo_ids_order":["1416820922","1416820924","1416820926","1416820928","1416820930","1416820932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cf6baff3af9a2eb752aa795c723dfff.jpg","text":"TemporaryFile(/tmp/multipartBody6181339380327631799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_25_35_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6cd6ef9c81806a80d619a5b21518f04.jpg","text":"TemporaryFile(/tmp/multipartBody7718153812729455014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_27_06_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95e6c7fd1f496aa6b5f80f056a68d772.jpg","text":"TemporaryFile(/tmp/multipartBody1768120088923624262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_26_36_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42c17e68b6091aac4b90e578be9b35e6.jpg","text":"TemporaryFile(/tmp/multipartBody1354058394245856115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_28_35_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bcbd8abe56bce5e37145331ed6b43df5.jpg","text":"TemporaryFile(/tmp/multipartBody8541258742276647601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_26_05_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11b0e972e65aaf571509a8c251e1cb25.jpg","text":"TemporaryFile(/tmp/multipartBody963095891581690064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480765843,"filename":"image_07052026_21_27_35_29267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820926","file1":"1416820924","file0":"1416820922","file4":"1416820930","file5":"1416820932","file3":"1416820928"},"map_files_photo_id_array":[{"photo_id":"1416820932","filename":"file5"},{"photo_id":"1416820926","filename":"file2"},{"photo_id":"1416820930","filename":"file4"},{"photo_id":"1416820924","filename":"file1"},{"photo_id":"1416820922","filename":"file0"},{"photo_id":"1416820928","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820932":["hashtag1","hashtag2"]},{"1416820926":["hashtag1","hashtag2"]},{"1416820928":["hashtag1","hashtag2"]},{"1416820922":["hashtag1","hashtag2"]},{"1416820930":["hashtag1","hashtag2"]},{"1416820924":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820932, 1416820926, 1416820928, 1416820922, 1416820930, 1416820924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41360640525818 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:26:03.241101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/22/image_11052026_08_22_44_30178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/22/image_11052026_08_22_44_30178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820934"],"photo_id":"1416820934","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6e67bbbd526ebf525b4a3cbf309000f.jpg","text":"TemporaryFile(/tmp/multipartBody3659937643932675373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480824321,"filename":"image_11052026_08_22_44_30178.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416820934"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416820934"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.889132738113403 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:27:03.684752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/23/image_07052026_21_24_05_30451.jpg', '/home/pi/Desktop/images/07052026/21/22/image_07052026_21_23_05_30355.jpg', '/home/pi/Desktop/images/07052026/21/22/image_07052026_21_22_35_30305.jpg', '/home/pi/Desktop/images/07052026/21/21/image_07052026_21_21_36_30333.jpg', '/home/pi/Desktop/images/07052026/21/20/image_07052026_21_21_05_29306.jpg', '/home/pi/Desktop/images/07052026/21/17/image_07052026_21_18_05_30375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/23/image_07052026_21_24_05_30451.jpg
/home/pi/Desktop/images/07052026/21/22/image_07052026_21_23_05_30355.jpg
/home/pi/Desktop/images/07052026/21/22/image_07052026_21_22_35_30305.jpg
/home/pi/Desktop/images/07052026/21/21/image_07052026_21_21_36_30333.jpg
/home/pi/Desktop/images/07052026/21/20/image_07052026_21_21_05_29306.jpg
/home/pi/Desktop/images/07052026/21/17/image_07052026_21_18_05_30375.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820947","1416820941","1416820949","1416820943","1416820951","1416820945"],"photo_ids_order":["1416820941","1416820943","1416820945","1416820947","1416820949","1416820951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e66d3aebc7e143800a62353e100e568d.jpg","text":"TemporaryFile(/tmp/multipartBody6632707630093658697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_21_36_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40ce2615d2707886094c682fa31c100f.jpg","text":"TemporaryFile(/tmp/multipartBody4812144586978651482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_24_05_30451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb02c843d6c505426731322333a1f400.jpg","text":"TemporaryFile(/tmp/multipartBody6961115916787292910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_21_05_29306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e69e9736ef359d560957e59ed8bfd716.jpg","text":"TemporaryFile(/tmp/multipartBody8324464676663919764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_23_05_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8deaa821763fe18d6a19da7239ec54ce.jpg","text":"TemporaryFile(/tmp/multipartBody3842835847531932976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_18_05_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f17cb1173a6eb24c93de4dc3d5ae1d56.jpg","text":"TemporaryFile(/tmp/multipartBody2686845491320499565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480886203,"filename":"image_07052026_21_22_35_30305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820945","file1":"1416820943","file0":"1416820941","file4":"1416820949","file5":"1416820951","file3":"1416820947"},"map_files_photo_id_array":[{"photo_id":"1416820951","filename":"file5"},{"photo_id":"1416820945","filename":"file2"},{"photo_id":"1416820949","filename":"file4"},{"photo_id":"1416820943","filename":"file1"},{"photo_id":"1416820941","filename":"file0"},{"photo_id":"1416820947","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820947":["hashtag1","hashtag2"]},{"1416820941":["hashtag1","hashtag2"]},{"1416820949":["hashtag1","hashtag2"]},{"1416820943":["hashtag1","hashtag2"]},{"1416820951":["hashtag1","hashtag2"]},{"1416820945":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820947, 1416820941, 1416820949, 1416820943, 1416820951, 1416820945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49774670600891 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:28:03.437499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/25/image_11052026_08_25_44_30150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/25/image_11052026_08_25_44_30150.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820953"],"photo_id":"1416820953","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee01c14baf588f199c3344d74cfa0724.jpg","text":"TemporaryFile(/tmp/multipartBody7976367738031786110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778480944487,"filename":"image_11052026_08_25_44_30150.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416820953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416820953"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.69980263710022 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:29:04.162350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/26/image_11052026_08_27_13_30101.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/26/image_11052026_08_27_13_30101.jpg
2026-05-11 08:29:04.229501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/26/image_11052026_08_27_13_30101.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/26/image_11052026_08_27_13_30101.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820960"],"photo_id":"1416820960","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/863b879bc1b0d8314d6d6c6d78a9214a.jpg","text":"TemporaryFile(/tmp/multipartBody2489025494155316741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481005308,"filename":"image_11052026_08_27_13_30101.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416820960"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416820960"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.266375303268433 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820961"],"photo_id":"1416820961","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7affb2af9ffc8cfabc2e908fe15d63a4.jpg","text":"TemporaryFile(/tmp/multipartBody2885012130377232447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481005311,"filename":"image_11052026_08_27_13_30101.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416820961"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416820961"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.951216220855713 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:30:03.471835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/14/image_07052026_21_15_05_30325.jpg', '/home/pi/Desktop/images/07052026/21/13/image_07052026_21_14_05_29395.jpg', '/home/pi/Desktop/images/07052026/21/13/image_07052026_21_13_35_30287.jpg', '/home/pi/Desktop/images/07052026/21/12/image_07052026_21_13_05_30307.jpg', '/home/pi/Desktop/images/07052026/21/12/image_07052026_21_12_35_29280.jpg', '/home/pi/Desktop/images/07052026/21/11/image_07052026_21_12_05_30373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/14/image_07052026_21_15_05_30325.jpg
/home/pi/Desktop/images/07052026/21/13/image_07052026_21_14_05_29395.jpg
/home/pi/Desktop/images/07052026/21/13/image_07052026_21_13_35_30287.jpg
/home/pi/Desktop/images/07052026/21/12/image_07052026_21_13_05_30307.jpg
/home/pi/Desktop/images/07052026/21/12/image_07052026_21_12_35_29280.jpg
/home/pi/Desktop/images/07052026/21/11/image_07052026_21_12_05_30373.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820983","1416820986","1416820978","1416820987","1416820981","1416820975"],"photo_ids_order":["1416820975","1416820978","1416820981","1416820983","1416820986","1416820987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ecad46d8d9e0d9d589cf2ddedae40ab.jpg","text":"TemporaryFile(/tmp/multipartBody131681133747931637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_13_05_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a50b91ce3fa9f4f5363fa0be69d23252.jpg","text":"TemporaryFile(/tmp/multipartBody5095632795218445969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_12_35_29280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a58e7006c47e8a183602be4bab126f96.jpg","text":"TemporaryFile(/tmp/multipartBody5146076111371301075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_14_05_29395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1d84c99dae174dec0ff0ea6c10d96fa.jpg","text":"TemporaryFile(/tmp/multipartBody582655853183563552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_12_05_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/61d802477bafe188b6dab7f28a7b1954.jpg","text":"TemporaryFile(/tmp/multipartBody1097240782133680497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_13_35_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2827a63752abcbc0296e8026eb456ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6687505893099330889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481065990,"filename":"image_07052026_21_15_05_30325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820981","file1":"1416820978","file0":"1416820975","file4":"1416820986","file5":"1416820987","file3":"1416820983"},"map_files_photo_id_array":[{"photo_id":"1416820987","filename":"file5"},{"photo_id":"1416820981","filename":"file2"},{"photo_id":"1416820986","filename":"file4"},{"photo_id":"1416820978","filename":"file1"},{"photo_id":"1416820975","filename":"file0"},{"photo_id":"1416820983","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820983":["hashtag1","hashtag2"]},{"1416820986":["hashtag1","hashtag2"]},{"1416820978":["hashtag1","hashtag2"]},{"1416820987":["hashtag1","hashtag2"]},{"1416820981":["hashtag1","hashtag2"]},{"1416820975":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820983, 1416820986, 1416820978, 1416820987, 1416820981, 1416820975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.749858379364014 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:31:03.934543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/10/image_07052026_21_10_36_30196.jpg', '/home/pi/Desktop/images/07052026/21/09/image_07052026_21_10_05_30375.jpg', '/home/pi/Desktop/images/07052026/21/09/image_07052026_21_09_35_29284.jpg', '/home/pi/Desktop/images/07052026/21/08/image_07052026_21_09_06_30363.jpg', '/home/pi/Desktop/images/07052026/21/08/image_07052026_21_08_35_30274.jpg', '/home/pi/Desktop/images/07052026/21/04/image_07052026_21_05_05_29203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/10/image_07052026_21_10_36_30196.jpg
/home/pi/Desktop/images/07052026/21/09/image_07052026_21_10_05_30375.jpg
/home/pi/Desktop/images/07052026/21/09/image_07052026_21_09_35_29284.jpg
/home/pi/Desktop/images/07052026/21/08/image_07052026_21_09_06_30363.jpg
/home/pi/Desktop/images/07052026/21/08/image_07052026_21_08_35_30274.jpg
/home/pi/Desktop/images/07052026/21/04/image_07052026_21_05_05_29203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416820995","1416820989","1416820991","1416820997","1416820999","1416820993"],"photo_ids_order":["1416820989","1416820991","1416820993","1416820995","1416820997","1416820999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff356feff93ebd3bb751380eade84de9.jpg","text":"TemporaryFile(/tmp/multipartBody8868700280504493458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_09_06_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d08758e1a0a5eb75462886ad25e13676.jpg","text":"TemporaryFile(/tmp/multipartBody8778925314398524031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_10_36_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ada621018c13b0bdf6e9c6bb5b508677.jpg","text":"TemporaryFile(/tmp/multipartBody3999026280310696133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_10_05_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ac7f6236d36269f8b126d173e486d76.jpg","text":"TemporaryFile(/tmp/multipartBody8184896564363055792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_08_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fd3f2c9efb35cc394d9dea9aa04b114.jpg","text":"TemporaryFile(/tmp/multipartBody4158797392604366538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_05_05_29203.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6462f4570b219ae9bbe8ff6320f129d6.jpg","text":"TemporaryFile(/tmp/multipartBody117447547879398645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481126103,"filename":"image_07052026_21_09_35_29284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416820993","file1":"1416820991","file0":"1416820989","file4":"1416820997","file5":"1416820999","file3":"1416820995"},"map_files_photo_id_array":[{"photo_id":"1416820999","filename":"file5"},{"photo_id":"1416820993","filename":"file2"},{"photo_id":"1416820997","filename":"file4"},{"photo_id":"1416820991","filename":"file1"},{"photo_id":"1416820989","filename":"file0"},{"photo_id":"1416820995","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416820995":["hashtag1","hashtag2"]},{"1416820989":["hashtag1","hashtag2"]},{"1416820991":["hashtag1","hashtag2"]},{"1416820997":["hashtag1","hashtag2"]},{"1416820999":["hashtag1","hashtag2"]},{"1416820993":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416820995, 1416820989, 1416820991, 1416820997, 1416820999, 1416820993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17575240135193 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:32:03.375525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/27/image_11052026_08_28_14_30106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/27/image_11052026_08_28_14_30106.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416821001"],"photo_id":"1416821001","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6250832a85a877e258f9477e9e89977c.jpg","text":"TemporaryFile(/tmp/multipartBody8585445746648842527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481184400,"filename":"image_11052026_08_28_14_30106.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416821001"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416821001"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.89016580581665 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:33:03.456971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/03/image_07052026_21_03_35_29331.jpg', '/home/pi/Desktop/images/07052026/21/02/image_07052026_21_03_06_30319.jpg', '/home/pi/Desktop/images/07052026/21/02/image_07052026_21_02_35_30353.jpg', '/home/pi/Desktop/images/07052026/21/01/image_07052026_21_02_05_29263.jpg', '/home/pi/Desktop/images/07052026/21/01/image_07052026_21_01_36_30383.jpg', '/home/pi/Desktop/images/07052026/20/59/image_07052026_20_59_36_30149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/03/image_07052026_21_03_35_29331.jpg
/home/pi/Desktop/images/07052026/21/02/image_07052026_21_03_06_30319.jpg
/home/pi/Desktop/images/07052026/21/02/image_07052026_21_02_35_30353.jpg
/home/pi/Desktop/images/07052026/21/01/image_07052026_21_02_05_29263.jpg
/home/pi/Desktop/images/07052026/21/01/image_07052026_21_01_36_30383.jpg
/home/pi/Desktop/images/07052026/20/59/image_07052026_20_59_36_30149.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.765796184539795 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:34:03.326559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/21/03/image_07052026_21_03_35_29331.jpg', '/home/pi/Desktop/images/07052026/21/02/image_07052026_21_03_06_30319.jpg', '/home/pi/Desktop/images/07052026/21/02/image_07052026_21_02_35_30353.jpg', '/home/pi/Desktop/images/07052026/21/01/image_07052026_21_02_05_29263.jpg', '/home/pi/Desktop/images/07052026/21/01/image_07052026_21_01_36_30383.jpg', '/home/pi/Desktop/images/07052026/20/59/image_07052026_20_59_36_30149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/21/03/image_07052026_21_03_35_29331.jpg
/home/pi/Desktop/images/07052026/21/02/image_07052026_21_03_06_30319.jpg
/home/pi/Desktop/images/07052026/21/02/image_07052026_21_02_35_30353.jpg
/home/pi/Desktop/images/07052026/21/01/image_07052026_21_02_05_29263.jpg
/home/pi/Desktop/images/07052026/21/01/image_07052026_21_01_36_30383.jpg
/home/pi/Desktop/images/07052026/20/59/image_07052026_20_59_36_30149.jpg
2026-05-11 08:34:03.481746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/17/image_07052026_00_17_35_29270.jpg', '/home/pi/Desktop/images/07052026/00/17/image_07052026_00_18_05_30373.jpg', '/home/pi/Desktop/images/07052026/00/18/image_07052026_00_19_05_29216.jpg', '/home/pi/Desktop/images/07052026/00/19/image_07052026_00_19_35_30344.jpg', '/home/pi/Desktop/images/07052026/00/22/image_07052026_00_23_06_30341.jpg', '/home/pi/Desktop/images/07052026/00/23/image_07052026_00_23_35_29337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/17/image_07052026_00_17_35_29270.jpg
/home/pi/Desktop/images/07052026/00/17/image_07052026_00_18_05_30373.jpg
/home/pi/Desktop/images/07052026/00/18/image_07052026_00_19_05_29216.jpg
/home/pi/Desktop/images/07052026/00/19/image_07052026_00_19_35_30344.jpg
/home/pi/Desktop/images/07052026/00/22/image_07052026_00_23_06_30341.jpg
/home/pi/Desktop/images/07052026/00/23/image_07052026_00_23_35_29337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416821766","1416821759","1416821761","1416821755","1416821769","1416821763"],"photo_ids_order":["1416821755","1416821759","1416821761","1416821763","1416821766","1416821769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c7bf428a8f16631eba3c552cefba236.jpg","text":"TemporaryFile(/tmp/multipartBody3565597287514202899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_21_01_36_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ce1225584e05a8343d4bf557fc52311.jpg","text":"TemporaryFile(/tmp/multipartBody7740889457293189024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_21_03_06_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67f05689744f74c07c6d14dbfb89ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody9123796652341932523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_21_02_35_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69d5a6c06e9cf8c7bd428583eb53a40f.jpg","text":"TemporaryFile(/tmp/multipartBody5845091555938132642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_21_03_35_29331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd360cd4daeeb58929dfad064c698775.jpg","text":"TemporaryFile(/tmp/multipartBody2799660961556847061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_20_59_36_30149.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/687a80f2d5b8774563a5d784416878a5.jpg","text":"TemporaryFile(/tmp/multipartBody3258170752920752682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481306311,"filename":"image_07052026_21_02_05_29263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416821761","file1":"1416821759","file0":"1416821755","file4":"1416821766","file5":"1416821769","file3":"1416821763"},"map_files_photo_id_array":[{"photo_id":"1416821769","filename":"file5"},{"photo_id":"1416821761","filename":"file2"},{"photo_id":"1416821766","filename":"file4"},{"photo_id":"1416821759","filename":"file1"},{"photo_id":"1416821755","filename":"file0"},{"photo_id":"1416821763","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416821766":["hashtag1","hashtag2"]},{"1416821759":["hashtag1","hashtag2"]},{"1416821761":["hashtag1","hashtag2"]},{"1416821755":["hashtag1","hashtag2"]},{"1416821769":["hashtag1","hashtag2"]},{"1416821763":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416821766, 1416821759, 1416821761, 1416821755, 1416821769, 1416821763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33693790435791 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416821760","1416821754","1416821768","1416821770","1416821764","1416821757"],"photo_ids_order":["1416821754","1416821757","1416821760","1416821764","1416821768","1416821770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1caee2642e3bc8bcbe363fae1430837c.jpg","text":"TemporaryFile(/tmp/multipartBody4356541956445043386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_19_05_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f025616fd2c366b4c64ef31e75503a16.jpg","text":"TemporaryFile(/tmp/multipartBody2876882592997815584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_17_35_29270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f08d1cb5c1d0100c5deba6242db1e30.jpg","text":"TemporaryFile(/tmp/multipartBody5680648771335267041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_23_06_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd2c339c05cf15733bbdb3bd5ba27aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2475712216356126551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_23_35_29337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dbdb94585e816718cc9da4ab502db544.jpg","text":"TemporaryFile(/tmp/multipartBody3544875774194782851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_19_35_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a73d6e255c07ae5cd63495ebb18b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5432268406027653835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481305856,"filename":"image_07052026_00_18_05_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416821760","file1":"1416821757","file0":"1416821754","file4":"1416821768","file5":"1416821770","file3":"1416821764"},"map_files_photo_id_array":[{"photo_id":"1416821770","filename":"file5"},{"photo_id":"1416821760","filename":"file2"},{"photo_id":"1416821768","filename":"file4"},{"photo_id":"1416821757","filename":"file1"},{"photo_id":"1416821754","filename":"file0"},{"photo_id":"1416821764","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416821760":["hashtag1","hashtag2"]},{"1416821754":["hashtag1","hashtag2"]},{"1416821768":["hashtag1","hashtag2"]},{"1416821770":["hashtag1","hashtag2"]},{"1416821764":["hashtag1","hashtag2"]},{"1416821757":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416821760, 1416821754, 1416821768, 1416821770, 1416821764, 1416821757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75668382644653 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:35:03.268069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/34/image_11052026_08_35_14_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/34/image_11052026_08_35_14_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416821773"],"photo_id":"1416821773","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2126f47d62834121d635ee6ab50ebfa.jpg","text":"TemporaryFile(/tmp/multipartBody8021285779890121760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481364255,"filename":"image_11052026_08_35_14_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416821773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416821773"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.034501791000366 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:36:02.853868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/57/image_07052026_20_58_05_29198.jpg', '/home/pi/Desktop/images/07052026/20/56/image_07052026_20_57_05_30193.jpg', '/home/pi/Desktop/images/07052026/20/56/image_07052026_20_56_35_30298.jpg', '/home/pi/Desktop/images/07052026/20/53/image_07052026_20_54_06_30203.jpg', '/home/pi/Desktop/images/07052026/20/52/image_07052026_20_53_05_30233.jpg', '/home/pi/Desktop/images/07052026/20/52/image_07052026_20_52_35_29241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/57/image_07052026_20_58_05_29198.jpg
/home/pi/Desktop/images/07052026/20/56/image_07052026_20_57_05_30193.jpg
/home/pi/Desktop/images/07052026/20/56/image_07052026_20_56_35_30298.jpg
/home/pi/Desktop/images/07052026/20/53/image_07052026_20_54_06_30203.jpg
/home/pi/Desktop/images/07052026/20/52/image_07052026_20_53_05_30233.jpg
/home/pi/Desktop/images/07052026/20/52/image_07052026_20_52_35_29241.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822012","1416822071","1416821780","1416822016","1416822069","1416822051"],"photo_ids_order":["1416821780","1416822012","1416822016","1416822051","1416822069","1416822071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c794efc27c74adfb46a9caeb26a5578.jpg","text":"TemporaryFile(/tmp/multipartBody8690941186570753155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_57_05_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2f25a761c57eb04afd3190213ebd692.jpg","text":"TemporaryFile(/tmp/multipartBody68416020283849717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_52_35_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03f6bf82e8ff6224536b032b0a7b2add.jpg","text":"TemporaryFile(/tmp/multipartBody3531764104566226122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_58_05_29198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dedd47891a5340b93d76414dc1b91375.jpg","text":"TemporaryFile(/tmp/multipartBody1102656547839293157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_56_35_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/530be4b573a551ff8525c4e6ccbd6eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3495216678673098988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_53_05_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce9139f883dd87fe39a5907545337596.jpg","text":"TemporaryFile(/tmp/multipartBody354335149137209412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481424807,"filename":"image_07052026_20_54_06_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822016","file1":"1416822012","file0":"1416821780","file4":"1416822069","file5":"1416822071","file3":"1416822051"},"map_files_photo_id_array":[{"photo_id":"1416822071","filename":"file5"},{"photo_id":"1416822016","filename":"file2"},{"photo_id":"1416822069","filename":"file4"},{"photo_id":"1416822012","filename":"file1"},{"photo_id":"1416821780","filename":"file0"},{"photo_id":"1416822051","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822012":["hashtag1","hashtag2"]},{"1416822071":["hashtag1","hashtag2"]},{"1416821780":["hashtag1","hashtag2"]},{"1416822016":["hashtag1","hashtag2"]},{"1416822069":["hashtag1","hashtag2"]},{"1416822051":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822012, 1416822071, 1416821780, 1416822016, 1416822069, 1416822051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00541949272156 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:37:04.189841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/51/image_07052026_20_52_06_30160.jpg', '/home/pi/Desktop/images/07052026/20/50/image_07052026_20_51_05_30246.jpg', '/home/pi/Desktop/images/07052026/20/50/image_07052026_20_50_35_30174.jpg', '/home/pi/Desktop/images/07052026/20/49/image_07052026_20_50_05_29144.jpg', '/home/pi/Desktop/images/07052026/20/49/image_07052026_20_49_36_30283.jpg', '/home/pi/Desktop/images/07052026/20/48/image_07052026_20_48_35_30123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/51/image_07052026_20_52_06_30160.jpg
/home/pi/Desktop/images/07052026/20/50/image_07052026_20_51_05_30246.jpg
/home/pi/Desktop/images/07052026/20/50/image_07052026_20_50_35_30174.jpg
/home/pi/Desktop/images/07052026/20/49/image_07052026_20_50_05_29144.jpg
/home/pi/Desktop/images/07052026/20/49/image_07052026_20_49_36_30283.jpg
/home/pi/Desktop/images/07052026/20/48/image_07052026_20_48_35_30123.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6366219520568848 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:38:03.682528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/51/image_07052026_20_52_06_30160.jpg', '/home/pi/Desktop/images/07052026/20/50/image_07052026_20_51_05_30246.jpg', '/home/pi/Desktop/images/07052026/20/50/image_07052026_20_50_35_30174.jpg', '/home/pi/Desktop/images/07052026/20/49/image_07052026_20_50_05_29144.jpg', '/home/pi/Desktop/images/07052026/20/49/image_07052026_20_49_36_30283.jpg', '/home/pi/Desktop/images/07052026/20/48/image_07052026_20_48_35_30123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/51/image_07052026_20_52_06_30160.jpg
/home/pi/Desktop/images/07052026/20/50/image_07052026_20_51_05_30246.jpg
/home/pi/Desktop/images/07052026/20/50/image_07052026_20_50_35_30174.jpg
/home/pi/Desktop/images/07052026/20/49/image_07052026_20_50_05_29144.jpg
/home/pi/Desktop/images/07052026/20/49/image_07052026_20_49_36_30283.jpg
/home/pi/Desktop/images/07052026/20/48/image_07052026_20_48_35_30123.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822083","1416822080","1416822082","1416822085","1416822084","1416822081"],"photo_ids_order":["1416822080","1416822081","1416822082","1416822083","1416822084","1416822085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56cfd3bf8602ea4264b2ffd457c80013.jpg","text":"TemporaryFile(/tmp/multipartBody7277377949834014111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_50_05_29144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/003be6f14c84bbe33aba1e81f87114d0.jpg","text":"TemporaryFile(/tmp/multipartBody95515573688025540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_52_06_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9609b8f6892afe6e0d1e716283699b6.jpg","text":"TemporaryFile(/tmp/multipartBody5014563748145752643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_50_35_30174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e772fe2c601fdebf76a4972ae39f954.jpg","text":"TemporaryFile(/tmp/multipartBody4249437421668559205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_48_35_30123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ddfaab06355ffb7d7e6207af7d116a2.jpg","text":"TemporaryFile(/tmp/multipartBody7656723360831189715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_49_36_30283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7acf1b52e4537ab9b11961edccf64a40.jpg","text":"TemporaryFile(/tmp/multipartBody1916846203782200079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481545502,"filename":"image_07052026_20_51_05_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822082","file1":"1416822081","file0":"1416822080","file4":"1416822084","file5":"1416822085","file3":"1416822083"},"map_files_photo_id_array":[{"photo_id":"1416822085","filename":"file5"},{"photo_id":"1416822082","filename":"file2"},{"photo_id":"1416822084","filename":"file4"},{"photo_id":"1416822081","filename":"file1"},{"photo_id":"1416822080","filename":"file0"},{"photo_id":"1416822083","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822083":["hashtag1","hashtag2"]},{"1416822080":["hashtag1","hashtag2"]},{"1416822082":["hashtag1","hashtag2"]},{"1416822085":["hashtag1","hashtag2"]},{"1416822084":["hashtag1","hashtag2"]},{"1416822081":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822083, 1416822080, 1416822082, 1416822085, 1416822084, 1416822081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91503834724426 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:39:04.062824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/23/image_07052026_00_24_06_30384.jpg', '/home/pi/Desktop/images/07052026/00/24/image_07052026_00_24_35_29357.jpg', '/home/pi/Desktop/images/07052026/00/24/image_07052026_00_25_05_30322.jpg', '/home/pi/Desktop/images/07052026/00/25/image_07052026_00_25_36_30357.jpg', '/home/pi/Desktop/images/07052026/00/25/image_07052026_00_26_05_29386.jpg', '/home/pi/Desktop/images/07052026/00/26/image_07052026_00_27_06_30464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/23/image_07052026_00_24_06_30384.jpg
/home/pi/Desktop/images/07052026/00/24/image_07052026_00_24_35_29357.jpg
/home/pi/Desktop/images/07052026/00/24/image_07052026_00_25_05_30322.jpg
/home/pi/Desktop/images/07052026/00/25/image_07052026_00_25_36_30357.jpg
/home/pi/Desktop/images/07052026/00/25/image_07052026_00_26_05_29386.jpg
/home/pi/Desktop/images/07052026/00/26/image_07052026_00_27_06_30464.jpg
2026-05-11 08:39:04.097232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/47/image_07052026_20_48_05_30274.jpg', '/home/pi/Desktop/images/07052026/20/47/image_07052026_20_47_35_29174.jpg', '/home/pi/Desktop/images/07052026/20/46/image_07052026_20_47_06_30160.jpg', '/home/pi/Desktop/images/07052026/20/46/image_07052026_20_46_35_30162.jpg', '/home/pi/Desktop/images/07052026/20/45/image_07052026_20_46_05_30273.jpg', '/home/pi/Desktop/images/07052026/20/45/image_07052026_20_45_35_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/47/image_07052026_20_48_05_30274.jpg
/home/pi/Desktop/images/07052026/20/47/image_07052026_20_47_35_29174.jpg
/home/pi/Desktop/images/07052026/20/46/image_07052026_20_47_06_30160.jpg
/home/pi/Desktop/images/07052026/20/46/image_07052026_20_46_35_30162.jpg
/home/pi/Desktop/images/07052026/20/45/image_07052026_20_46_05_30273.jpg
/home/pi/Desktop/images/07052026/20/45/image_07052026_20_45_35_29238.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3336639404296875 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822098","1416822101","1416822094","1416822088","1416822090","1416822103"],"photo_ids_order":["1416822088","1416822090","1416822094","1416822098","1416822101","1416822103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e5119533ef1113cf372dc8d0cb63724.jpg","text":"TemporaryFile(/tmp/multipartBody5725327801931749433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_25_36_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57d1f40a7aabb5d85d10b78e899ac425.jpg","text":"TemporaryFile(/tmp/multipartBody341901652836533771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_26_05_29386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5bcead970e3c9775718eb1fa3dd37e6.jpg","text":"TemporaryFile(/tmp/multipartBody5345398349122617695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_25_05_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8e5396e6aa0175d78259448c7506ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7282196350991293514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_24_06_30384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/675499f02dd06239b6927eb594e2e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody9221002206855595216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_24_35_29357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b92e03bf92ad81a3b8124fdf6ef05811.jpg","text":"TemporaryFile(/tmp/multipartBody5377417986768363120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481607137,"filename":"image_07052026_00_27_06_30464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822094","file1":"1416822090","file0":"1416822088","file4":"1416822101","file5":"1416822103","file3":"1416822098"},"map_files_photo_id_array":[{"photo_id":"1416822103","filename":"file5"},{"photo_id":"1416822094","filename":"file2"},{"photo_id":"1416822101","filename":"file4"},{"photo_id":"1416822090","filename":"file1"},{"photo_id":"1416822088","filename":"file0"},{"photo_id":"1416822098","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822098":["hashtag1","hashtag2"]},{"1416822101":["hashtag1","hashtag2"]},{"1416822094":["hashtag1","hashtag2"]},{"1416822088":["hashtag1","hashtag2"]},{"1416822090":["hashtag1","hashtag2"]},{"1416822103":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822098, 1416822101, 1416822094, 1416822088, 1416822090, 1416822103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.364373445510864 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:40:02.876018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/32/image_11052026_08_32_44_30137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/32/image_11052026_08_32_44_30137.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822105"],"photo_id":"1416822105","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58926c3c3ea6223c0bacbdc41589453a.jpg","text":"TemporaryFile(/tmp/multipartBody5719151878538019655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481663936,"filename":"image_11052026_08_32_44_30137.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416822105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416822105"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.233059883117676 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:41:04.424442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/38/image_11052026_08_39_14_30193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/38/image_11052026_08_39_14_30193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822108"],"photo_id":"1416822108","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe6850e038d3fa401f7489908cf8fd4b.jpg","text":"TemporaryFile(/tmp/multipartBody6555016227506648427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481725387,"filename":"image_11052026_08_39_14_30193.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416822108"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416822108"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.85320782661438 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:42:03.736389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/47/image_07052026_20_48_05_30274.jpg', '/home/pi/Desktop/images/07052026/20/47/image_07052026_20_47_35_29174.jpg', '/home/pi/Desktop/images/07052026/20/46/image_07052026_20_47_06_30160.jpg', '/home/pi/Desktop/images/07052026/20/46/image_07052026_20_46_35_30162.jpg', '/home/pi/Desktop/images/07052026/20/45/image_07052026_20_46_05_30273.jpg', '/home/pi/Desktop/images/07052026/20/45/image_07052026_20_45_35_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/47/image_07052026_20_48_05_30274.jpg
/home/pi/Desktop/images/07052026/20/47/image_07052026_20_47_35_29174.jpg
/home/pi/Desktop/images/07052026/20/46/image_07052026_20_47_06_30160.jpg
/home/pi/Desktop/images/07052026/20/46/image_07052026_20_46_35_30162.jpg
/home/pi/Desktop/images/07052026/20/45/image_07052026_20_46_05_30273.jpg
/home/pi/Desktop/images/07052026/20/45/image_07052026_20_45_35_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822578","1416822545","1416822119","1416822307","1416822121","1416822123"],"photo_ids_order":["1416822119","1416822121","1416822123","1416822307","1416822545","1416822578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5871f05629557cd47bfce822e0a0fd04.jpg","text":"TemporaryFile(/tmp/multipartBody5158175536594130277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_45_35_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c26010c731e0800a6c1c179a4f6f41c2.jpg","text":"TemporaryFile(/tmp/multipartBody5566890297327575358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_46_05_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed54840902495a1bc8243f4cb67ed150.jpg","text":"TemporaryFile(/tmp/multipartBody7684948907928621151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_48_05_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1161231d0002dfc20e40fb516efdbc3f.jpg","text":"TemporaryFile(/tmp/multipartBody3667344349774615760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_46_35_30162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6c1722e90fdf2fbb1a17a0d35a99d83.jpg","text":"TemporaryFile(/tmp/multipartBody2220312980529081761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_47_35_29174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94ef26b94a6d2a9e00e559cf39950704.jpg","text":"TemporaryFile(/tmp/multipartBody3482036590022333207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481785747,"filename":"image_07052026_20_47_06_30160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822123","file1":"1416822121","file0":"1416822119","file4":"1416822545","file5":"1416822578","file3":"1416822307"},"map_files_photo_id_array":[{"photo_id":"1416822578","filename":"file5"},{"photo_id":"1416822123","filename":"file2"},{"photo_id":"1416822545","filename":"file4"},{"photo_id":"1416822121","filename":"file1"},{"photo_id":"1416822119","filename":"file0"},{"photo_id":"1416822307","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822578":["hashtag1","hashtag2"]},{"1416822545":["hashtag1","hashtag2"]},{"1416822119":["hashtag1","hashtag2"]},{"1416822307":["hashtag1","hashtag2"]},{"1416822121":["hashtag1","hashtag2"]},{"1416822123":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822578, 1416822545, 1416822119, 1416822307, 1416822121, 1416822123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91278052330017 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:43:03.750863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/44/image_07052026_20_45_06_30297.jpg', '/home/pi/Desktop/images/07052026/20/44/image_07052026_20_44_36_30360.jpg', '/home/pi/Desktop/images/07052026/20/43/image_07052026_20_44_05_30259.jpg', '/home/pi/Desktop/images/07052026/20/43/image_07052026_20_43_35_29290.jpg', '/home/pi/Desktop/images/07052026/20/42/image_07052026_20_43_06_30279.jpg', '/home/pi/Desktop/images/07052026/20/42/image_07052026_20_42_35_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/44/image_07052026_20_45_06_30297.jpg
/home/pi/Desktop/images/07052026/20/44/image_07052026_20_44_36_30360.jpg
/home/pi/Desktop/images/07052026/20/43/image_07052026_20_44_05_30259.jpg
/home/pi/Desktop/images/07052026/20/43/image_07052026_20_43_35_29290.jpg
/home/pi/Desktop/images/07052026/20/42/image_07052026_20_43_06_30279.jpg
/home/pi/Desktop/images/07052026/20/42/image_07052026_20_42_35_30271.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.808030366897583 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:44:03.468312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/27/image_07052026_00_27_35_29321.jpg', '/home/pi/Desktop/images/07052026/00/28/image_07052026_00_29_05_30417.jpg', '/home/pi/Desktop/images/07052026/00/29/image_07052026_00_29_36_30352.jpg', '/home/pi/Desktop/images/07052026/00/31/image_07052026_00_32_05_30358.jpg', '/home/pi/Desktop/images/07052026/00/32/image_07052026_00_33_06_30377.jpg', '/home/pi/Desktop/images/07052026/00/33/image_07052026_00_33_35_29373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/27/image_07052026_00_27_35_29321.jpg
/home/pi/Desktop/images/07052026/00/28/image_07052026_00_29_05_30417.jpg
/home/pi/Desktop/images/07052026/00/29/image_07052026_00_29_36_30352.jpg
/home/pi/Desktop/images/07052026/00/31/image_07052026_00_32_05_30358.jpg
/home/pi/Desktop/images/07052026/00/32/image_07052026_00_33_06_30377.jpg
/home/pi/Desktop/images/07052026/00/33/image_07052026_00_33_35_29373.jpg
2026-05-11 08:44:03.616429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/44/image_07052026_20_45_06_30297.jpg', '/home/pi/Desktop/images/07052026/20/44/image_07052026_20_44_36_30360.jpg', '/home/pi/Desktop/images/07052026/20/43/image_07052026_20_44_05_30259.jpg', '/home/pi/Desktop/images/07052026/20/43/image_07052026_20_43_35_29290.jpg', '/home/pi/Desktop/images/07052026/20/42/image_07052026_20_43_06_30279.jpg', '/home/pi/Desktop/images/07052026/20/42/image_07052026_20_42_35_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/44/image_07052026_20_45_06_30297.jpg
/home/pi/Desktop/images/07052026/20/44/image_07052026_20_44_36_30360.jpg
/home/pi/Desktop/images/07052026/20/43/image_07052026_20_44_05_30259.jpg
/home/pi/Desktop/images/07052026/20/43/image_07052026_20_43_35_29290.jpg
/home/pi/Desktop/images/07052026/20/42/image_07052026_20_43_06_30279.jpg
/home/pi/Desktop/images/07052026/20/42/image_07052026_20_42_35_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822749","1416822745","1416822739","1416822741","1416822744","1416822747"],"photo_ids_order":["1416822739","1416822741","1416822744","1416822745","1416822747","1416822749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c279995ce61c575bb24fff60363ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody8837848015494856096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_42_35_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79843aa3b0c21caa975d31d2a53ad646.jpg","text":"TemporaryFile(/tmp/multipartBody9059421061897068400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_43_35_29290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/857ae35c0f54d9ba572c8e8740e4268c.jpg","text":"TemporaryFile(/tmp/multipartBody8868370822784307794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_45_06_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7641892bbb1f89673639f0cf57d320e9.jpg","text":"TemporaryFile(/tmp/multipartBody5203309558167774537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_44_36_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83af3972cf357cfdbb6eecb3df7faa56.jpg","text":"TemporaryFile(/tmp/multipartBody6905007995035800220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_44_05_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbd3ba953c0cd87fd7ff83d6f5ec63e7.jpg","text":"TemporaryFile(/tmp/multipartBody7199168658663105307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906656,"filename":"image_07052026_20_43_06_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822744","file1":"1416822741","file0":"1416822739","file4":"1416822747","file5":"1416822749","file3":"1416822745"},"map_files_photo_id_array":[{"photo_id":"1416822749","filename":"file5"},{"photo_id":"1416822744","filename":"file2"},{"photo_id":"1416822747","filename":"file4"},{"photo_id":"1416822741","filename":"file1"},{"photo_id":"1416822739","filename":"file0"},{"photo_id":"1416822745","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822749":["hashtag1","hashtag2"]},{"1416822745":["hashtag1","hashtag2"]},{"1416822739":["hashtag1","hashtag2"]},{"1416822741":["hashtag1","hashtag2"]},{"1416822744":["hashtag1","hashtag2"]},{"1416822747":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822749, 1416822745, 1416822739, 1416822741, 1416822744, 1416822747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28165006637573 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822746","1416822740","1416822743","1416822748","1416822750","1416822738"],"photo_ids_order":["1416822738","1416822740","1416822743","1416822746","1416822748","1416822750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a10ede03e5ab33fab2caa373eb8792b.jpg","text":"TemporaryFile(/tmp/multipartBody8749565498687486263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_32_05_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5140e9fb55271557640fc460f69c5244.jpg","text":"TemporaryFile(/tmp/multipartBody8763879839934519359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_29_05_30417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2c2d91e2225d91e52a1160ecb5620a9.jpg","text":"TemporaryFile(/tmp/multipartBody368422435550861850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_29_36_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c2014487c4ce1e1120ca44c67eac80f.jpg","text":"TemporaryFile(/tmp/multipartBody6484541282375653270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_33_06_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ba3c5c5a4d4bca8ac8e8e87a3a1f904.jpg","text":"TemporaryFile(/tmp/multipartBody6353872454760291845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_33_35_29373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c72b3b64493126951bcd94b3a9212a0.jpg","text":"TemporaryFile(/tmp/multipartBody4995555027411184273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481906095,"filename":"image_07052026_00_27_35_29321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822743","file1":"1416822740","file0":"1416822738","file4":"1416822748","file5":"1416822750","file3":"1416822746"},"map_files_photo_id_array":[{"photo_id":"1416822750","filename":"file5"},{"photo_id":"1416822743","filename":"file2"},{"photo_id":"1416822748","filename":"file4"},{"photo_id":"1416822740","filename":"file1"},{"photo_id":"1416822738","filename":"file0"},{"photo_id":"1416822746","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822746":["hashtag1","hashtag2"]},{"1416822740":["hashtag1","hashtag2"]},{"1416822743":["hashtag1","hashtag2"]},{"1416822748":["hashtag1","hashtag2"]},{"1416822750":["hashtag1","hashtag2"]},{"1416822738":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822746, 1416822740, 1416822743, 1416822748, 1416822750, 1416822738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15269136428833 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:45:03.413391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/41/image_07052026_20_41_36_30254.jpg', '/home/pi/Desktop/images/07052026/20/40/image_07052026_20_41_06_30298.jpg', '/home/pi/Desktop/images/07052026/20/39/image_07052026_20_40_05_29193.jpg', '/home/pi/Desktop/images/07052026/20/39/image_07052026_20_39_36_30313.jpg', '/home/pi/Desktop/images/07052026/20/37/image_07052026_20_38_05_30210.jpg', '/home/pi/Desktop/images/07052026/20/34/image_07052026_20_34_35_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/41/image_07052026_20_41_36_30254.jpg
/home/pi/Desktop/images/07052026/20/40/image_07052026_20_41_06_30298.jpg
/home/pi/Desktop/images/07052026/20/39/image_07052026_20_40_05_29193.jpg
/home/pi/Desktop/images/07052026/20/39/image_07052026_20_39_36_30313.jpg
/home/pi/Desktop/images/07052026/20/37/image_07052026_20_38_05_30210.jpg
/home/pi/Desktop/images/07052026/20/34/image_07052026_20_34_35_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416822761","1416822755","1416822763","1416822757","1416822753","1416822759"],"photo_ids_order":["1416822753","1416822755","1416822757","1416822759","1416822761","1416822763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31d166fd54ff60174212872a878fc90a.jpg","text":"TemporaryFile(/tmp/multipartBody7661700916304779088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_38_05_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1cd99dde916d31b9d068dc5e13ee82d.jpg","text":"TemporaryFile(/tmp/multipartBody6881216428425689157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_41_06_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bf8bcff50980de7a9ce5efa255d2168.jpg","text":"TemporaryFile(/tmp/multipartBody7483083633694723895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_34_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee382eff7012a92a304b7426cf6a2abd.jpg","text":"TemporaryFile(/tmp/multipartBody7220453093499321964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_40_05_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6dff14c3a5765698a71dfc1a5d38073c.jpg","text":"TemporaryFile(/tmp/multipartBody202191267972835609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_41_36_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eaaa3fb7df3abde06d46218c10292132.jpg","text":"TemporaryFile(/tmp/multipartBody37115235520024568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778481965269,"filename":"image_07052026_20_39_36_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416822757","file1":"1416822755","file0":"1416822753","file4":"1416822761","file5":"1416822763","file3":"1416822759"},"map_files_photo_id_array":[{"photo_id":"1416822763","filename":"file5"},{"photo_id":"1416822757","filename":"file2"},{"photo_id":"1416822761","filename":"file4"},{"photo_id":"1416822755","filename":"file1"},{"photo_id":"1416822753","filename":"file0"},{"photo_id":"1416822759","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416822761":["hashtag1","hashtag2"]},{"1416822755":["hashtag1","hashtag2"]},{"1416822763":["hashtag1","hashtag2"]},{"1416822757":["hashtag1","hashtag2"]},{"1416822753":["hashtag1","hashtag2"]},{"1416822759":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416822761, 1416822755, 1416822763, 1416822757, 1416822753, 1416822759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16443228721619 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:46:02.865495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/33/image_07052026_20_33_35_29226.jpg', '/home/pi/Desktop/images/07052026/20/28/image_07052026_20_29_05_30293.jpg', '/home/pi/Desktop/images/07052026/20/28/image_07052026_20_28_35_29242.jpg', '/home/pi/Desktop/images/07052026/20/24/image_07052026_20_24_35_29238.jpg', '/home/pi/Desktop/images/07052026/20/23/image_07052026_20_23_36_30264.jpg', '/home/pi/Desktop/images/07052026/20/22/image_07052026_20_22_35_30108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/33/image_07052026_20_33_35_29226.jpg
/home/pi/Desktop/images/07052026/20/28/image_07052026_20_29_05_30293.jpg
/home/pi/Desktop/images/07052026/20/28/image_07052026_20_28_35_29242.jpg
/home/pi/Desktop/images/07052026/20/24/image_07052026_20_24_35_29238.jpg
/home/pi/Desktop/images/07052026/20/23/image_07052026_20_23_36_30264.jpg
/home/pi/Desktop/images/07052026/20/22/image_07052026_20_22_35_30108.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823025","1416823013","1416822968","1416822967","1416823027","1416823026"],"photo_ids_order":["1416822967","1416822968","1416823013","1416823025","1416823026","1416823027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f1b21df9cccff8959d524aac42bfb56.jpg","text":"TemporaryFile(/tmp/multipartBody905309050899513725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_24_35_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc133d3868ddbc0c8389ad84c89e3e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5681105610662344080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_28_35_29242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9fc4cb084c7eed3cf07540d332376cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3141334534802815543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_29_05_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7a019859acd8db5291528c83d72a595.jpg","text":"TemporaryFile(/tmp/multipartBody4601445353446022592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_33_35_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e485e1a1bdd00a6f7e1dfecd58ca7b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4975790726736939840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_22_35_30108.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7929a32b4f729bc4649d2fd08d5c272e.jpg","text":"TemporaryFile(/tmp/multipartBody7131464855768903198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482024916,"filename":"image_07052026_20_23_36_30264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823013","file1":"1416822968","file0":"1416822967","file4":"1416823026","file5":"1416823027","file3":"1416823025"},"map_files_photo_id_array":[{"photo_id":"1416823027","filename":"file5"},{"photo_id":"1416823013","filename":"file2"},{"photo_id":"1416823026","filename":"file4"},{"photo_id":"1416822968","filename":"file1"},{"photo_id":"1416822967","filename":"file0"},{"photo_id":"1416823025","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823025":["hashtag1","hashtag2"]},{"1416823013":["hashtag1","hashtag2"]},{"1416822968":["hashtag1","hashtag2"]},{"1416822967":["hashtag1","hashtag2"]},{"1416823027":["hashtag1","hashtag2"]},{"1416823026":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823025, 1416823013, 1416822968, 1416822967, 1416823027, 1416823026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82266926765442 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:47:04.213151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/21/image_07052026_20_22_05_29120.jpg', '/home/pi/Desktop/images/07052026/20/21/image_07052026_20_21_36_30285.jpg', '/home/pi/Desktop/images/07052026/20/20/image_07052026_20_21_05_30205.jpg', '/home/pi/Desktop/images/07052026/20/16/image_07052026_20_16_36_30251.jpg', '/home/pi/Desktop/images/07052026/20/15/image_07052026_20_16_05_30293.jpg', '/home/pi/Desktop/images/07052026/20/11/image_07052026_20_11_35_30214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/21/image_07052026_20_22_05_29120.jpg
/home/pi/Desktop/images/07052026/20/21/image_07052026_20_21_36_30285.jpg
/home/pi/Desktop/images/07052026/20/20/image_07052026_20_21_05_30205.jpg
/home/pi/Desktop/images/07052026/20/16/image_07052026_20_16_36_30251.jpg
/home/pi/Desktop/images/07052026/20/15/image_07052026_20_16_05_30293.jpg
/home/pi/Desktop/images/07052026/20/11/image_07052026_20_11_35_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823040","1416823034","1416823036","1416823030","1416823032","1416823038"],"photo_ids_order":["1416823030","1416823032","1416823034","1416823036","1416823038","1416823040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff550102e5948860b6672790c44a27e9.jpg","text":"TemporaryFile(/tmp/multipartBody1916892409998038599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_11_35_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9fe3bb52b61245ac2e767635480fa2de.jpg","text":"TemporaryFile(/tmp/multipartBody3295007719802857286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_21_05_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2efae32ce57207f3f2a0d5ed17428a1.jpg","text":"TemporaryFile(/tmp/multipartBody3909187128830612243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_16_36_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d92f13b17acd7c36e552ec11eb86631b.jpg","text":"TemporaryFile(/tmp/multipartBody8029748086980994572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_22_05_29120.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03cc4ba7d67fc7e483c242165679fe72.jpg","text":"TemporaryFile(/tmp/multipartBody8985608668676771691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_21_36_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42e471f69081bdf90d4bb9152196d78b.jpg","text":"TemporaryFile(/tmp/multipartBody8264953792617580363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482086401,"filename":"image_07052026_20_16_05_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823034","file1":"1416823032","file0":"1416823030","file4":"1416823038","file5":"1416823040","file3":"1416823036"},"map_files_photo_id_array":[{"photo_id":"1416823040","filename":"file5"},{"photo_id":"1416823034","filename":"file2"},{"photo_id":"1416823038","filename":"file4"},{"photo_id":"1416823032","filename":"file1"},{"photo_id":"1416823030","filename":"file0"},{"photo_id":"1416823036","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823040":["hashtag1","hashtag2"]},{"1416823034":["hashtag1","hashtag2"]},{"1416823036":["hashtag1","hashtag2"]},{"1416823030":["hashtag1","hashtag2"]},{"1416823032":["hashtag1","hashtag2"]},{"1416823038":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823040, 1416823034, 1416823036, 1416823030, 1416823032, 1416823038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30450224876404 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:48:02.771138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/05/image_07052026_20_05_35_30112.jpg', '/home/pi/Desktop/images/07052026/20/04/image_07052026_20_05_05_30192.jpg', '/home/pi/Desktop/images/07052026/20/04/image_07052026_20_04_35_30197.jpg', '/home/pi/Desktop/images/07052026/20/03/image_07052026_20_04_05_29157.jpg', '/home/pi/Desktop/images/07052026/20/03/image_07052026_20_03_36_30214.jpg', '/home/pi/Desktop/images/07052026/20/02/image_07052026_20_03_06_30307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/05/image_07052026_20_05_35_30112.jpg
/home/pi/Desktop/images/07052026/20/04/image_07052026_20_05_05_30192.jpg
/home/pi/Desktop/images/07052026/20/04/image_07052026_20_04_35_30197.jpg
/home/pi/Desktop/images/07052026/20/03/image_07052026_20_04_05_29157.jpg
/home/pi/Desktop/images/07052026/20/03/image_07052026_20_03_36_30214.jpg
/home/pi/Desktop/images/07052026/20/02/image_07052026_20_03_06_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823049","1416823042","1416823051","1416823045","1416823047","1416823044"],"photo_ids_order":["1416823042","1416823044","1416823045","1416823047","1416823049","1416823051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c20324d3e83474f0851abf637e6fdc29.jpg","text":"TemporaryFile(/tmp/multipartBody5113345962531605952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_03_36_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8b238d67ca087fd1f77c357a41faff6.jpg","text":"TemporaryFile(/tmp/multipartBody7540928068219231363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_05_35_30112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ce323c6d94aac3eec1e73c97f3fdd0c.jpg","text":"TemporaryFile(/tmp/multipartBody7230239041876057634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_03_06_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5269a91872dccd2abc691826cc1436ac.jpg","text":"TemporaryFile(/tmp/multipartBody5971267309840044479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_04_35_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ffb01fecddea6cd5ea26f34ed92d9a23.jpg","text":"TemporaryFile(/tmp/multipartBody4104545755053714345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_04_05_29157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9018663a23366bb342879d84c546fec1.jpg","text":"TemporaryFile(/tmp/multipartBody6978392982436692588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482144635,"filename":"image_07052026_20_05_05_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823045","file1":"1416823044","file0":"1416823042","file4":"1416823049","file5":"1416823051","file3":"1416823047"},"map_files_photo_id_array":[{"photo_id":"1416823051","filename":"file5"},{"photo_id":"1416823045","filename":"file2"},{"photo_id":"1416823049","filename":"file4"},{"photo_id":"1416823044","filename":"file1"},{"photo_id":"1416823042","filename":"file0"},{"photo_id":"1416823047","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823049":["hashtag1","hashtag2"]},{"1416823042":["hashtag1","hashtag2"]},{"1416823051":["hashtag1","hashtag2"]},{"1416823045":["hashtag1","hashtag2"]},{"1416823047":["hashtag1","hashtag2"]},{"1416823044":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823049, 1416823042, 1416823051, 1416823045, 1416823047, 1416823044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.753950357437134 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:49:04.529294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/34/image_07052026_00_34_35_29405.jpg', '/home/pi/Desktop/images/07052026/00/34/image_07052026_00_35_05_30310.jpg', '/home/pi/Desktop/images/07052026/00/35/image_07052026_00_35_36_30440.jpg', '/home/pi/Desktop/images/07052026/00/35/image_07052026_00_36_05_29282.jpg', '/home/pi/Desktop/images/07052026/00/36/image_07052026_00_36_35_30355.jpg', '/home/pi/Desktop/images/07052026/00/39/image_07052026_00_40_05_29307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/34/image_07052026_00_34_35_29405.jpg
/home/pi/Desktop/images/07052026/00/34/image_07052026_00_35_05_30310.jpg
/home/pi/Desktop/images/07052026/00/35/image_07052026_00_35_36_30440.jpg
/home/pi/Desktop/images/07052026/00/35/image_07052026_00_36_05_29282.jpg
/home/pi/Desktop/images/07052026/00/36/image_07052026_00_36_35_30355.jpg
/home/pi/Desktop/images/07052026/00/39/image_07052026_00_40_05_29307.jpg
2026-05-11 08:49:04.676245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/20/01/image_07052026_20_01_35_29246.jpg', '/home/pi/Desktop/images/07052026/20/00/image_07052026_20_01_06_30062.jpg', '/home/pi/Desktop/images/07052026/20/00/image_07052026_20_00_36_30204.jpg', '/home/pi/Desktop/images/07052026/19/55/image_07052026_19_56_05_29141.jpg', '/home/pi/Desktop/images/07052026/19/55/image_07052026_19_55_36_30323.jpg', '/home/pi/Desktop/images/07052026/19/54/image_07052026_19_55_05_30226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/20/01/image_07052026_20_01_35_29246.jpg
/home/pi/Desktop/images/07052026/20/00/image_07052026_20_01_06_30062.jpg
/home/pi/Desktop/images/07052026/20/00/image_07052026_20_00_36_30204.jpg
/home/pi/Desktop/images/07052026/19/55/image_07052026_19_56_05_29141.jpg
/home/pi/Desktop/images/07052026/19/55/image_07052026_19_55_36_30323.jpg
/home/pi/Desktop/images/07052026/19/54/image_07052026_19_55_05_30226.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823063","1416823057","1416823065","1416823059","1416823056","1416823061"],"photo_ids_order":["1416823056","1416823057","1416823059","1416823061","1416823063","1416823065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5d3e94d656a26dbd635eaf9ed5eaf53.jpg","text":"TemporaryFile(/tmp/multipartBody2452273572689708153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_36_35_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af89fdcb1de188dd96ba807a603bd8e8.jpg","text":"TemporaryFile(/tmp/multipartBody7429450685817113372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_35_05_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74e88889fcc5c1605ce9f934070b4ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3975825819381943678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_40_05_29307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2e226e0b866161b40d825694516fdcf.jpg","text":"TemporaryFile(/tmp/multipartBody3789249633510534116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_35_36_30440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc4e55c4cb4d0ee087645dab5b3662cc.jpg","text":"TemporaryFile(/tmp/multipartBody8287912167558595890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_34_35_29405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0817ffdc551860942b0f933c86660b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2724116894404777510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207654,"filename":"image_07052026_00_36_05_29282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823059","file1":"1416823057","file0":"1416823056","file4":"1416823063","file5":"1416823065","file3":"1416823061"},"map_files_photo_id_array":[{"photo_id":"1416823065","filename":"file5"},{"photo_id":"1416823059","filename":"file2"},{"photo_id":"1416823063","filename":"file4"},{"photo_id":"1416823057","filename":"file1"},{"photo_id":"1416823056","filename":"file0"},{"photo_id":"1416823061","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823063":["hashtag1","hashtag2"]},{"1416823057":["hashtag1","hashtag2"]},{"1416823065":["hashtag1","hashtag2"]},{"1416823059":["hashtag1","hashtag2"]},{"1416823056":["hashtag1","hashtag2"]},{"1416823061":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823063, 1416823057, 1416823065, 1416823059, 1416823056, 1416823061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74722242355347 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823064","1416823058","1416823066","1416823060","1416823062","1416823055"],"photo_ids_order":["1416823055","1416823058","1416823060","1416823062","1416823064","1416823066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2b333f50c3c147c486a06423e325d32.jpg","text":"TemporaryFile(/tmp/multipartBody8316288087851654420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_19_55_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f14f3b9cb820bd5e23a77f60535da4bd.jpg","text":"TemporaryFile(/tmp/multipartBody5144306417168097313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_20_01_06_30062.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e3991c143a335824c66b6d0b3b9e01e.jpg","text":"TemporaryFile(/tmp/multipartBody5992948014851055646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_19_55_05_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90194926ed9f5bf22dcac99fe471df05.jpg","text":"TemporaryFile(/tmp/multipartBody6124339657446257171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_20_00_36_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7371d40e40d317e708b1a49569ba6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2521669524454719482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_19_56_05_29141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53f139452bb79b396182be590891d337.jpg","text":"TemporaryFile(/tmp/multipartBody4762649576823169888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482207577,"filename":"image_07052026_20_01_35_29246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823060","file1":"1416823058","file0":"1416823055","file4":"1416823064","file5":"1416823066","file3":"1416823062"},"map_files_photo_id_array":[{"photo_id":"1416823066","filename":"file5"},{"photo_id":"1416823060","filename":"file2"},{"photo_id":"1416823064","filename":"file4"},{"photo_id":"1416823058","filename":"file1"},{"photo_id":"1416823055","filename":"file0"},{"photo_id":"1416823062","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823064":["hashtag1","hashtag2"]},{"1416823058":["hashtag1","hashtag2"]},{"1416823066":["hashtag1","hashtag2"]},{"1416823060":["hashtag1","hashtag2"]},{"1416823062":["hashtag1","hashtag2"]},{"1416823055":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823064, 1416823058, 1416823066, 1416823060, 1416823062, 1416823055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57568144798279 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:50:03.414046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/52/image_07052026_19_52_35_30236.jpg', '/home/pi/Desktop/images/07052026/19/51/image_07052026_19_51_35_29153.jpg', '/home/pi/Desktop/images/07052026/19/47/image_07052026_19_47_35_30163.jpg', '/home/pi/Desktop/images/07052026/19/46/image_07052026_19_47_05_29040.jpg', '/home/pi/Desktop/images/07052026/19/45/image_07052026_19_45_36_30096.jpg', '/home/pi/Desktop/images/07052026/19/44/image_07052026_19_45_05_30058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/52/image_07052026_19_52_35_30236.jpg
/home/pi/Desktop/images/07052026/19/51/image_07052026_19_51_35_29153.jpg
/home/pi/Desktop/images/07052026/19/47/image_07052026_19_47_35_30163.jpg
/home/pi/Desktop/images/07052026/19/46/image_07052026_19_47_05_29040.jpg
/home/pi/Desktop/images/07052026/19/45/image_07052026_19_45_36_30096.jpg
/home/pi/Desktop/images/07052026/19/44/image_07052026_19_45_05_30058.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823070","1416823072","1416823078","1416823074","1416823068","1416823076"],"photo_ids_order":["1416823068","1416823070","1416823072","1416823074","1416823076","1416823078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e17124863b6138f0ed429d87b1d1a36a.jpg","text":"TemporaryFile(/tmp/multipartBody2571977371500611165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_51_35_29153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e415cb24c85fbb6f486a836cc09767d7.jpg","text":"TemporaryFile(/tmp/multipartBody4700679880233633576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_47_35_30163.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45c4a9ef698405011a13525d228a3e7f.jpg","text":"TemporaryFile(/tmp/multipartBody4114769070044486643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_45_05_30058.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93943d56785d357f4dc080b677687731.jpg","text":"TemporaryFile(/tmp/multipartBody6765623762049865231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_47_05_29040.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/baaa97c634284a5c1fa2255461b2ce72.jpg","text":"TemporaryFile(/tmp/multipartBody7658205775936900827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_52_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e151176e3a0eae004de20f01790a9f30.jpg","text":"TemporaryFile(/tmp/multipartBody987336818757059756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482265349,"filename":"image_07052026_19_45_36_30096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823072","file1":"1416823070","file0":"1416823068","file4":"1416823076","file5":"1416823078","file3":"1416823074"},"map_files_photo_id_array":[{"photo_id":"1416823078","filename":"file5"},{"photo_id":"1416823072","filename":"file2"},{"photo_id":"1416823076","filename":"file4"},{"photo_id":"1416823070","filename":"file1"},{"photo_id":"1416823068","filename":"file0"},{"photo_id":"1416823074","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823070":["hashtag1","hashtag2"]},{"1416823072":["hashtag1","hashtag2"]},{"1416823078":["hashtag1","hashtag2"]},{"1416823074":["hashtag1","hashtag2"]},{"1416823068":["hashtag1","hashtag2"]},{"1416823076":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823070, 1416823072, 1416823078, 1416823074, 1416823068, 1416823076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14931535720825 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:51:03.650472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/44/image_07052026_19_44_35_30187.jpg', '/home/pi/Desktop/images/07052026/19/43/image_07052026_19_44_05_30301.jpg', '/home/pi/Desktop/images/07052026/19/43/image_07052026_19_43_35_29234.jpg', '/home/pi/Desktop/images/07052026/19/42/image_07052026_19_43_06_30106.jpg', '/home/pi/Desktop/images/07052026/19/42/image_07052026_19_42_36_30102.jpg', '/home/pi/Desktop/images/07052026/19/40/image_07052026_19_41_05_30151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/44/image_07052026_19_44_35_30187.jpg
/home/pi/Desktop/images/07052026/19/43/image_07052026_19_44_05_30301.jpg
/home/pi/Desktop/images/07052026/19/43/image_07052026_19_43_35_29234.jpg
/home/pi/Desktop/images/07052026/19/42/image_07052026_19_43_06_30106.jpg
/home/pi/Desktop/images/07052026/19/42/image_07052026_19_42_36_30102.jpg
/home/pi/Desktop/images/07052026/19/40/image_07052026_19_41_05_30151.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823085","1416823087","1416823081","1416823089","1416823083","1416823091"],"photo_ids_order":["1416823081","1416823083","1416823085","1416823087","1416823089","1416823091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb20a3fd41a323d5aaa2971dcbce7b96.jpg","text":"TemporaryFile(/tmp/multipartBody4598996671174248394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_43_35_29234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8b3704c82231646f2b6c54b87646475.jpg","text":"TemporaryFile(/tmp/multipartBody8038391331150050778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_43_06_30106.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5459a05819ec3a38bd874cb50be43870.jpg","text":"TemporaryFile(/tmp/multipartBody5436573031031334970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_44_35_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cfa0ae0e63a3b2f5a806a6ee8b20fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5453225665248318711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_42_36_30102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc811d17c3abdc4a05f0a936815e32b6.jpg","text":"TemporaryFile(/tmp/multipartBody6790411632765723209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_44_05_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40864961a21c106bdfc860000f76cd92.jpg","text":"TemporaryFile(/tmp/multipartBody6044717280372404072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482325701,"filename":"image_07052026_19_41_05_30151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823085","file1":"1416823083","file0":"1416823081","file4":"1416823089","file5":"1416823091","file3":"1416823087"},"map_files_photo_id_array":[{"photo_id":"1416823091","filename":"file5"},{"photo_id":"1416823085","filename":"file2"},{"photo_id":"1416823089","filename":"file4"},{"photo_id":"1416823083","filename":"file1"},{"photo_id":"1416823081","filename":"file0"},{"photo_id":"1416823087","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823085":["hashtag1","hashtag2"]},{"1416823087":["hashtag1","hashtag2"]},{"1416823081":["hashtag1","hashtag2"]},{"1416823089":["hashtag1","hashtag2"]},{"1416823083":["hashtag1","hashtag2"]},{"1416823091":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823085, 1416823087, 1416823081, 1416823089, 1416823083, 1416823091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62595248222351 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:52:03.596310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/41/image_11052026_08_41_44_30233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/41/image_11052026_08_41_44_30233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823454"],"photo_id":"1416823454","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fde30ebbc8999323015f8539476c988c.jpg","text":"TemporaryFile(/tmp/multipartBody4340336222845598333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482384582,"filename":"image_11052026_08_41_44_30233.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416823454"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416823454"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.852997541427612 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:53:03.910959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/51/image_11052026_08_51_44_30066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/51/image_11052026_08_51_44_30066.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823531"],"photo_id":"1416823531","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a21579482339115162a67f8e3659df68.jpg","text":"TemporaryFile(/tmp/multipartBody1434387526799625341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482444945,"filename":"image_11052026_08_51_44_30066.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416823531"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416823531"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.345883846282959 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:54:03.799285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/52/image_11052026_08_52_44_29272.jpg', '/home/pi/Desktop/images/11052026/08/52/image_11052026_08_53_14_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/52/image_11052026_08_52_44_29272.jpg
/home/pi/Desktop/images/11052026/08/52/image_11052026_08_53_14_30291.jpg
2026-05-11 08:54:03.968829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/53/image_11052026_08_53_44_30166.jpg', '/home/pi/Desktop/images/11052026/08/52/image_11052026_08_53_14_30291.jpg', '/home/pi/Desktop/images/11052026/08/52/image_11052026_08_52_44_29272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/53/image_11052026_08_53_44_30166.jpg
/home/pi/Desktop/images/11052026/08/52/image_11052026_08_53_14_30291.jpg
/home/pi/Desktop/images/11052026/08/52/image_11052026_08_52_44_29272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823535","1416823533"],"photo_ids_order":["1416823533","1416823535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3536e45cd7d445b69a2a8ba93871539e.jpg","text":"TemporaryFile(/tmp/multipartBody6614314583928884708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482505401,"filename":"image_11052026_08_53_14_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83f35e53086737932678093f948ff1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3191598772570502817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482505401,"filename":"image_11052026_08_52_44_29272.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416823535","file0":"1416823533"},"map_files_photo_id_array":[{"photo_id":"1416823535","filename":"file1"},{"photo_id":"1416823533","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416823535":["hashtag1","hashtag2"]},{"1416823533":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416823535, 1416823533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.747775077819824 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823537","1416823534","1416823536"],"photo_ids_order":["1416823534","1416823536","1416823537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3aab81b2eb115ffaff6ceb27f3ab5925.jpg","text":"TemporaryFile(/tmp/multipartBody1155664389155075412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482505533,"filename":"image_11052026_08_52_44_29272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70de3598bfa57a3212efc67ff8470b48.jpg","text":"TemporaryFile(/tmp/multipartBody4755225457375757568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482505533,"filename":"image_11052026_08_53_44_30166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d12aced15f00847cf6945035ffd07b8.jpg","text":"TemporaryFile(/tmp/multipartBody6905465179692318796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482505533,"filename":"image_11052026_08_53_14_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823537","file1":"1416823536","file0":"1416823534"},"map_files_photo_id_array":[{"photo_id":"1416823537","filename":"file2"},{"photo_id":"1416823536","filename":"file1"},{"photo_id":"1416823534","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416823537":["hashtag1","hashtag2"]},{"1416823534":["hashtag1","hashtag2"]},{"1416823536":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416823537, 1416823534, 1416823536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.353617906570435 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 08:59:04.574170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/54/image_11052026_08_54_44_30176.jpg', '/home/pi/Desktop/images/11052026/08/54/image_11052026_08_55_14_29221.jpg', '/home/pi/Desktop/images/11052026/08/55/image_11052026_08_55_44_30282.jpg', '/home/pi/Desktop/images/11052026/08/55/image_11052026_08_56_14_30235.jpg', '/home/pi/Desktop/images/11052026/08/56/image_11052026_08_56_44_30222.jpg', '/home/pi/Desktop/images/11052026/08/56/image_11052026_08_57_13_29089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/54/image_11052026_08_54_44_30176.jpg
/home/pi/Desktop/images/11052026/08/54/image_11052026_08_55_14_29221.jpg
/home/pi/Desktop/images/11052026/08/55/image_11052026_08_55_44_30282.jpg
/home/pi/Desktop/images/11052026/08/55/image_11052026_08_56_14_30235.jpg
/home/pi/Desktop/images/11052026/08/56/image_11052026_08_56_44_30222.jpg
/home/pi/Desktop/images/11052026/08/56/image_11052026_08_57_13_29089.jpg
2026-05-11 08:59:04.642011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/56/image_11052026_08_57_13_29089.jpg', '/home/pi/Desktop/images/11052026/08/56/image_11052026_08_56_44_30222.jpg', '/home/pi/Desktop/images/11052026/08/55/image_11052026_08_56_14_30235.jpg', '/home/pi/Desktop/images/11052026/08/55/image_11052026_08_55_44_30282.jpg', '/home/pi/Desktop/images/11052026/08/54/image_11052026_08_55_14_29221.jpg', '/home/pi/Desktop/images/11052026/08/54/image_11052026_08_54_44_30176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/56/image_11052026_08_57_13_29089.jpg
/home/pi/Desktop/images/11052026/08/56/image_11052026_08_56_44_30222.jpg
/home/pi/Desktop/images/11052026/08/55/image_11052026_08_56_14_30235.jpg
/home/pi/Desktop/images/11052026/08/55/image_11052026_08_55_44_30282.jpg
/home/pi/Desktop/images/11052026/08/54/image_11052026_08_55_14_29221.jpg
/home/pi/Desktop/images/11052026/08/54/image_11052026_08_54_44_30176.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823823","1416823826","1416823819","1416823830","1416823833","1416823836"],"photo_ids_order":["1416823819","1416823823","1416823826","1416823830","1416823833","1416823836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f52f83d74346126f2aad042b7ba6ba06.jpg","text":"TemporaryFile(/tmp/multipartBody5884011425885542099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_55_14_29221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36cd23dbfaffd75aa85de46603d49c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4138536128885286125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_55_44_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aea5aa5878846858f583a6bd9b9d0dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5305762364000555104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_54_44_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91af981126b93bae41293f069bb10b53.jpg","text":"TemporaryFile(/tmp/multipartBody4740378253743827653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_56_14_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a43a5ee60db7c6389f8884fdbdc54f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2354046158324173378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_56_44_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bbd35167175ca596d371b75c0f27cc5d.jpg","text":"TemporaryFile(/tmp/multipartBody193004409146839890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806959,"filename":"image_11052026_08_57_13_29089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823826","file1":"1416823823","file0":"1416823819","file4":"1416823833","file5":"1416823836","file3":"1416823830"},"map_files_photo_id_array":[{"photo_id":"1416823836","filename":"file5"},{"photo_id":"1416823826","filename":"file2"},{"photo_id":"1416823833","filename":"file4"},{"photo_id":"1416823823","filename":"file1"},{"photo_id":"1416823819","filename":"file0"},{"photo_id":"1416823830","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416823823":["hashtag1","hashtag2"]},{"1416823826":["hashtag1","hashtag2"]},{"1416823819":["hashtag1","hashtag2"]},{"1416823830":["hashtag1","hashtag2"]},{"1416823833":["hashtag1","hashtag2"]},{"1416823836":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416823823, 1416823826, 1416823819, 1416823830, 1416823833, 1416823836)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416823829","1416823834","1416823837","1416823827","1416823824","1416823818"],"photo_ids_order":["1416823818","1416823824","1416823827","1416823829","1416823834","1416823837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a9bf33974a30bdcd9790f1b07e43577.jpg","text":"TemporaryFile(/tmp/multipartBody3561964317386954882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_55_44_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/647a4620099927265f9edd80874819cb.jpg","text":"TemporaryFile(/tmp/multipartBody1191410042340922381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_55_14_29221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35bf9a7e3d32989643b06fc6d6a27590.jpg","text":"TemporaryFile(/tmp/multipartBody1077100569343527343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_54_44_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1cfb39ac2d1eaafedbeab298b963866.jpg","text":"TemporaryFile(/tmp/multipartBody4826695176759109523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_56_14_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55ad4180314ff109103dd8046e4aeb7a.jpg","text":"TemporaryFile(/tmp/multipartBody3302483756620859219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_56_44_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8463cd642a1049be23e6055b3f01d449.jpg","text":"TemporaryFile(/tmp/multipartBody2742662306286598837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482806721,"filename":"image_11052026_08_57_13_29089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823827","file1":"1416823824","file0":"1416823818","file4":"1416823834","file5":"1416823837","file3":"1416823829"},"map_files_photo_id_array":[{"photo_id":"1416823837","filename":"file5"},{"photo_id":"1416823827","filename":"file2"},{"photo_id":"1416823834","filename":"file4"},{"photo_id":"1416823824","filename":"file1"},{"photo_id":"1416823818","filename":"file0"},{"photo_id":"1416823829","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416823829":["hashtag1","hashtag2"]},{"1416823834":["hashtag1","hashtag2"]},{"1416823837":["hashtag1","hashtag2"]},{"1416823827":["hashtag1","hashtag2"]},{"1416823824":["hashtag1","hashtag2"]},{"1416823818":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416823829, 1416823834, 1416823837, 1416823827, 1416823824, 1416823818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31826853752136 secondes ---
uploaded 6 photos
time to upload: 41.34271955490112 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:00:03.321344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/39/image_07052026_19_40_06_30144.jpg', '/home/pi/Desktop/images/07052026/19/39/image_07052026_19_39_36_30108.jpg', '/home/pi/Desktop/images/07052026/19/38/image_07052026_19_39_05_30196.jpg', '/home/pi/Desktop/images/07052026/19/38/image_07052026_19_38_35_30290.jpg', '/home/pi/Desktop/images/07052026/19/37/image_07052026_19_37_36_30082.jpg', '/home/pi/Desktop/images/07052026/19/36/image_07052026_19_36_36_30069.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/39/image_07052026_19_40_06_30144.jpg
/home/pi/Desktop/images/07052026/19/39/image_07052026_19_39_36_30108.jpg
/home/pi/Desktop/images/07052026/19/38/image_07052026_19_39_05_30196.jpg
/home/pi/Desktop/images/07052026/19/38/image_07052026_19_38_35_30290.jpg
/home/pi/Desktop/images/07052026/19/37/image_07052026_19_37_36_30082.jpg
/home/pi/Desktop/images/07052026/19/36/image_07052026_19_36_36_30069.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823844","1416823846","1416823840","1416823843","1416823845","1416823842"],"photo_ids_order":["1416823840","1416823842","1416823843","1416823844","1416823845","1416823846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85c3b8ec526b4dfd8f3e5d1abccb69fe.jpg","text":"TemporaryFile(/tmp/multipartBody8003620218369506356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_38_35_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cdfadca11f1375b463fea6c8a11a79f.jpg","text":"TemporaryFile(/tmp/multipartBody5094303943161652896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_36_36_30069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/689bba22439e4a60bf4994a6e85eb84b.jpg","text":"TemporaryFile(/tmp/multipartBody6982209186529900473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_40_06_30144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1233019245e36852c29ffe316e7b60e6.jpg","text":"TemporaryFile(/tmp/multipartBody7506653718441066098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_39_05_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26f5a1a837a35389551bea59ad0809b4.jpg","text":"TemporaryFile(/tmp/multipartBody4663916512212736414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_37_36_30082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d17e3508ff851b0ce4f746e939bdc166.jpg","text":"TemporaryFile(/tmp/multipartBody6169548079872555036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482865242,"filename":"image_07052026_19_39_36_30108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823843","file1":"1416823842","file0":"1416823840","file4":"1416823845","file5":"1416823846","file3":"1416823844"},"map_files_photo_id_array":[{"photo_id":"1416823846","filename":"file5"},{"photo_id":"1416823843","filename":"file2"},{"photo_id":"1416823845","filename":"file4"},{"photo_id":"1416823842","filename":"file1"},{"photo_id":"1416823840","filename":"file0"},{"photo_id":"1416823844","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823844":["hashtag1","hashtag2"]},{"1416823846":["hashtag1","hashtag2"]},{"1416823840":["hashtag1","hashtag2"]},{"1416823843":["hashtag1","hashtag2"]},{"1416823845":["hashtag1","hashtag2"]},{"1416823842":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823844, 1416823846, 1416823840, 1416823843, 1416823845, 1416823842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7395396232605 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:01:03.685770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/35/image_07052026_19_36_06_30118.jpg', '/home/pi/Desktop/images/07052026/19/35/image_07052026_19_35_35_30024.jpg', '/home/pi/Desktop/images/07052026/19/34/image_07052026_19_35_05_30154.jpg', '/home/pi/Desktop/images/07052026/19/33/image_07052026_19_34_05_30268.jpg', '/home/pi/Desktop/images/07052026/19/32/image_07052026_19_33_06_30042.jpg', '/home/pi/Desktop/images/07052026/19/32/image_07052026_19_32_36_30144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/35/image_07052026_19_36_06_30118.jpg
/home/pi/Desktop/images/07052026/19/35/image_07052026_19_35_35_30024.jpg
/home/pi/Desktop/images/07052026/19/34/image_07052026_19_35_05_30154.jpg
/home/pi/Desktop/images/07052026/19/33/image_07052026_19_34_05_30268.jpg
/home/pi/Desktop/images/07052026/19/32/image_07052026_19_33_06_30042.jpg
/home/pi/Desktop/images/07052026/19/32/image_07052026_19_32_36_30144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823850","1416823853","1416823852","1416823855","1416823849","1416823858"],"photo_ids_order":["1416823849","1416823850","1416823852","1416823853","1416823855","1416823858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1fd689c3892ef6f946f7c80153d277db.jpg","text":"TemporaryFile(/tmp/multipartBody1025745590716297168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_35_35_30024.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9acab215f723579a7600e863ddf3dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8294670893495437583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_34_05_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b77fb4e916ce3b6a17bcfbdb680f152.jpg","text":"TemporaryFile(/tmp/multipartBody1920683892443817508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_35_05_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13fe15f1b9fadc43a649a6b817682413.jpg","text":"TemporaryFile(/tmp/multipartBody1635075941080191118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_33_06_30042.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72a2a5bc42186988ee57047cb90bac10.jpg","text":"TemporaryFile(/tmp/multipartBody8389676362355784185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_36_06_30118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd8bb28c587f347e76f08ea4a89dcda7.jpg","text":"TemporaryFile(/tmp/multipartBody4790289837537991750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482925346,"filename":"image_07052026_19_32_36_30144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823852","file1":"1416823850","file0":"1416823849","file4":"1416823855","file5":"1416823858","file3":"1416823853"},"map_files_photo_id_array":[{"photo_id":"1416823858","filename":"file5"},{"photo_id":"1416823852","filename":"file2"},{"photo_id":"1416823855","filename":"file4"},{"photo_id":"1416823850","filename":"file1"},{"photo_id":"1416823849","filename":"file0"},{"photo_id":"1416823853","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823850":["hashtag1","hashtag2"]},{"1416823853":["hashtag1","hashtag2"]},{"1416823852":["hashtag1","hashtag2"]},{"1416823855":["hashtag1","hashtag2"]},{"1416823849":["hashtag1","hashtag2"]},{"1416823858":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823850, 1416823853, 1416823852, 1416823855, 1416823849, 1416823858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92287302017212 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:02:03.685195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/08/57/image_11052026_08_57_44_30234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/08/57/image_11052026_08_57_44_30234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823861"],"photo_id":"1416823861","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85839c8e82b363a6d68a895cbf4edbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8452067389773066937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778482984838,"filename":"image_11052026_08_57_44_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416823861"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416823861"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.406417608261108 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:03:03.932529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/31/image_07052026_19_31_35_30169.jpg', '/home/pi/Desktop/images/07052026/19/30/image_07052026_19_30_35_30136.jpg', '/home/pi/Desktop/images/07052026/19/29/image_07052026_19_30_05_29162.jpg', '/home/pi/Desktop/images/07052026/19/28/image_07052026_19_28_35_30237.jpg', '/home/pi/Desktop/images/07052026/19/27/image_07052026_19_28_05_29124.jpg', '/home/pi/Desktop/images/07052026/19/24/image_07052026_19_24_36_30314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/31/image_07052026_19_31_35_30169.jpg
/home/pi/Desktop/images/07052026/19/30/image_07052026_19_30_35_30136.jpg
/home/pi/Desktop/images/07052026/19/29/image_07052026_19_30_05_29162.jpg
/home/pi/Desktop/images/07052026/19/28/image_07052026_19_28_35_30237.jpg
/home/pi/Desktop/images/07052026/19/27/image_07052026_19_28_05_29124.jpg
/home/pi/Desktop/images/07052026/19/24/image_07052026_19_24_36_30314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823870","1416823864","1416823872","1416823866","1416823874","1416823868"],"photo_ids_order":["1416823864","1416823866","1416823868","1416823870","1416823872","1416823874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d35f4257e2bfc0a7cf93a284f9ddf9c5.jpg","text":"TemporaryFile(/tmp/multipartBody4830761743879633279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_28_35_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d0f1fa6bfefa84414a25baac02bdfbb.jpg","text":"TemporaryFile(/tmp/multipartBody7659077656909781845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_31_35_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1a00caa64897b3114a557d8fb58f49c.jpg","text":"TemporaryFile(/tmp/multipartBody7788312173507892100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_28_05_29124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd53ac2aa66a825f9e38dfb9b06d30e8.jpg","text":"TemporaryFile(/tmp/multipartBody5417630531338296290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_30_35_30136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/354c4db43cad274d6653c0c20204841c.jpg","text":"TemporaryFile(/tmp/multipartBody1223740336258580496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_24_36_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5cacc9686b356fc587089a6c2a12e879.jpg","text":"TemporaryFile(/tmp/multipartBody754177913876492780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483045645,"filename":"image_07052026_19_30_05_29162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416823868","file1":"1416823866","file0":"1416823864","file4":"1416823872","file5":"1416823874","file3":"1416823870"},"map_files_photo_id_array":[{"photo_id":"1416823874","filename":"file5"},{"photo_id":"1416823868","filename":"file2"},{"photo_id":"1416823872","filename":"file4"},{"photo_id":"1416823866","filename":"file1"},{"photo_id":"1416823864","filename":"file0"},{"photo_id":"1416823870","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416823870":["hashtag1","hashtag2"]},{"1416823864":["hashtag1","hashtag2"]},{"1416823872":["hashtag1","hashtag2"]},{"1416823866":["hashtag1","hashtag2"]},{"1416823874":["hashtag1","hashtag2"]},{"1416823868":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416823870, 1416823864, 1416823872, 1416823866, 1416823874, 1416823868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34397768974304 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:04:03.832496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/00/image_11052026_09_01_14_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/00/image_11052026_09_01_14_30180.jpg
2026-05-11 09:04:03.929976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/00/image_11052026_09_01_14_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/00/image_11052026_09_01_14_30180.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823876"],"photo_id":"1416823876","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/473d2c07fa0ac7ed4c4fc5066788df54.jpg","text":"TemporaryFile(/tmp/multipartBody3289262528464297202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483104888,"filename":"image_11052026_09_01_14_30180.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416823876"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416823876"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.500535011291504 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823877"],"photo_id":"1416823877","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88607ebb6aceafda13be1a25bcce7c63.jpg","text":"TemporaryFile(/tmp/multipartBody437753159423066057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483105025,"filename":"image_11052026_09_01_14_30180.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416823877"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416823877"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.267228841781616 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:05:04.350952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/04/image_11052026_09_05_14_30089.jpg', '/home/pi/Desktop/images/11052026/09/03/image_11052026_09_03_44_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/04/image_11052026_09_05_14_30089.jpg
/home/pi/Desktop/images/11052026/09/03/image_11052026_09_03_44_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416823885","1416823888"],"photo_ids_order":["1416823885","1416823888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33596b12f3e0ad451246d2a0f4fc984d.jpg","text":"TemporaryFile(/tmp/multipartBody5460920069441311145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483165430,"filename":"image_11052026_09_05_14_30089.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76400bd22936d0a4d277a4dcbffedb98.jpg","text":"TemporaryFile(/tmp/multipartBody2577788391099296814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483165430,"filename":"image_11052026_09_03_44_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416823888","file0":"1416823885"},"map_files_photo_id_array":[{"photo_id":"1416823888","filename":"file1"},{"photo_id":"1416823885","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416823885":["hashtag1","hashtag2"]},{"1416823888":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416823885, 1416823888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.868714809417725 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:06:03.585508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/23/image_07052026_19_23_35_30265.jpg', '/home/pi/Desktop/images/07052026/19/22/image_07052026_19_23_05_29189.jpg', '/home/pi/Desktop/images/07052026/19/22/image_07052026_19_22_36_30177.jpg', '/home/pi/Desktop/images/07052026/19/21/image_07052026_19_22_06_30166.jpg', '/home/pi/Desktop/images/07052026/19/21/image_07052026_19_21_36_30207.jpg', '/home/pi/Desktop/images/07052026/19/20/image_07052026_19_21_05_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/23/image_07052026_19_23_35_30265.jpg
/home/pi/Desktop/images/07052026/19/22/image_07052026_19_23_05_29189.jpg
/home/pi/Desktop/images/07052026/19/22/image_07052026_19_22_36_30177.jpg
/home/pi/Desktop/images/07052026/19/21/image_07052026_19_22_06_30166.jpg
/home/pi/Desktop/images/07052026/19/21/image_07052026_19_21_36_30207.jpg
/home/pi/Desktop/images/07052026/19/20/image_07052026_19_21_05_30201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416824801","1416824908","1416824800","1416824799","1416824803","1416824802"],"photo_ids_order":["1416824799","1416824800","1416824801","1416824802","1416824803","1416824908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbc5f52b11328bb70671268cf8144eab.jpg","text":"TemporaryFile(/tmp/multipartBody2088422398322160269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_22_36_30177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c185e4e348cc1b3e08ea1f64f062a8d1.jpg","text":"TemporaryFile(/tmp/multipartBody912931228784880776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_21_05_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6986a3cb1455bc32a59df85518d74774.jpg","text":"TemporaryFile(/tmp/multipartBody1346836128935980223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_23_05_29189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d23cbfa806cd85322769e156760fc07b.jpg","text":"TemporaryFile(/tmp/multipartBody7804096602034579319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_23_35_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa5aacfc5316bb48d7239be3d0ce17ab.jpg","text":"TemporaryFile(/tmp/multipartBody7632417616427445201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_21_36_30207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55c1e490574819857e37d48e314d71f6.jpg","text":"TemporaryFile(/tmp/multipartBody1251457905082807880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483225482,"filename":"image_07052026_19_22_06_30166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416824801","file1":"1416824800","file0":"1416824799","file4":"1416824803","file5":"1416824908","file3":"1416824802"},"map_files_photo_id_array":[{"photo_id":"1416824908","filename":"file5"},{"photo_id":"1416824801","filename":"file2"},{"photo_id":"1416824803","filename":"file4"},{"photo_id":"1416824800","filename":"file1"},{"photo_id":"1416824799","filename":"file0"},{"photo_id":"1416824802","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416824801":["hashtag1","hashtag2"]},{"1416824908":["hashtag1","hashtag2"]},{"1416824800":["hashtag1","hashtag2"]},{"1416824799":["hashtag1","hashtag2"]},{"1416824803":["hashtag1","hashtag2"]},{"1416824802":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416824801, 1416824908, 1416824800, 1416824799, 1416824803, 1416824802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.480501890182495 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:07:03.913150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/06/image_11052026_09_07_14_30364.jpg', '/home/pi/Desktop/images/11052026/09/05/image_11052026_09_06_13_29042.jpg', '/home/pi/Desktop/images/11052026/09/05/image_11052026_09_05_44_30140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/06/image_11052026_09_07_14_30364.jpg
/home/pi/Desktop/images/11052026/09/05/image_11052026_09_06_13_29042.jpg
/home/pi/Desktop/images/11052026/09/05/image_11052026_09_05_44_30140.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416825124","1416825121","1416825122"],"photo_ids_order":["1416825121","1416825122","1416825124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ccdcb162ebfd8c94f112b9d6b4d0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1980062485737061105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483285175,"filename":"image_11052026_09_05_44_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de78e052d8a3446a200eee725385c13a.jpg","text":"TemporaryFile(/tmp/multipartBody8124072809923560889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483285175,"filename":"image_11052026_09_07_14_30364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d25d94d442e1025546fd74970c3cd56a.jpg","text":"TemporaryFile(/tmp/multipartBody6617219017638612577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483285175,"filename":"image_11052026_09_06_13_29042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416825124","file1":"1416825122","file0":"1416825121"},"map_files_photo_id_array":[{"photo_id":"1416825124","filename":"file2"},{"photo_id":"1416825122","filename":"file1"},{"photo_id":"1416825121","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416825124":["hashtag1","hashtag2"]},{"1416825121":["hashtag1","hashtag2"]},{"1416825122":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416825124, 1416825121, 1416825122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.561406135559082 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:08:03.160382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/07/image_11052026_09_08_14_30105.jpg', '/home/pi/Desktop/images/11052026/09/07/image_11052026_09_07_44_30177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/07/image_11052026_09_08_14_30105.jpg
/home/pi/Desktop/images/11052026/09/07/image_11052026_09_07_44_30177.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416825130","1416825131"],"photo_ids_order":["1416825130","1416825131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ecd5d5d5103ba90c9cf3474df72eddd9.jpg","text":"TemporaryFile(/tmp/multipartBody89427886442314708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483344266,"filename":"image_11052026_09_08_14_30105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c0ec1397392cf1bc4f3feb4aee35d94.jpg","text":"TemporaryFile(/tmp/multipartBody907816762757358441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483344266,"filename":"image_11052026_09_07_44_30177.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416825131","file0":"1416825130"},"map_files_photo_id_array":[{"photo_id":"1416825131","filename":"file1"},{"photo_id":"1416825130","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416825130":["hashtag1","hashtag2"]},{"1416825131":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416825130, 1416825131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.045939445495605 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:09:04.304279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/42/image_07052026_00_42_35_29397.jpg', '/home/pi/Desktop/images/07052026/00/42/image_07052026_00_43_05_30446.jpg', '/home/pi/Desktop/images/07052026/00/43/image_07052026_00_43_36_30483.jpg', '/home/pi/Desktop/images/07052026/00/43/image_07052026_00_44_05_29273.jpg', '/home/pi/Desktop/images/07052026/00/46/image_07052026_00_47_05_29253.jpg', '/home/pi/Desktop/images/07052026/00/47/image_07052026_00_47_36_30440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/42/image_07052026_00_42_35_29397.jpg
/home/pi/Desktop/images/07052026/00/42/image_07052026_00_43_05_30446.jpg
/home/pi/Desktop/images/07052026/00/43/image_07052026_00_43_36_30483.jpg
/home/pi/Desktop/images/07052026/00/43/image_07052026_00_44_05_29273.jpg
/home/pi/Desktop/images/07052026/00/46/image_07052026_00_47_05_29253.jpg
/home/pi/Desktop/images/07052026/00/47/image_07052026_00_47_36_30440.jpg
2026-05-11 09:09:04.359042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/20/image_07052026_19_20_35_30196.jpg', '/home/pi/Desktop/images/07052026/19/17/image_07052026_19_18_05_30199.jpg', '/home/pi/Desktop/images/07052026/19/16/image_07052026_19_17_06_30295.jpg', '/home/pi/Desktop/images/07052026/19/16/image_07052026_19_16_35_30196.jpg', '/home/pi/Desktop/images/07052026/19/15/image_07052026_19_16_05_30263.jpg', '/home/pi/Desktop/images/07052026/19/15/image_07052026_19_15_35_29194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/20/image_07052026_19_20_35_30196.jpg
/home/pi/Desktop/images/07052026/19/17/image_07052026_19_18_05_30199.jpg
/home/pi/Desktop/images/07052026/19/16/image_07052026_19_17_06_30295.jpg
/home/pi/Desktop/images/07052026/19/16/image_07052026_19_16_35_30196.jpg
/home/pi/Desktop/images/07052026/19/15/image_07052026_19_16_05_30263.jpg
/home/pi/Desktop/images/07052026/19/15/image_07052026_19_15_35_29194.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3734612464904785 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416825145","1416825139","1416825147","1416825141","1416825135","1416825134"],"photo_ids_order":["1416825134","1416825135","1416825139","1416825141","1416825145","1416825147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37e0876a0fb3a77080756912038647a9.jpg","text":"TemporaryFile(/tmp/multipartBody8384450773530556913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_47_05_29253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec0ee6a93b8463a6f1775929ea672cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4375713181340371513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_43_36_30483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed122b2a44c77608aa2021db0b16bdce.jpg","text":"TemporaryFile(/tmp/multipartBody272877195046192787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_47_36_30440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/570c6ff3bd58450bac17293feb16025d.jpg","text":"TemporaryFile(/tmp/multipartBody642904771785414802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_44_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0c2ebd3833be286a271477508c50435.jpg","text":"TemporaryFile(/tmp/multipartBody1493337895244024285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_43_05_30446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a3010237e33056b122c1e13d1a26d77.jpg","text":"TemporaryFile(/tmp/multipartBody2030038114569532200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483406958,"filename":"image_07052026_00_42_35_29397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416825139","file1":"1416825135","file0":"1416825134","file4":"1416825145","file5":"1416825147","file3":"1416825141"},"map_files_photo_id_array":[{"photo_id":"1416825147","filename":"file5"},{"photo_id":"1416825139","filename":"file2"},{"photo_id":"1416825145","filename":"file4"},{"photo_id":"1416825135","filename":"file1"},{"photo_id":"1416825134","filename":"file0"},{"photo_id":"1416825141","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416825145":["hashtag1","hashtag2"]},{"1416825139":["hashtag1","hashtag2"]},{"1416825147":["hashtag1","hashtag2"]},{"1416825141":["hashtag1","hashtag2"]},{"1416825135":["hashtag1","hashtag2"]},{"1416825134":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416825145, 1416825139, 1416825147, 1416825141, 1416825135, 1416825134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65540885925293 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:10:03.236397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/09/image_11052026_09_10_14_30062.jpg', '/home/pi/Desktop/images/11052026/09/09/image_11052026_09_09_44_30276.jpg', '/home/pi/Desktop/images/11052026/09/08/image_11052026_09_09_14_29162.jpg', '/home/pi/Desktop/images/11052026/09/08/image_11052026_09_08_44_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/09/image_11052026_09_10_14_30062.jpg
/home/pi/Desktop/images/11052026/09/09/image_11052026_09_09_44_30276.jpg
/home/pi/Desktop/images/11052026/09/08/image_11052026_09_09_14_29162.jpg
/home/pi/Desktop/images/11052026/09/08/image_11052026_09_08_44_30179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416825157","1416825151","1416825153","1416825155"],"photo_ids_order":["1416825151","1416825153","1416825155","1416825157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7634c208685c4d33034569629657ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4275066854888608350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483464787,"filename":"image_11052026_09_08_44_30179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ab0693d3af0a44070a0dc85bad17029.jpg","text":"TemporaryFile(/tmp/multipartBody2513599088464762338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483464787,"filename":"image_11052026_09_10_14_30062.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55eb21c7edc3e21120584758a695ea77.jpg","text":"TemporaryFile(/tmp/multipartBody1479685751138381622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483464787,"filename":"image_11052026_09_09_44_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15ee1bc9cd4488609ffc092bf02d03a9.jpg","text":"TemporaryFile(/tmp/multipartBody5587721409560788847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483464787,"filename":"image_11052026_09_09_14_29162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416825155","file1":"1416825153","file0":"1416825151","file3":"1416825157"},"map_files_photo_id_array":[{"photo_id":"1416825155","filename":"file2"},{"photo_id":"1416825153","filename":"file1"},{"photo_id":"1416825151","filename":"file0"},{"photo_id":"1416825157","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416825157":["hashtag1","hashtag2"]},{"1416825151":["hashtag1","hashtag2"]},{"1416825153":["hashtag1","hashtag2"]},{"1416825155":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416825157, 1416825151, 1416825153, 1416825155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.533605098724365 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:11:04.133394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/10/image_11052026_09_11_14_30235.jpg', '/home/pi/Desktop/images/11052026/09/10/image_11052026_09_10_44_30074.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/10/image_11052026_09_11_14_30235.jpg
/home/pi/Desktop/images/11052026/09/10/image_11052026_09_10_44_30074.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416825396","1416825513"],"photo_ids_order":["1416825396","1416825513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/815fbf320e4ca5be80dcba452512f2c7.jpg","text":"TemporaryFile(/tmp/multipartBody4556861141156519363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483525258,"filename":"image_11052026_09_11_14_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d3905f7608b6c14ea68f04cf9e174c1.jpg","text":"TemporaryFile(/tmp/multipartBody3388636335819799727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483525258,"filename":"image_11052026_09_10_44_30074.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416825513","file0":"1416825396"},"map_files_photo_id_array":[{"photo_id":"1416825513","filename":"file1"},{"photo_id":"1416825396","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416825396":["hashtag1","hashtag2"]},{"1416825513":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416825396, 1416825513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.768788814544678 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:12:03.473170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/11/image_11052026_09_12_14_30192.jpg', '/home/pi/Desktop/images/11052026/09/11/image_11052026_09_11_43_29163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/11/image_11052026_09_12_14_30192.jpg
/home/pi/Desktop/images/11052026/09/11/image_11052026_09_11_43_29163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416826224","1416826375"],"photo_ids_order":["1416826224","1416826375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5928cae59a257987c267aed67e4660ff.jpg","text":"TemporaryFile(/tmp/multipartBody4994802049192583794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483584627,"filename":"image_11052026_09_12_14_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/efc3ed940906571855b2340a889b7788.jpg","text":"TemporaryFile(/tmp/multipartBody216437227212213452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483584627,"filename":"image_11052026_09_11_43_29163.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416826375","file0":"1416826224"},"map_files_photo_id_array":[{"photo_id":"1416826375","filename":"file1"},{"photo_id":"1416826224","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416826224":["hashtag1","hashtag2"]},{"1416826375":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416826224, 1416826375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.489140510559082 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:13:03.274052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/20/image_07052026_19_20_35_30196.jpg', '/home/pi/Desktop/images/07052026/19/17/image_07052026_19_18_05_30199.jpg', '/home/pi/Desktop/images/07052026/19/16/image_07052026_19_17_06_30295.jpg', '/home/pi/Desktop/images/07052026/19/16/image_07052026_19_16_35_30196.jpg', '/home/pi/Desktop/images/07052026/19/15/image_07052026_19_16_05_30263.jpg', '/home/pi/Desktop/images/07052026/19/15/image_07052026_19_15_35_29194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/20/image_07052026_19_20_35_30196.jpg
/home/pi/Desktop/images/07052026/19/17/image_07052026_19_18_05_30199.jpg
/home/pi/Desktop/images/07052026/19/16/image_07052026_19_17_06_30295.jpg
/home/pi/Desktop/images/07052026/19/16/image_07052026_19_16_35_30196.jpg
/home/pi/Desktop/images/07052026/19/15/image_07052026_19_16_05_30263.jpg
/home/pi/Desktop/images/07052026/19/15/image_07052026_19_15_35_29194.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416826504","1416826512","1416826506","1416826514","1416826508","1416826510"],"photo_ids_order":["1416826504","1416826506","1416826508","1416826510","1416826512","1416826514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/05870cadffee45db2a2d6eec5c352f94.jpg","text":"TemporaryFile(/tmp/multipartBody4814303402390205977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_20_35_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a96b6669c682f5ed332fee3917a6ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7024191547628885130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_16_05_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6d9a4a186ef5eaad3da5ea40206b342.jpg","text":"TemporaryFile(/tmp/multipartBody2104738953186110768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_18_05_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29c60bb4d0219d8bec6948fa9c301dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6629474573816001508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_15_35_29194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9171daae829711447a03ccfb0eaeabf8.jpg","text":"TemporaryFile(/tmp/multipartBody6623381042906493040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_17_06_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2a16686006604f4968ac24f671f63cf.jpg","text":"TemporaryFile(/tmp/multipartBody2480121654428232437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483644994,"filename":"image_07052026_19_16_35_30196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416826508","file1":"1416826506","file0":"1416826504","file4":"1416826512","file5":"1416826514","file3":"1416826510"},"map_files_photo_id_array":[{"photo_id":"1416826514","filename":"file5"},{"photo_id":"1416826508","filename":"file2"},{"photo_id":"1416826512","filename":"file4"},{"photo_id":"1416826506","filename":"file1"},{"photo_id":"1416826504","filename":"file0"},{"photo_id":"1416826510","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416826504":["hashtag1","hashtag2"]},{"1416826512":["hashtag1","hashtag2"]},{"1416826506":["hashtag1","hashtag2"]},{"1416826514":["hashtag1","hashtag2"]},{"1416826508":["hashtag1","hashtag2"]},{"1416826510":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416826504, 1416826512, 1416826506, 1416826514, 1416826508, 1416826510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9013557434082 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:14:03.361751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/12/image_11052026_09_12_44_30180.jpg', '/home/pi/Desktop/images/11052026/09/13/image_11052026_09_13_44_30051.jpg', '/home/pi/Desktop/images/11052026/09/13/image_11052026_09_14_14_30143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/12/image_11052026_09_12_44_30180.jpg
/home/pi/Desktop/images/11052026/09/13/image_11052026_09_13_44_30051.jpg
/home/pi/Desktop/images/11052026/09/13/image_11052026_09_14_14_30143.jpg
2026-05-11 09:14:03.383934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/13/image_11052026_09_14_14_30143.jpg', '/home/pi/Desktop/images/11052026/09/13/image_11052026_09_13_44_30051.jpg', '/home/pi/Desktop/images/11052026/09/12/image_11052026_09_12_44_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/13/image_11052026_09_14_14_30143.jpg
/home/pi/Desktop/images/11052026/09/13/image_11052026_09_13_44_30051.jpg
/home/pi/Desktop/images/11052026/09/12/image_11052026_09_12_44_30180.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416826522","1416826524","1416826517"],"photo_ids_order":["1416826517","1416826522","1416826524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d858a2fd2fc1d1d5336041af7b8026b.jpg","text":"TemporaryFile(/tmp/multipartBody3742877939102588291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705104,"filename":"image_11052026_09_13_44_30051.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f4dc679de46c25cda7fca193155def5a.jpg","text":"TemporaryFile(/tmp/multipartBody3734151425940811975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705104,"filename":"image_11052026_09_14_14_30143.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3811cf16f8de96d2727ceaeccce0495.jpg","text":"TemporaryFile(/tmp/multipartBody5563851772297090306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705104,"filename":"image_11052026_09_12_44_30180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416826524","file1":"1416826522","file0":"1416826517"},"map_files_photo_id_array":[{"photo_id":"1416826524","filename":"file2"},{"photo_id":"1416826522","filename":"file1"},{"photo_id":"1416826517","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416826522":["hashtag1","hashtag2"]},{"1416826524":["hashtag1","hashtag2"]},{"1416826517":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416826522, 1416826524, 1416826517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.863122940063477 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416826521","1416826518","1416826525"],"photo_ids_order":["1416826518","1416826521","1416826525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22feeaac07e2f11a98b32a17fc676e36.jpg","text":"TemporaryFile(/tmp/multipartBody1569503032774982442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705274,"filename":"image_11052026_09_13_44_30051.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b972911ee5162b8f27314877711912a1.jpg","text":"TemporaryFile(/tmp/multipartBody1245634501020497662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705274,"filename":"image_11052026_09_14_14_30143.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/783e52cc091cb775fe3e79755f449395.jpg","text":"TemporaryFile(/tmp/multipartBody3065486952578668566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483705274,"filename":"image_11052026_09_12_44_30180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416826525","file1":"1416826521","file0":"1416826518"},"map_files_photo_id_array":[{"photo_id":"1416826525","filename":"file2"},{"photo_id":"1416826521","filename":"file1"},{"photo_id":"1416826518","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416826521":["hashtag1","hashtag2"]},{"1416826518":["hashtag1","hashtag2"]},{"1416826525":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416826521, 1416826518, 1416826525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.509450674057007 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:15:03.531458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/14/image_11052026_09_14_43_29182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/14/image_11052026_09_14_43_29182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416826531"],"photo_id":"1416826531","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5dec033a29425b70c57cae4ef81da9e1.jpg","text":"TemporaryFile(/tmp/multipartBody6067420340493585230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483764529,"filename":"image_11052026_09_14_43_29182.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416826531"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416826531"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.165186882019043 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:16:02.927247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/14/image_07052026_19_15_06_30087.jpg', '/home/pi/Desktop/images/07052026/19/14/image_07052026_19_14_36_30100.jpg', '/home/pi/Desktop/images/07052026/19/12/image_07052026_19_13_05_30100.jpg', '/home/pi/Desktop/images/07052026/19/11/image_07052026_19_12_06_30269.jpg', '/home/pi/Desktop/images/07052026/19/06/image_07052026_19_07_05_30238.jpg', '/home/pi/Desktop/images/07052026/19/06/image_07052026_19_06_35_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/14/image_07052026_19_15_06_30087.jpg
/home/pi/Desktop/images/07052026/19/14/image_07052026_19_14_36_30100.jpg
/home/pi/Desktop/images/07052026/19/12/image_07052026_19_13_05_30100.jpg
/home/pi/Desktop/images/07052026/19/11/image_07052026_19_12_06_30269.jpg
/home/pi/Desktop/images/07052026/19/06/image_07052026_19_07_05_30238.jpg
/home/pi/Desktop/images/07052026/19/06/image_07052026_19_06_35_30201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416827631","1416827495","1416827497","1416827491","1416827686","1416827493"],"photo_ids_order":["1416827491","1416827493","1416827495","1416827497","1416827631","1416827686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9adeaa1263800630a43acb4f8c57e77.jpg","text":"TemporaryFile(/tmp/multipartBody913716538998013749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_07_05_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97d116479ca81576653b60693c848770.jpg","text":"TemporaryFile(/tmp/multipartBody4724183239044048709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_13_05_30100.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b97c631e606d3f37a4e92d64a6610db8.jpg","text":"TemporaryFile(/tmp/multipartBody1243254762070353998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_12_06_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17f52d1841bf412161f8a05c5f448662.jpg","text":"TemporaryFile(/tmp/multipartBody7864126154910902568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_15_06_30087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a87ce2fb8bed6dc77ab1bb764fc7774.jpg","text":"TemporaryFile(/tmp/multipartBody2816031536669295798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_06_35_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0a38ef5d88881f1b0b4760656cd6392.jpg","text":"TemporaryFile(/tmp/multipartBody4454488701494636530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483824842,"filename":"image_07052026_19_14_36_30100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416827495","file1":"1416827493","file0":"1416827491","file4":"1416827631","file5":"1416827686","file3":"1416827497"},"map_files_photo_id_array":[{"photo_id":"1416827686","filename":"file5"},{"photo_id":"1416827495","filename":"file2"},{"photo_id":"1416827631","filename":"file4"},{"photo_id":"1416827493","filename":"file1"},{"photo_id":"1416827491","filename":"file0"},{"photo_id":"1416827497","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416827631":["hashtag1","hashtag2"]},{"1416827495":["hashtag1","hashtag2"]},{"1416827497":["hashtag1","hashtag2"]},{"1416827491":["hashtag1","hashtag2"]},{"1416827686":["hashtag1","hashtag2"]},{"1416827493":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416827631, 1416827495, 1416827497, 1416827491, 1416827686, 1416827493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78564739227295 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:17:04.269429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/15/image_11052026_09_15_44_30204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/15/image_11052026_09_15_44_30204.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7300045490264893 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:18:02.720492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/15/image_11052026_09_15_44_30204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/15/image_11052026_09_15_44_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416827844"],"photo_id":"1416827844","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/febeabaad635934046abe984020132b0.jpg","text":"TemporaryFile(/tmp/multipartBody1468057459630224333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778483943675,"filename":"image_11052026_09_15_44_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416827844"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416827844"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.293529748916626 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:19:04.116112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/18/image_11052026_09_19_14_30127.jpg', '/home/pi/Desktop/images/11052026/09/18/image_11052026_09_18_44_30177.jpg', '/home/pi/Desktop/images/11052026/09/17/image_11052026_09_18_14_30212.jpg', '/home/pi/Desktop/images/11052026/09/17/image_11052026_09_17_44_30183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/18/image_11052026_09_19_14_30127.jpg
/home/pi/Desktop/images/11052026/09/18/image_11052026_09_18_44_30177.jpg
/home/pi/Desktop/images/11052026/09/17/image_11052026_09_18_14_30212.jpg
/home/pi/Desktop/images/11052026/09/17/image_11052026_09_17_44_30183.jpg
2026-05-11 09:19:04.124815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/17/image_11052026_09_17_44_30183.jpg', '/home/pi/Desktop/images/11052026/09/17/image_11052026_09_18_14_30212.jpg', '/home/pi/Desktop/images/11052026/09/18/image_11052026_09_18_44_30177.jpg', '/home/pi/Desktop/images/11052026/09/18/image_11052026_09_19_14_30127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/17/image_11052026_09_17_44_30183.jpg
/home/pi/Desktop/images/11052026/09/17/image_11052026_09_18_14_30212.jpg
/home/pi/Desktop/images/11052026/09/18/image_11052026_09_18_44_30177.jpg
/home/pi/Desktop/images/11052026/09/18/image_11052026_09_19_14_30127.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2740716934204102 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416827852","1416827860","1416827857","1416827854"],"photo_ids_order":["1416827852","1416827854","1416827857","1416827860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ad5686a4d90f73c6c26b516c67915ff.jpg","text":"TemporaryFile(/tmp/multipartBody5613756041589962838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484006658,"filename":"image_11052026_09_19_14_30127.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3217dd0099c8861e7f3302a777fd4f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6806176873441931675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484006658,"filename":"image_11052026_09_17_44_30183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fba2526e9200e9cad22e9991b0808718.jpg","text":"TemporaryFile(/tmp/multipartBody6857465780872578223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484006658,"filename":"image_11052026_09_18_14_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04af095717a63056083f1d1d0756666c.jpg","text":"TemporaryFile(/tmp/multipartBody305186817898086298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484006658,"filename":"image_11052026_09_18_44_30177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416827857","file1":"1416827854","file0":"1416827852","file3":"1416827860"},"map_files_photo_id_array":[{"photo_id":"1416827857","filename":"file2"},{"photo_id":"1416827854","filename":"file1"},{"photo_id":"1416827852","filename":"file0"},{"photo_id":"1416827860","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416827852":["hashtag1","hashtag2"]},{"1416827860":["hashtag1","hashtag2"]},{"1416827857":["hashtag1","hashtag2"]},{"1416827854":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416827852, 1416827860, 1416827857, 1416827854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.73517870903015 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:20:03.344433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/19/05/image_07052026_19_06_05_30138.jpg', '/home/pi/Desktop/images/07052026/19/05/image_07052026_19_05_35_29050.jpg', '/home/pi/Desktop/images/07052026/19/04/image_07052026_19_05_06_30141.jpg', '/home/pi/Desktop/images/07052026/19/03/image_07052026_19_03_35_30165.jpg', '/home/pi/Desktop/images/07052026/19/02/image_07052026_19_03_05_29187.jpg', '/home/pi/Desktop/images/07052026/19/01/image_07052026_19_02_06_30189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/19/05/image_07052026_19_06_05_30138.jpg
/home/pi/Desktop/images/07052026/19/05/image_07052026_19_05_35_29050.jpg
/home/pi/Desktop/images/07052026/19/04/image_07052026_19_05_06_30141.jpg
/home/pi/Desktop/images/07052026/19/03/image_07052026_19_03_35_30165.jpg
/home/pi/Desktop/images/07052026/19/02/image_07052026_19_03_05_29187.jpg
/home/pi/Desktop/images/07052026/19/01/image_07052026_19_02_06_30189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416827876","1416827870","1416827872","1416827866","1416827874","1416827868"],"photo_ids_order":["1416827866","1416827868","1416827870","1416827872","1416827874","1416827876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37783d6b68127f9ce5ebfa444dbc5f82.jpg","text":"TemporaryFile(/tmp/multipartBody7005676962801486534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_02_06_30189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18ce5740bb165eccc825cc4ae5ce299b.jpg","text":"TemporaryFile(/tmp/multipartBody4819885086942995732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_05_06_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f707b01e6c597579589cb062d1a172a1.jpg","text":"TemporaryFile(/tmp/multipartBody3720982585403359675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_03_35_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae09d6532ce1e3df036e9142f584f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody5264841885682386134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_06_05_30138.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/502802e264213344dc497e3e6e662b91.jpg","text":"TemporaryFile(/tmp/multipartBody1551813240941412870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_03_05_29187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65989c1913bf948e6e3c1988f25fd03b.jpg","text":"TemporaryFile(/tmp/multipartBody877479620820433240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484065337,"filename":"image_07052026_19_05_35_29050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416827870","file1":"1416827868","file0":"1416827866","file4":"1416827874","file5":"1416827876","file3":"1416827872"},"map_files_photo_id_array":[{"photo_id":"1416827876","filename":"file5"},{"photo_id":"1416827870","filename":"file2"},{"photo_id":"1416827874","filename":"file4"},{"photo_id":"1416827868","filename":"file1"},{"photo_id":"1416827866","filename":"file0"},{"photo_id":"1416827872","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416827876":["hashtag1","hashtag2"]},{"1416827870":["hashtag1","hashtag2"]},{"1416827872":["hashtag1","hashtag2"]},{"1416827866":["hashtag1","hashtag2"]},{"1416827874":["hashtag1","hashtag2"]},{"1416827868":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416827876, 1416827870, 1416827872, 1416827866, 1416827874, 1416827868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35629653930664 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:21:03.301129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/19/image_11052026_09_19_44_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/19/image_11052026_09_19_44_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416828862"],"photo_id":"1416828862","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/675ed13e6f7389e3be6d6c4a8548f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody524479591177514996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484124341,"filename":"image_11052026_09_19_44_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416828862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416828862"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.379743337631226 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:22:03.163933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/51/image_07052026_18_52_05_30168.jpg', '/home/pi/Desktop/images/07052026/18/49/image_07052026_18_50_06_30173.jpg', '/home/pi/Desktop/images/07052026/18/48/image_07052026_18_49_05_30182.jpg', '/home/pi/Desktop/images/07052026/18/48/image_07052026_18_48_35_30191.jpg', '/home/pi/Desktop/images/07052026/18/47/image_07052026_18_48_05_29136.jpg', '/home/pi/Desktop/images/07052026/18/45/image_07052026_18_45_35_29123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/51/image_07052026_18_52_05_30168.jpg
/home/pi/Desktop/images/07052026/18/49/image_07052026_18_50_06_30173.jpg
/home/pi/Desktop/images/07052026/18/48/image_07052026_18_49_05_30182.jpg
/home/pi/Desktop/images/07052026/18/48/image_07052026_18_48_35_30191.jpg
/home/pi/Desktop/images/07052026/18/47/image_07052026_18_48_05_29136.jpg
/home/pi/Desktop/images/07052026/18/45/image_07052026_18_45_35_29123.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416829162","1416829156","1416829158","1416829152","1416829160","1416829154"],"photo_ids_order":["1416829152","1416829154","1416829156","1416829158","1416829160","1416829162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca8c0787ad8fee6ec5583226eaa9d716.jpg","text":"TemporaryFile(/tmp/multipartBody720999675538677723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_45_35_29123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a570870407dc9fc6a56d9ecbba2670a0.jpg","text":"TemporaryFile(/tmp/multipartBody4110956301900454694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_49_05_30182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a746a9d190a946696902686f57c4b5f.jpg","text":"TemporaryFile(/tmp/multipartBody893542923866989993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_48_35_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bd0f72624936973b756341d3976d579.jpg","text":"TemporaryFile(/tmp/multipartBody655601081269433994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_52_05_30168.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c27933782a66d96fd596c9d87c5a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3293220575092638988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_48_05_29136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c3cd654e9a4c150f5919a082a50c3da.jpg","text":"TemporaryFile(/tmp/multipartBody6908613039631404882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484185045,"filename":"image_07052026_18_50_06_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416829156","file1":"1416829154","file0":"1416829152","file4":"1416829160","file5":"1416829162","file3":"1416829158"},"map_files_photo_id_array":[{"photo_id":"1416829162","filename":"file5"},{"photo_id":"1416829156","filename":"file2"},{"photo_id":"1416829160","filename":"file4"},{"photo_id":"1416829154","filename":"file1"},{"photo_id":"1416829152","filename":"file0"},{"photo_id":"1416829158","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416829162":["hashtag1","hashtag2"]},{"1416829156":["hashtag1","hashtag2"]},{"1416829158":["hashtag1","hashtag2"]},{"1416829152":["hashtag1","hashtag2"]},{"1416829160":["hashtag1","hashtag2"]},{"1416829154":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416829162, 1416829156, 1416829158, 1416829152, 1416829160, 1416829154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77688407897949 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:23:04.243118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/19/image_11052026_09_20_14_29201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/19/image_11052026_09_20_14_29201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416829164"],"photo_id":"1416829164","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20874d5d53cd5f93087d01b2cd1220dc.jpg","text":"TemporaryFile(/tmp/multipartBody5366448230589763219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484245282,"filename":"image_11052026_09_20_14_29201.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416829164"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416829164"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.715189933776855 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:24:03.883055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/44/image_07052026_18_44_36_30150.jpg', '/home/pi/Desktop/images/07052026/18/43/image_07052026_18_44_05_30182.jpg', '/home/pi/Desktop/images/07052026/18/43/image_07052026_18_43_35_30216.jpg', '/home/pi/Desktop/images/07052026/18/42/image_07052026_18_43_05_30158.jpg', '/home/pi/Desktop/images/07052026/18/42/image_07052026_18_42_35_29968.jpg', '/home/pi/Desktop/images/07052026/18/41/image_07052026_18_42_05_29115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/44/image_07052026_18_44_36_30150.jpg
/home/pi/Desktop/images/07052026/18/43/image_07052026_18_44_05_30182.jpg
/home/pi/Desktop/images/07052026/18/43/image_07052026_18_43_35_30216.jpg
/home/pi/Desktop/images/07052026/18/42/image_07052026_18_43_05_30158.jpg
/home/pi/Desktop/images/07052026/18/42/image_07052026_18_42_35_29968.jpg
/home/pi/Desktop/images/07052026/18/41/image_07052026_18_42_05_29115.jpg
2026-05-11 09:24:04.113548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/47/image_07052026_00_48_05_29343.jpg', '/home/pi/Desktop/images/07052026/00/48/image_07052026_00_48_35_30408.jpg', '/home/pi/Desktop/images/07052026/00/48/image_07052026_00_49_06_30362.jpg', '/home/pi/Desktop/images/07052026/00/49/image_07052026_00_49_35_29326.jpg', '/home/pi/Desktop/images/07052026/00/49/image_07052026_00_50_05_30410.jpg', '/home/pi/Desktop/images/07052026/00/50/image_07052026_00_50_36_30341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/47/image_07052026_00_48_05_29343.jpg
/home/pi/Desktop/images/07052026/00/48/image_07052026_00_48_35_30408.jpg
/home/pi/Desktop/images/07052026/00/48/image_07052026_00_49_06_30362.jpg
/home/pi/Desktop/images/07052026/00/49/image_07052026_00_49_35_29326.jpg
/home/pi/Desktop/images/07052026/00/49/image_07052026_00_50_05_30410.jpg
/home/pi/Desktop/images/07052026/00/50/image_07052026_00_50_36_30341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416829963","1416829741","1416829992","1416829974","1416829970","1416829967"],"photo_ids_order":["1416829741","1416829963","1416829967","1416829970","1416829974","1416829992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1deea49c5be03517b9ed8598b579e1df.jpg","text":"TemporaryFile(/tmp/multipartBody4576178346756567780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_48_35_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb5485ac42245aab5d2018e797936b12.jpg","text":"TemporaryFile(/tmp/multipartBody6117577912576087335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_48_05_29343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44f2de50171506d0033928f463311ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6380005436233243286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_50_36_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b82ede16ac255035b923f0210763050.jpg","text":"TemporaryFile(/tmp/multipartBody8535743814934555167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_50_05_30410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93450df64f357819182df28ba5a1fb13.jpg","text":"TemporaryFile(/tmp/multipartBody5549447029531839426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_49_35_29326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d33c70cac28499acb1deac8dbc208dfd.jpg","text":"TemporaryFile(/tmp/multipartBody2533523480167820731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484307057,"filename":"image_07052026_00_49_06_30362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416829967","file1":"1416829963","file0":"1416829741","file4":"1416829974","file5":"1416829992","file3":"1416829970"},"map_files_photo_id_array":[{"photo_id":"1416829992","filename":"file5"},{"photo_id":"1416829967","filename":"file2"},{"photo_id":"1416829974","filename":"file4"},{"photo_id":"1416829963","filename":"file1"},{"photo_id":"1416829741","filename":"file0"},{"photo_id":"1416829970","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416829963":["hashtag1","hashtag2"]},{"1416829741":["hashtag1","hashtag2"]},{"1416829992":["hashtag1","hashtag2"]},{"1416829974":["hashtag1","hashtag2"]},{"1416829970":["hashtag1","hashtag2"]},{"1416829967":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416829963, 1416829741, 1416829992, 1416829974, 1416829970, 1416829967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.5203320980072 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416829975","1416829972","1416829968","1416829962","1416829686","1416830046"],"photo_ids_order":["1416829686","1416829962","1416829968","1416829972","1416829975","1416830046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62350d49ee18e98cd4a8df1c034b51bf.jpg","text":"TemporaryFile(/tmp/multipartBody3789224758925122297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_42_35_29968.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bbd8b23d793f530790e84a5fbe88b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6666011909299490575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_43_05_30158.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccbfe3a9d12e8f51b6ee7e4e55a8de2c.jpg","text":"TemporaryFile(/tmp/multipartBody6619629970045366832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_43_35_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26734ee3374a8850d29909b8a51125e0.jpg","text":"TemporaryFile(/tmp/multipartBody4096366646945364930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_44_05_30182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15a384119b5a77093b42545bf4df2fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4883188871597201056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_44_36_30150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0932c33a58cf20d239fe4d68efb99e8.jpg","text":"TemporaryFile(/tmp/multipartBody8979147986559546110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484306220,"filename":"image_07052026_18_42_05_29115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416829968","file1":"1416829962","file0":"1416829686","file4":"1416829975","file5":"1416830046","file3":"1416829972"},"map_files_photo_id_array":[{"photo_id":"1416830046","filename":"file5"},{"photo_id":"1416829968","filename":"file2"},{"photo_id":"1416829975","filename":"file4"},{"photo_id":"1416829962","filename":"file1"},{"photo_id":"1416829686","filename":"file0"},{"photo_id":"1416829972","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416829975":["hashtag1","hashtag2"]},{"1416829972":["hashtag1","hashtag2"]},{"1416829968":["hashtag1","hashtag2"]},{"1416829962":["hashtag1","hashtag2"]},{"1416829686":["hashtag1","hashtag2"]},{"1416830046":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416829975, 1416829972, 1416829968, 1416829962, 1416829686, 1416830046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.03088450431824 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:25:04.284255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/41/image_07052026_18_41_36_30292.jpg', '/home/pi/Desktop/images/07052026/18/40/image_07052026_18_41_05_30140.jpg', '/home/pi/Desktop/images/07052026/18/40/image_07052026_18_40_35_30134.jpg', '/home/pi/Desktop/images/07052026/18/39/image_07052026_18_40_05_30240.jpg', '/home/pi/Desktop/images/07052026/18/39/image_07052026_18_39_35_29082.jpg', '/home/pi/Desktop/images/07052026/18/38/image_07052026_18_38_36_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/41/image_07052026_18_41_36_30292.jpg
/home/pi/Desktop/images/07052026/18/40/image_07052026_18_41_05_30140.jpg
/home/pi/Desktop/images/07052026/18/40/image_07052026_18_40_35_30134.jpg
/home/pi/Desktop/images/07052026/18/39/image_07052026_18_40_05_30240.jpg
/home/pi/Desktop/images/07052026/18/39/image_07052026_18_39_35_29082.jpg
/home/pi/Desktop/images/07052026/18/38/image_07052026_18_38_36_30175.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4203441143035889 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:26:03.721204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/41/image_07052026_18_41_36_30292.jpg', '/home/pi/Desktop/images/07052026/18/40/image_07052026_18_41_05_30140.jpg', '/home/pi/Desktop/images/07052026/18/40/image_07052026_18_40_35_30134.jpg', '/home/pi/Desktop/images/07052026/18/39/image_07052026_18_40_05_30240.jpg', '/home/pi/Desktop/images/07052026/18/39/image_07052026_18_39_35_29082.jpg', '/home/pi/Desktop/images/07052026/18/38/image_07052026_18_38_36_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/41/image_07052026_18_41_36_30292.jpg
/home/pi/Desktop/images/07052026/18/40/image_07052026_18_41_05_30140.jpg
/home/pi/Desktop/images/07052026/18/40/image_07052026_18_40_35_30134.jpg
/home/pi/Desktop/images/07052026/18/39/image_07052026_18_40_05_30240.jpg
/home/pi/Desktop/images/07052026/18/39/image_07052026_18_39_35_29082.jpg
/home/pi/Desktop/images/07052026/18/38/image_07052026_18_38_36_30175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830201","1416830207","1416830209","1416830199","1416830203","1416830205"],"photo_ids_order":["1416830199","1416830201","1416830203","1416830205","1416830207","1416830209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a35167b5fcb0c2449a4c9026e85dd5af.jpg","text":"TemporaryFile(/tmp/multipartBody4711628794855149524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_41_05_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f08d8a959a6b589f6f1e29a8551612d9.jpg","text":"TemporaryFile(/tmp/multipartBody3884738886052789501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_39_35_29082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9c71b2052f4028b6434c54b8edb4bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8720732676546030035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_38_36_30175.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/61d10c88497229f06e5b7b4e57d7aa62.jpg","text":"TemporaryFile(/tmp/multipartBody5318581026573751743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_41_36_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6888bb2faf71cf64ab93062709c7d92d.jpg","text":"TemporaryFile(/tmp/multipartBody5257030806043414545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_40_35_30134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd19230a4660f6752b88cdd2eb611bdf.jpg","text":"TemporaryFile(/tmp/multipartBody1543343417521894886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484425519,"filename":"image_07052026_18_40_05_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416830203","file1":"1416830201","file0":"1416830199","file4":"1416830207","file5":"1416830209","file3":"1416830205"},"map_files_photo_id_array":[{"photo_id":"1416830209","filename":"file5"},{"photo_id":"1416830203","filename":"file2"},{"photo_id":"1416830207","filename":"file4"},{"photo_id":"1416830201","filename":"file1"},{"photo_id":"1416830199","filename":"file0"},{"photo_id":"1416830205","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416830201":["hashtag1","hashtag2"]},{"1416830207":["hashtag1","hashtag2"]},{"1416830209":["hashtag1","hashtag2"]},{"1416830199":["hashtag1","hashtag2"]},{"1416830203":["hashtag1","hashtag2"]},{"1416830205":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416830201, 1416830207, 1416830209, 1416830199, 1416830203, 1416830205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69626712799072 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:27:03.654031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/22/image_11052026_09_22_44_30219.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/22/image_11052026_09_22_44_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830211"],"photo_id":"1416830211","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef827367aedad387951cd29049684d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1123297717360759639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484484731,"filename":"image_11052026_09_22_44_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416830211"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416830211"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.03883147239685 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:28:02.913651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/36/image_07052026_18_36_35_30026.jpg', '/home/pi/Desktop/images/07052026/18/35/image_07052026_18_36_05_29114.jpg', '/home/pi/Desktop/images/07052026/18/35/image_07052026_18_35_36_30153.jpg', '/home/pi/Desktop/images/07052026/18/34/image_07052026_18_35_05_30094.jpg', '/home/pi/Desktop/images/07052026/18/34/image_07052026_18_34_35_30004.jpg', '/home/pi/Desktop/images/07052026/18/33/image_07052026_18_34_05_30141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/36/image_07052026_18_36_35_30026.jpg
/home/pi/Desktop/images/07052026/18/35/image_07052026_18_36_05_29114.jpg
/home/pi/Desktop/images/07052026/18/35/image_07052026_18_35_36_30153.jpg
/home/pi/Desktop/images/07052026/18/34/image_07052026_18_35_05_30094.jpg
/home/pi/Desktop/images/07052026/18/34/image_07052026_18_34_35_30004.jpg
/home/pi/Desktop/images/07052026/18/33/image_07052026_18_34_05_30141.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830765","1416830759","1416830767","1416830761","1416830763","1416830757"],"photo_ids_order":["1416830757","1416830759","1416830761","1416830763","1416830765","1416830767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a65e4865aa3ef3a9cafc72b28bcdfc21.jpg","text":"TemporaryFile(/tmp/multipartBody2094850183833495658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_34_35_30004.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/790b293df4c47beb726c54e4cc247a9b.jpg","text":"TemporaryFile(/tmp/multipartBody9201035266055728495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_36_05_29114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe2c30854e3f3096226f44b5024e46ef.jpg","text":"TemporaryFile(/tmp/multipartBody2822018483057365291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_34_05_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9086030d9d3862139d6d5420e64e95e8.jpg","text":"TemporaryFile(/tmp/multipartBody8212364070057934051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_35_36_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cfd3e27fe3346d6a1085ce94a562709.jpg","text":"TemporaryFile(/tmp/multipartBody3999357967119419569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_35_05_30094.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5330d7191b95170d0bae592ac4bb26e7.jpg","text":"TemporaryFile(/tmp/multipartBody1726757848714238230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484544526,"filename":"image_07052026_18_36_35_30026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416830761","file1":"1416830759","file0":"1416830757","file4":"1416830765","file5":"1416830767","file3":"1416830763"},"map_files_photo_id_array":[{"photo_id":"1416830767","filename":"file5"},{"photo_id":"1416830761","filename":"file2"},{"photo_id":"1416830765","filename":"file4"},{"photo_id":"1416830759","filename":"file1"},{"photo_id":"1416830757","filename":"file0"},{"photo_id":"1416830763","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416830765":["hashtag1","hashtag2"]},{"1416830759":["hashtag1","hashtag2"]},{"1416830767":["hashtag1","hashtag2"]},{"1416830761":["hashtag1","hashtag2"]},{"1416830763":["hashtag1","hashtag2"]},{"1416830757":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416830765, 1416830759, 1416830767, 1416830761, 1416830763, 1416830757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86177968978882 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:29:04.649273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/27/image_11052026_09_27_44_30248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/27/image_11052026_09_27_44_30248.jpg
2026-05-11 09:29:04.841937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/27/image_11052026_09_27_44_30248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/27/image_11052026_09_27_44_30248.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830770"],"photo_id":"1416830770","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c3cd8b3b66f3901ad54a90ba27d9474.jpg","text":"TemporaryFile(/tmp/multipartBody1348622816474898906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484605882,"filename":"image_11052026_09_27_44_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416830770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416830770"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.842242002487183 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830769"],"photo_id":"1416830769","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f9e4d20048259366c071195ac653fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6857368532640545470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484605768,"filename":"image_11052026_09_27_44_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416830769"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416830769"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.80926775932312 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:30:03.069981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/29/image_11052026_09_30_14_29153.jpg', '/home/pi/Desktop/images/11052026/09/29/image_11052026_09_29_44_30189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/29/image_11052026_09_30_14_29153.jpg
/home/pi/Desktop/images/11052026/09/29/image_11052026_09_29_44_30189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830776","1416830778"],"photo_ids_order":["1416830776","1416830778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c22eb4bd0abf4c0f1dc8d30f72d02b27.jpg","text":"TemporaryFile(/tmp/multipartBody6467242823986549135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484664352,"filename":"image_11052026_09_30_14_29153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0d206fd92700c68ceb277590f33cd37.jpg","text":"TemporaryFile(/tmp/multipartBody4506294337141588570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484664352,"filename":"image_11052026_09_29_44_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416830778","file0":"1416830776"},"map_files_photo_id_array":[{"photo_id":"1416830778","filename":"file1"},{"photo_id":"1416830776","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416830776":["hashtag1","hashtag2"]},{"1416830778":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416830776, 1416830778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.71572971343994 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:31:04.118282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/33/image_07052026_18_33_35_30124.jpg', '/home/pi/Desktop/images/07052026/18/32/image_07052026_18_33_05_30100.jpg', '/home/pi/Desktop/images/07052026/18/32/image_07052026_18_32_35_30109.jpg', '/home/pi/Desktop/images/07052026/18/31/image_07052026_18_32_05_30136.jpg', '/home/pi/Desktop/images/07052026/18/31/image_07052026_18_31_35_29123.jpg', '/home/pi/Desktop/images/07052026/18/30/image_07052026_18_31_06_30052.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/33/image_07052026_18_33_35_30124.jpg
/home/pi/Desktop/images/07052026/18/32/image_07052026_18_33_05_30100.jpg
/home/pi/Desktop/images/07052026/18/32/image_07052026_18_32_35_30109.jpg
/home/pi/Desktop/images/07052026/18/31/image_07052026_18_32_05_30136.jpg
/home/pi/Desktop/images/07052026/18/31/image_07052026_18_31_35_29123.jpg
/home/pi/Desktop/images/07052026/18/30/image_07052026_18_31_06_30052.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5665638446807861 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:32:03.711449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/31/image_11052026_09_32_13_29104.jpg', '/home/pi/Desktop/images/11052026/09/31/image_11052026_09_31_44_30244.jpg', '/home/pi/Desktop/images/11052026/09/30/image_11052026_09_31_14_30275.jpg', '/home/pi/Desktop/images/11052026/09/30/image_11052026_09_30_44_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/31/image_11052026_09_32_13_29104.jpg
/home/pi/Desktop/images/11052026/09/31/image_11052026_09_31_44_30244.jpg
/home/pi/Desktop/images/11052026/09/30/image_11052026_09_31_14_30275.jpg
/home/pi/Desktop/images/11052026/09/30/image_11052026_09_30_44_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830801","1416830797","1416830799","1416830803"],"photo_ids_order":["1416830797","1416830799","1416830801","1416830803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5fd55c933b5bb5815eb2462542a5333.jpg","text":"TemporaryFile(/tmp/multipartBody4294385970134641204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484785214,"filename":"image_11052026_09_31_14_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3d2c885f6d00041fa2c6c48e7ab4941.jpg","text":"TemporaryFile(/tmp/multipartBody4701229168053571283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484785214,"filename":"image_11052026_09_32_13_29104.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ca985e022ae1cb1892c92e9c8e46fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7725150425515775860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484785214,"filename":"image_11052026_09_31_44_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29c7881293ac1c5a2c7e263fd71591cb.jpg","text":"TemporaryFile(/tmp/multipartBody2772541914872287342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484785214,"filename":"image_11052026_09_30_44_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416830801","file1":"1416830799","file0":"1416830797","file3":"1416830803"},"map_files_photo_id_array":[{"photo_id":"1416830801","filename":"file2"},{"photo_id":"1416830799","filename":"file1"},{"photo_id":"1416830797","filename":"file0"},{"photo_id":"1416830803","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416830801":["hashtag1","hashtag2"]},{"1416830797":["hashtag1","hashtag2"]},{"1416830799":["hashtag1","hashtag2"]},{"1416830803":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416830801, 1416830797, 1416830799, 1416830803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.096466541290283 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:33:03.443853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/33/image_07052026_18_33_35_30124.jpg', '/home/pi/Desktop/images/07052026/18/32/image_07052026_18_33_05_30100.jpg', '/home/pi/Desktop/images/07052026/18/32/image_07052026_18_32_35_30109.jpg', '/home/pi/Desktop/images/07052026/18/31/image_07052026_18_32_05_30136.jpg', '/home/pi/Desktop/images/07052026/18/31/image_07052026_18_31_35_29123.jpg', '/home/pi/Desktop/images/07052026/18/30/image_07052026_18_31_06_30052.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/33/image_07052026_18_33_35_30124.jpg
/home/pi/Desktop/images/07052026/18/32/image_07052026_18_33_05_30100.jpg
/home/pi/Desktop/images/07052026/18/32/image_07052026_18_32_35_30109.jpg
/home/pi/Desktop/images/07052026/18/31/image_07052026_18_32_05_30136.jpg
/home/pi/Desktop/images/07052026/18/31/image_07052026_18_31_35_29123.jpg
/home/pi/Desktop/images/07052026/18/30/image_07052026_18_31_06_30052.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416830810","1416830807","1416830812","1416830809","1416830811","1416830808"],"photo_ids_order":["1416830807","1416830808","1416830809","1416830810","1416830811","1416830812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a01117e8bbb69bc9dcc11f228db026f.jpg","text":"TemporaryFile(/tmp/multipartBody3490423670528249074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_32_05_30136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2db789ac389ce545e5a2d72793fb52fa.jpg","text":"TemporaryFile(/tmp/multipartBody2999924163375604074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_33_35_30124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e621c8bfd5c2fe698eba34d179c3324.jpg","text":"TemporaryFile(/tmp/multipartBody4415379308879548321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_31_06_30052.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fba6a82b58b659aa407fde02142a6bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4710461040826659487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_32_35_30109.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d7fcfffca5bbe42215bf55718112e0e.jpg","text":"TemporaryFile(/tmp/multipartBody7943936756528042949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_31_35_29123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68319581f40d72ffffe1aacfaa012e16.jpg","text":"TemporaryFile(/tmp/multipartBody7639783038459995387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484845141,"filename":"image_07052026_18_33_05_30100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416830809","file1":"1416830808","file0":"1416830807","file4":"1416830811","file5":"1416830812","file3":"1416830810"},"map_files_photo_id_array":[{"photo_id":"1416830812","filename":"file5"},{"photo_id":"1416830809","filename":"file2"},{"photo_id":"1416830811","filename":"file4"},{"photo_id":"1416830808","filename":"file1"},{"photo_id":"1416830807","filename":"file0"},{"photo_id":"1416830810","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416830810":["hashtag1","hashtag2"]},{"1416830807":["hashtag1","hashtag2"]},{"1416830812":["hashtag1","hashtag2"]},{"1416830809":["hashtag1","hashtag2"]},{"1416830811":["hashtag1","hashtag2"]},{"1416830808":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416830810, 1416830807, 1416830812, 1416830809, 1416830811, 1416830808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15428638458252 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:34:03.177760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/32/image_11052026_09_32_44_30271.jpg', '/home/pi/Desktop/images/11052026/09/32/image_11052026_09_33_14_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/32/image_11052026_09_32_44_30271.jpg
/home/pi/Desktop/images/11052026/09/32/image_11052026_09_33_14_30292.jpg
2026-05-11 09:34:03.229624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/32/image_11052026_09_33_14_30292.jpg', '/home/pi/Desktop/images/11052026/09/32/image_11052026_09_32_44_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/32/image_11052026_09_33_14_30292.jpg
/home/pi/Desktop/images/11052026/09/32/image_11052026_09_32_44_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831404","1416831401"],"photo_ids_order":["1416831401","1416831404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/888d6515db16f606756993a1778efc22.jpg","text":"TemporaryFile(/tmp/multipartBody5487621061066374580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484904604,"filename":"image_11052026_09_33_14_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2a6c9d01653013de01305ca3df4ab26.jpg","text":"TemporaryFile(/tmp/multipartBody2139888649561687073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484904604,"filename":"image_11052026_09_32_44_30271.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416831404","file0":"1416831401"},"map_files_photo_id_array":[{"photo_id":"1416831404","filename":"file1"},{"photo_id":"1416831401","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416831404":["hashtag1","hashtag2"]},{"1416831401":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416831404, 1416831401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.76502799987793 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831405","1416831402"],"photo_ids_order":["1416831402","1416831405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e349840ceb2703a48fa7f2690fb5e817.jpg","text":"TemporaryFile(/tmp/multipartBody5090001254148133627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484904648,"filename":"image_11052026_09_32_44_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11a818fa22cbc2fa4b1c93660e2bc9bd.jpg","text":"TemporaryFile(/tmp/multipartBody5374072722670845906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484904648,"filename":"image_11052026_09_33_14_30292.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416831405","file0":"1416831402"},"map_files_photo_id_array":[{"photo_id":"1416831405","filename":"file1"},{"photo_id":"1416831402","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416831405":["hashtag1","hashtag2"]},{"1416831402":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416831405, 1416831402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.869014501571655 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:35:04.242873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/30/image_07052026_18_30_36_30147.jpg', '/home/pi/Desktop/images/07052026/18/29/image_07052026_18_30_05_30102.jpg', '/home/pi/Desktop/images/07052026/18/29/image_07052026_18_29_35_30059.jpg', '/home/pi/Desktop/images/07052026/18/28/image_07052026_18_28_35_30146.jpg', '/home/pi/Desktop/images/07052026/18/27/image_07052026_18_28_05_30134.jpg', '/home/pi/Desktop/images/07052026/18/27/image_07052026_18_27_35_30110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/30/image_07052026_18_30_36_30147.jpg
/home/pi/Desktop/images/07052026/18/29/image_07052026_18_30_05_30102.jpg
/home/pi/Desktop/images/07052026/18/29/image_07052026_18_29_35_30059.jpg
/home/pi/Desktop/images/07052026/18/28/image_07052026_18_28_35_30146.jpg
/home/pi/Desktop/images/07052026/18/27/image_07052026_18_28_05_30134.jpg
/home/pi/Desktop/images/07052026/18/27/image_07052026_18_27_35_30110.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831563","1416831562","1416831565","1416831561","1416831564","1416831560"],"photo_ids_order":["1416831560","1416831561","1416831562","1416831563","1416831564","1416831565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca14a62e4e48e0479f0cad5f41c4db27.jpg","text":"TemporaryFile(/tmp/multipartBody2660870832221393862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_28_35_30146.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ef8bae7ff3fb0c183281a91cc0cc598.jpg","text":"TemporaryFile(/tmp/multipartBody7443205466739401381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_29_35_30059.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c8c22ec6679b61f3b222227210eb158.jpg","text":"TemporaryFile(/tmp/multipartBody6205223880069849716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_27_35_30110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9dfbb3686dea277e45d1c4a6da1dec59.jpg","text":"TemporaryFile(/tmp/multipartBody8857769984874103491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_30_05_30102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/150e39aacdab234058c02cf4af307afc.jpg","text":"TemporaryFile(/tmp/multipartBody1298023871500106183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_28_05_30134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5e1e5cdc1164c59391c5ffb8f506207.jpg","text":"TemporaryFile(/tmp/multipartBody759563403673011432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778484966211,"filename":"image_07052026_18_30_36_30147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416831562","file1":"1416831561","file0":"1416831560","file4":"1416831564","file5":"1416831565","file3":"1416831563"},"map_files_photo_id_array":[{"photo_id":"1416831565","filename":"file5"},{"photo_id":"1416831562","filename":"file2"},{"photo_id":"1416831564","filename":"file4"},{"photo_id":"1416831561","filename":"file1"},{"photo_id":"1416831560","filename":"file0"},{"photo_id":"1416831563","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416831563":["hashtag1","hashtag2"]},{"1416831562":["hashtag1","hashtag2"]},{"1416831565":["hashtag1","hashtag2"]},{"1416831561":["hashtag1","hashtag2"]},{"1416831564":["hashtag1","hashtag2"]},{"1416831560":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416831563, 1416831562, 1416831565, 1416831561, 1416831564, 1416831560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35346794128418 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:36:03.558503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/26/image_07052026_18_26_36_30087.jpg', '/home/pi/Desktop/images/07052026/18/25/image_07052026_18_26_06_30122.jpg', '/home/pi/Desktop/images/07052026/18/24/image_07052026_18_25_05_30092.jpg', '/home/pi/Desktop/images/07052026/18/24/image_07052026_18_24_35_30130.jpg', '/home/pi/Desktop/images/07052026/18/23/image_07052026_18_24_05_30232.jpg', '/home/pi/Desktop/images/07052026/18/22/image_07052026_18_23_05_29082.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/26/image_07052026_18_26_36_30087.jpg
/home/pi/Desktop/images/07052026/18/25/image_07052026_18_26_06_30122.jpg
/home/pi/Desktop/images/07052026/18/24/image_07052026_18_25_05_30092.jpg
/home/pi/Desktop/images/07052026/18/24/image_07052026_18_24_35_30130.jpg
/home/pi/Desktop/images/07052026/18/23/image_07052026_18_24_05_30232.jpg
/home/pi/Desktop/images/07052026/18/22/image_07052026_18_23_05_29082.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831577","1416831571","1416831568","1416831573","1416831570","1416831575"],"photo_ids_order":["1416831568","1416831570","1416831571","1416831573","1416831575","1416831577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/66140ae65200c703c29316e979def06b.jpg","text":"TemporaryFile(/tmp/multipartBody4272577015925926204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_23_05_29082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8aa5301ae22e9aa8abb71506e4deb522.jpg","text":"TemporaryFile(/tmp/multipartBody1900192353512376365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_25_05_30092.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58055fcac1d701d682f046ba1507fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody838774644531951239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_26_36_30087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac67f6acd48ac24d8e79dd705d283fc6.jpg","text":"TemporaryFile(/tmp/multipartBody5465483232731872234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_24_35_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35c19627a96c638b8328ee09291b8122.jpg","text":"TemporaryFile(/tmp/multipartBody2144183481044078835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_26_06_30122.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af72ec2ef865c47c8d471b8b982c06f4.jpg","text":"TemporaryFile(/tmp/multipartBody5170164482875861030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485025552,"filename":"image_07052026_18_24_05_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416831571","file1":"1416831570","file0":"1416831568","file4":"1416831575","file5":"1416831577","file3":"1416831573"},"map_files_photo_id_array":[{"photo_id":"1416831577","filename":"file5"},{"photo_id":"1416831571","filename":"file2"},{"photo_id":"1416831575","filename":"file4"},{"photo_id":"1416831570","filename":"file1"},{"photo_id":"1416831568","filename":"file0"},{"photo_id":"1416831573","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416831577":["hashtag1","hashtag2"]},{"1416831571":["hashtag1","hashtag2"]},{"1416831568":["hashtag1","hashtag2"]},{"1416831573":["hashtag1","hashtag2"]},{"1416831570":["hashtag1","hashtag2"]},{"1416831575":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416831577, 1416831571, 1416831568, 1416831573, 1416831570, 1416831575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00116991996765 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:37:03.675001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/22/image_07052026_18_22_36_30154.jpg', '/home/pi/Desktop/images/07052026/18/21/image_07052026_18_22_06_30064.jpg', '/home/pi/Desktop/images/07052026/18/21/image_07052026_18_21_35_30065.jpg', '/home/pi/Desktop/images/07052026/18/20/image_07052026_18_21_05_30039.jpg', '/home/pi/Desktop/images/07052026/18/20/image_07052026_18_20_35_30100.jpg', '/home/pi/Desktop/images/07052026/18/19/image_07052026_18_20_05_30163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/22/image_07052026_18_22_36_30154.jpg
/home/pi/Desktop/images/07052026/18/21/image_07052026_18_22_06_30064.jpg
/home/pi/Desktop/images/07052026/18/21/image_07052026_18_21_35_30065.jpg
/home/pi/Desktop/images/07052026/18/20/image_07052026_18_21_05_30039.jpg
/home/pi/Desktop/images/07052026/18/20/image_07052026_18_20_35_30100.jpg
/home/pi/Desktop/images/07052026/18/19/image_07052026_18_20_05_30163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831589","1416831586","1416831591","1416831588","1416831582","1416831584"],"photo_ids_order":["1416831582","1416831584","1416831586","1416831588","1416831589","1416831591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa67f399aa2adbd40969e06eed56f267.jpg","text":"TemporaryFile(/tmp/multipartBody1104197169845813126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_20_35_30100.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fa7b4deec08d9947b540e8a4593b820b.jpg","text":"TemporaryFile(/tmp/multipartBody904072211018786060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_21_35_30065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9db030e1515cd5d980101ec81fa62a6.jpg","text":"TemporaryFile(/tmp/multipartBody5469120480474594702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_20_05_30163.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26fce35aa67b92ca24c58e2c54c8cb21.jpg","text":"TemporaryFile(/tmp/multipartBody5438788278902349776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_21_05_30039.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d859438cb81276ff75759e20fa9ce5c.jpg","text":"TemporaryFile(/tmp/multipartBody2051549091118700482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_22_36_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fa8d7e20376e402b5e4f223631817af.jpg","text":"TemporaryFile(/tmp/multipartBody2745699696320299339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485086473,"filename":"image_07052026_18_22_06_30064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416831586","file1":"1416831584","file0":"1416831582","file4":"1416831589","file5":"1416831591","file3":"1416831588"},"map_files_photo_id_array":[{"photo_id":"1416831591","filename":"file5"},{"photo_id":"1416831586","filename":"file2"},{"photo_id":"1416831589","filename":"file4"},{"photo_id":"1416831584","filename":"file1"},{"photo_id":"1416831582","filename":"file0"},{"photo_id":"1416831588","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416831589":["hashtag1","hashtag2"]},{"1416831586":["hashtag1","hashtag2"]},{"1416831591":["hashtag1","hashtag2"]},{"1416831588":["hashtag1","hashtag2"]},{"1416831582":["hashtag1","hashtag2"]},{"1416831584":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416831589, 1416831586, 1416831591, 1416831588, 1416831582, 1416831584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8876736164093 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:38:03.365062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/34/image_11052026_09_34_43_29170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/34/image_11052026_09_34_43_29170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831594"],"photo_id":"1416831594","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3314208d8001b0096f0d65376d566db3.jpg","text":"TemporaryFile(/tmp/multipartBody6276752351428843135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485144354,"filename":"image_11052026_09_34_43_29170.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416831594"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416831594"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.550758838653564 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:39:03.800494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/50/image_07052026_00_51_05_29422.jpg', '/home/pi/Desktop/images/07052026/00/51/image_07052026_00_51_36_30420.jpg', '/home/pi/Desktop/images/07052026/00/51/image_07052026_00_52_05_29430.jpg', '/home/pi/Desktop/images/07052026/00/52/image_07052026_00_52_35_30390.jpg', '/home/pi/Desktop/images/07052026/00/52/image_07052026_00_53_06_30376.jpg', '/home/pi/Desktop/images/07052026/00/54/image_07052026_00_54_36_30311.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/50/image_07052026_00_51_05_29422.jpg
/home/pi/Desktop/images/07052026/00/51/image_07052026_00_51_36_30420.jpg
/home/pi/Desktop/images/07052026/00/51/image_07052026_00_52_05_29430.jpg
/home/pi/Desktop/images/07052026/00/52/image_07052026_00_52_35_30390.jpg
/home/pi/Desktop/images/07052026/00/52/image_07052026_00_53_06_30376.jpg
/home/pi/Desktop/images/07052026/00/54/image_07052026_00_54_36_30311.jpg
2026-05-11 09:39:03.874569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/19/image_07052026_18_19_35_30123.jpg', '/home/pi/Desktop/images/07052026/18/17/image_07052026_18_18_06_30125.jpg', '/home/pi/Desktop/images/07052026/18/17/image_07052026_18_17_36_30176.jpg', '/home/pi/Desktop/images/07052026/18/16/image_07052026_18_17_05_30242.jpg', '/home/pi/Desktop/images/07052026/18/16/image_07052026_18_16_35_30152.jpg', '/home/pi/Desktop/images/07052026/18/15/image_07052026_18_15_36_30212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/19/image_07052026_18_19_35_30123.jpg
/home/pi/Desktop/images/07052026/18/17/image_07052026_18_18_06_30125.jpg
/home/pi/Desktop/images/07052026/18/17/image_07052026_18_17_36_30176.jpg
/home/pi/Desktop/images/07052026/18/16/image_07052026_18_17_05_30242.jpg
/home/pi/Desktop/images/07052026/18/16/image_07052026_18_16_35_30152.jpg
/home/pi/Desktop/images/07052026/18/15/image_07052026_18_15_36_30212.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4821016788482666 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831602","1416831608","1416831610","1416831601","1416831604","1416831606"],"photo_ids_order":["1416831601","1416831602","1416831604","1416831606","1416831608","1416831610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72a063c83d11b8cd315b4c21020e78e4.jpg","text":"TemporaryFile(/tmp/multipartBody2106976560751281867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_51_36_30420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3128d76f809a130d1c4bd92dbe014cce.jpg","text":"TemporaryFile(/tmp/multipartBody7160609190853016433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_53_06_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28cb54eedbac777d6da081141115b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7467335939140017784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_54_36_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f93e7ee04123e0d7418d0e3d4168168b.jpg","text":"TemporaryFile(/tmp/multipartBody6053784119183690869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_51_05_29422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80448ae6aec6f431f8525960125db9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8126265765552070852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_52_05_29430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee589d6520e58470b8973363a83da835.jpg","text":"TemporaryFile(/tmp/multipartBody2818509424664413290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485206256,"filename":"image_07052026_00_52_35_30390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416831604","file1":"1416831602","file0":"1416831601","file4":"1416831608","file5":"1416831610","file3":"1416831606"},"map_files_photo_id_array":[{"photo_id":"1416831610","filename":"file5"},{"photo_id":"1416831604","filename":"file2"},{"photo_id":"1416831608","filename":"file4"},{"photo_id":"1416831602","filename":"file1"},{"photo_id":"1416831601","filename":"file0"},{"photo_id":"1416831606","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416831602":["hashtag1","hashtag2"]},{"1416831608":["hashtag1","hashtag2"]},{"1416831610":["hashtag1","hashtag2"]},{"1416831601":["hashtag1","hashtag2"]},{"1416831604":["hashtag1","hashtag2"]},{"1416831606":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416831602, 1416831608, 1416831610, 1416831601, 1416831604, 1416831606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39489269256592 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:40:03.480484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/38/image_11052026_09_38_44_30257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/38/image_11052026_09_38_44_30257.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831614"],"photo_id":"1416831614","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e983bd72f7cedba3cbc81bed28144f07.jpg","text":"TemporaryFile(/tmp/multipartBody4514919377429932675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485264603,"filename":"image_11052026_09_38_44_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416831614"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416831614"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.968278408050537 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:41:03.743259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/39/image_11052026_09_39_44_30204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/39/image_11052026_09_39_44_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831621"],"photo_id":"1416831621","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbc39ed22a6798669e6db5891049d351.jpg","text":"TemporaryFile(/tmp/multipartBody5589873949477287986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485324826,"filename":"image_11052026_09_39_44_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416831621"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416831621"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.93924331665039 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:42:03.293083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/39/image_11052026_09_40_14_30164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/39/image_11052026_09_40_14_30164.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831624"],"photo_id":"1416831624","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a94470b671794bbd7f729ab81fa3c95b.jpg","text":"TemporaryFile(/tmp/multipartBody4451089299354123935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485384294,"filename":"image_11052026_09_40_14_30164.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416831624"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416831624"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.867502212524414 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:43:03.598070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/19/image_07052026_18_19_35_30123.jpg', '/home/pi/Desktop/images/07052026/18/17/image_07052026_18_18_06_30125.jpg', '/home/pi/Desktop/images/07052026/18/17/image_07052026_18_17_36_30176.jpg', '/home/pi/Desktop/images/07052026/18/16/image_07052026_18_17_05_30242.jpg', '/home/pi/Desktop/images/07052026/18/16/image_07052026_18_16_35_30152.jpg', '/home/pi/Desktop/images/07052026/18/15/image_07052026_18_15_36_30212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/19/image_07052026_18_19_35_30123.jpg
/home/pi/Desktop/images/07052026/18/17/image_07052026_18_18_06_30125.jpg
/home/pi/Desktop/images/07052026/18/17/image_07052026_18_17_36_30176.jpg
/home/pi/Desktop/images/07052026/18/16/image_07052026_18_17_05_30242.jpg
/home/pi/Desktop/images/07052026/18/16/image_07052026_18_16_35_30152.jpg
/home/pi/Desktop/images/07052026/18/15/image_07052026_18_15_36_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416831895","1416831631","1416831783","1416831633","1416831671","1416832007"],"photo_ids_order":["1416831631","1416831633","1416831671","1416831783","1416831895","1416832007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1bb076f3dddb8f0269220318eae64403.jpg","text":"TemporaryFile(/tmp/multipartBody2975295522079225455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_16_35_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ae26ac5ab9f0010c9616b0d825415e7.jpg","text":"TemporaryFile(/tmp/multipartBody894191715702869953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_19_35_30123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72335ac2ffb1f26416e659d12ce40448.jpg","text":"TemporaryFile(/tmp/multipartBody5927500714947206594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_17_05_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7551bd1c37031fd2c526bfd566929300.jpg","text":"TemporaryFile(/tmp/multipartBody4995448996852473151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_18_06_30125.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04da7e4fa9d6c46f094bc0fcf42ec7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2690809181112225792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_17_36_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8f76109d9115fac664a39791836452e.jpg","text":"TemporaryFile(/tmp/multipartBody8512613382628339435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485445389,"filename":"image_07052026_18_15_36_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416831671","file1":"1416831633","file0":"1416831631","file4":"1416831895","file5":"1416832007","file3":"1416831783"},"map_files_photo_id_array":[{"photo_id":"1416832007","filename":"file5"},{"photo_id":"1416831671","filename":"file2"},{"photo_id":"1416831895","filename":"file4"},{"photo_id":"1416831633","filename":"file1"},{"photo_id":"1416831631","filename":"file0"},{"photo_id":"1416831783","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416831895":["hashtag1","hashtag2"]},{"1416831631":["hashtag1","hashtag2"]},{"1416831783":["hashtag1","hashtag2"]},{"1416831633":["hashtag1","hashtag2"]},{"1416831671":["hashtag1","hashtag2"]},{"1416832007":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416831895, 1416831631, 1416831783, 1416831633, 1416831671, 1416832007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.413084983825684 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:44:03.379420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/14/image_07052026_18_15_06_30111.jpg', '/home/pi/Desktop/images/07052026/18/14/image_07052026_18_14_35_30132.jpg', '/home/pi/Desktop/images/07052026/18/13/image_07052026_18_14_05_30299.jpg', '/home/pi/Desktop/images/07052026/18/13/image_07052026_18_13_35_30238.jpg', '/home/pi/Desktop/images/07052026/18/11/image_07052026_18_11_35_30298.jpg', '/home/pi/Desktop/images/07052026/18/07/image_07052026_18_07_35_30183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/14/image_07052026_18_15_06_30111.jpg
/home/pi/Desktop/images/07052026/18/14/image_07052026_18_14_35_30132.jpg
/home/pi/Desktop/images/07052026/18/13/image_07052026_18_14_05_30299.jpg
/home/pi/Desktop/images/07052026/18/13/image_07052026_18_13_35_30238.jpg
/home/pi/Desktop/images/07052026/18/11/image_07052026_18_11_35_30298.jpg
/home/pi/Desktop/images/07052026/18/07/image_07052026_18_07_35_30183.jpg
2026-05-11 09:44:03.610877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/00/54/image_07052026_00_55_05_29273.jpg', '/home/pi/Desktop/images/07052026/00/55/image_07052026_00_55_35_30361.jpg', '/home/pi/Desktop/images/07052026/00/56/image_07052026_00_57_05_30330.jpg', '/home/pi/Desktop/images/07052026/00/57/image_07052026_00_58_05_29345.jpg', '/home/pi/Desktop/images/07052026/00/59/image_07052026_01_00_05_30454.jpg', '/home/pi/Desktop/images/07052026/01/00/image_07052026_01_00_35_29408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/00/54/image_07052026_00_55_05_29273.jpg
/home/pi/Desktop/images/07052026/00/55/image_07052026_00_55_35_30361.jpg
/home/pi/Desktop/images/07052026/00/56/image_07052026_00_57_05_30330.jpg
/home/pi/Desktop/images/07052026/00/57/image_07052026_00_58_05_29345.jpg
/home/pi/Desktop/images/07052026/00/59/image_07052026_01_00_05_30454.jpg
/home/pi/Desktop/images/07052026/01/00/image_07052026_01_00_35_29408.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833608","1416833457","1416833460","1416833672","1416833857","1416833587"],"photo_ids_order":["1416833457","1416833460","1416833587","1416833608","1416833672","1416833857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3736f4191c0a3cd38509266fbeed670f.jpg","text":"TemporaryFile(/tmp/multipartBody2200417362495233973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_13_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ddf60c7589dc404ef60182e3bb700c5.jpg","text":"TemporaryFile(/tmp/multipartBody3278866967998552630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_15_06_30111.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d8bd6f5f048bd1d8444635708ff7db2.jpg","text":"TemporaryFile(/tmp/multipartBody6816004178754593410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_14_35_30132.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d09177475953091336af001a76070e6.jpg","text":"TemporaryFile(/tmp/multipartBody7316936166193283760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_11_35_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb070cb3bdb552e5b05e5bf8bdbd4f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4732436173726049834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_07_35_30183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6bce8bc5519a47c3c0e68c760be31b71.jpg","text":"TemporaryFile(/tmp/multipartBody1957960046595732065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485507521,"filename":"image_07052026_18_14_05_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833587","file1":"1416833460","file0":"1416833457","file4":"1416833672","file5":"1416833857","file3":"1416833608"},"map_files_photo_id_array":[{"photo_id":"1416833857","filename":"file5"},{"photo_id":"1416833587","filename":"file2"},{"photo_id":"1416833672","filename":"file4"},{"photo_id":"1416833460","filename":"file1"},{"photo_id":"1416833457","filename":"file0"},{"photo_id":"1416833608","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416833608":["hashtag1","hashtag2"]},{"1416833457":["hashtag1","hashtag2"]},{"1416833460":["hashtag1","hashtag2"]},{"1416833672":["hashtag1","hashtag2"]},{"1416833857":["hashtag1","hashtag2"]},{"1416833587":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416833608, 1416833457, 1416833460, 1416833672, 1416833857, 1416833587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.03442621231079 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833859","1416833462","1416833459","1416833825","1416833606","1416833609"],"photo_ids_order":["1416833459","1416833462","1416833606","1416833609","1416833825","1416833859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/501b6a22d351fa46174314a2b2f3d21c.jpg","text":"TemporaryFile(/tmp/multipartBody8329002866000766542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_01_00_35_29408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fef20fbddb9bdadfa3143d9dc479542.jpg","text":"TemporaryFile(/tmp/multipartBody1943424148162626754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_00_55_35_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e41d3f3f501b8873fde242000de6f123.jpg","text":"TemporaryFile(/tmp/multipartBody8125455966429624402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_00_55_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3bb6d1db6d59e71685537142827d7a62.jpg","text":"TemporaryFile(/tmp/multipartBody7694096136918891371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_01_00_05_30454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/167bc8332e205e76b8ca3ced7a472a26.jpg","text":"TemporaryFile(/tmp/multipartBody5733472649148515453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_00_57_05_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43300b37d4d27fe2aed4d3f0aee7ceab.jpg","text":"TemporaryFile(/tmp/multipartBody5518276714649706556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485509742,"filename":"image_07052026_00_58_05_29345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833606","file1":"1416833462","file0":"1416833459","file4":"1416833825","file5":"1416833859","file3":"1416833609"},"map_files_photo_id_array":[{"photo_id":"1416833859","filename":"file5"},{"photo_id":"1416833606","filename":"file2"},{"photo_id":"1416833825","filename":"file4"},{"photo_id":"1416833462","filename":"file1"},{"photo_id":"1416833459","filename":"file0"},{"photo_id":"1416833609","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416833859":["hashtag1","hashtag2"]},{"1416833462":["hashtag1","hashtag2"]},{"1416833459":["hashtag1","hashtag2"]},{"1416833825":["hashtag1","hashtag2"]},{"1416833606":["hashtag1","hashtag2"]},{"1416833609":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416833859, 1416833462, 1416833459, 1416833825, 1416833606, 1416833609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.052223205566406 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:45:03.739153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/04/image_07052026_18_05_05_30171.jpg', '/home/pi/Desktop/images/07052026/18/04/image_07052026_18_04_35_30280.jpg', '/home/pi/Desktop/images/07052026/18/03/image_07052026_18_04_05_29239.jpg', '/home/pi/Desktop/images/07052026/18/01/image_07052026_18_02_05_29239.jpg', '/home/pi/Desktop/images/07052026/18/01/image_07052026_18_01_36_30264.jpg', '/home/pi/Desktop/images/07052026/18/00/image_07052026_18_01_05_30220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/04/image_07052026_18_05_05_30171.jpg
/home/pi/Desktop/images/07052026/18/04/image_07052026_18_04_35_30280.jpg
/home/pi/Desktop/images/07052026/18/03/image_07052026_18_04_05_29239.jpg
/home/pi/Desktop/images/07052026/18/01/image_07052026_18_02_05_29239.jpg
/home/pi/Desktop/images/07052026/18/01/image_07052026_18_01_36_30264.jpg
/home/pi/Desktop/images/07052026/18/00/image_07052026_18_01_05_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833926","1416833929","1416833928","1416833931","1416833930","1416833927"],"photo_ids_order":["1416833926","1416833927","1416833928","1416833929","1416833930","1416833931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/252db53bbb5d364b7c3bd7102603c963.jpg","text":"TemporaryFile(/tmp/multipartBody1615003966350420498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_05_05_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a564a66e4cc6bd84ca3e058f81456bf.jpg","text":"TemporaryFile(/tmp/multipartBody3764724348175604380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_02_05_29239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69ac92caec6bf847b716b3778345d230.jpg","text":"TemporaryFile(/tmp/multipartBody1777514934065758463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_04_05_29239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1d3758b5c21385e9ebd6c80f95ba0c0.jpg","text":"TemporaryFile(/tmp/multipartBody1382217983084528497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_01_05_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aebc1b98ab1e936e4335994aae6766bf.jpg","text":"TemporaryFile(/tmp/multipartBody1994136635049267843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_01_36_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f733bf7e808a4835a1597f84e7be3e4.jpg","text":"TemporaryFile(/tmp/multipartBody7117215801797329521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485567128,"filename":"image_07052026_18_04_35_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833928","file1":"1416833927","file0":"1416833926","file4":"1416833930","file5":"1416833931","file3":"1416833929"},"map_files_photo_id_array":[{"photo_id":"1416833931","filename":"file5"},{"photo_id":"1416833928","filename":"file2"},{"photo_id":"1416833930","filename":"file4"},{"photo_id":"1416833927","filename":"file1"},{"photo_id":"1416833926","filename":"file0"},{"photo_id":"1416833929","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416833926":["hashtag1","hashtag2"]},{"1416833929":["hashtag1","hashtag2"]},{"1416833928":["hashtag1","hashtag2"]},{"1416833931":["hashtag1","hashtag2"]},{"1416833930":["hashtag1","hashtag2"]},{"1416833927":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416833926, 1416833929, 1416833928, 1416833931, 1416833930, 1416833927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39358925819397 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:46:02.927764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/00/image_07052026_18_00_35_30236.jpg', '/home/pi/Desktop/images/07052026/17/59/image_07052026_18_00_05_29176.jpg', '/home/pi/Desktop/images/07052026/17/48/image_07052026_17_49_06_30224.jpg', '/home/pi/Desktop/images/07052026/17/47/image_07052026_17_48_05_29245.jpg', '/home/pi/Desktop/images/07052026/17/47/image_07052026_17_47_36_30340.jpg', '/home/pi/Desktop/images/07052026/17/46/image_07052026_17_46_35_30342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/00/image_07052026_18_00_35_30236.jpg
/home/pi/Desktop/images/07052026/17/59/image_07052026_18_00_05_29176.jpg
/home/pi/Desktop/images/07052026/17/48/image_07052026_17_49_06_30224.jpg
/home/pi/Desktop/images/07052026/17/47/image_07052026_17_48_05_29245.jpg
/home/pi/Desktop/images/07052026/17/47/image_07052026_17_47_36_30340.jpg
/home/pi/Desktop/images/07052026/17/46/image_07052026_17_46_35_30342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.229961395263672 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:47:04.179683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/41/image_11052026_09_41_43_29189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/41/image_11052026_09_41_43_29189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833945"],"photo_id":"1416833945","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c739b139db2d71d5ecefbad6ce49fcf3.jpg","text":"TemporaryFile(/tmp/multipartBody3684152062843638780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485685306,"filename":"image_11052026_09_41_43_29189.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416833945"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416833945"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.069819927215576 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:48:03.492270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/18/00/image_07052026_18_00_35_30236.jpg', '/home/pi/Desktop/images/07052026/17/59/image_07052026_18_00_05_29176.jpg', '/home/pi/Desktop/images/07052026/17/48/image_07052026_17_49_06_30224.jpg', '/home/pi/Desktop/images/07052026/17/47/image_07052026_17_48_05_29245.jpg', '/home/pi/Desktop/images/07052026/17/47/image_07052026_17_47_36_30340.jpg', '/home/pi/Desktop/images/07052026/17/46/image_07052026_17_46_35_30342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/18/00/image_07052026_18_00_35_30236.jpg
/home/pi/Desktop/images/07052026/17/59/image_07052026_18_00_05_29176.jpg
/home/pi/Desktop/images/07052026/17/48/image_07052026_17_49_06_30224.jpg
/home/pi/Desktop/images/07052026/17/47/image_07052026_17_48_05_29245.jpg
/home/pi/Desktop/images/07052026/17/47/image_07052026_17_47_36_30340.jpg
/home/pi/Desktop/images/07052026/17/46/image_07052026_17_46_35_30342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833952","1416833958","1416833954","1416833948","1416833956","1416833950"],"photo_ids_order":["1416833948","1416833950","1416833952","1416833954","1416833956","1416833958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c2c9a7d99c5b4ab79982fb0f9298b19.jpg","text":"TemporaryFile(/tmp/multipartBody4975955221378332155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_17_49_06_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c37f7e5a29c2496a3fa7f5ec81aec4a.jpg","text":"TemporaryFile(/tmp/multipartBody6324416373081833238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_17_46_35_30342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36d5a02c902bb6e7aaec0811bf8af3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7516952406176211736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_17_48_05_29245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f68be92f656f019547d0a7287daebf54.jpg","text":"TemporaryFile(/tmp/multipartBody5232346448346496260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_18_00_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b1787c961d487f3d3ccbe9e77d6fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody7125518118272334115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_17_47_36_30340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e49d259487ffc6971158d1fe46c29216.jpg","text":"TemporaryFile(/tmp/multipartBody3377898429027535846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485746529,"filename":"image_07052026_18_00_05_29176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833952","file1":"1416833950","file0":"1416833948","file4":"1416833956","file5":"1416833958","file3":"1416833954"},"map_files_photo_id_array":[{"photo_id":"1416833958","filename":"file5"},{"photo_id":"1416833952","filename":"file2"},{"photo_id":"1416833956","filename":"file4"},{"photo_id":"1416833950","filename":"file1"},{"photo_id":"1416833948","filename":"file0"},{"photo_id":"1416833954","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416833952":["hashtag1","hashtag2"]},{"1416833958":["hashtag1","hashtag2"]},{"1416833954":["hashtag1","hashtag2"]},{"1416833948":["hashtag1","hashtag2"]},{"1416833956":["hashtag1","hashtag2"]},{"1416833950":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416833952, 1416833958, 1416833954, 1416833948, 1416833956, 1416833950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14779233932495 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:49:03.887390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/45/image_07052026_17_46_05_29269.jpg', '/home/pi/Desktop/images/07052026/17/44/image_07052026_17_45_05_30377.jpg', '/home/pi/Desktop/images/07052026/17/40/image_07052026_17_40_35_29196.jpg', '/home/pi/Desktop/images/07052026/17/39/image_07052026_17_40_06_30222.jpg', '/home/pi/Desktop/images/07052026/17/39/image_07052026_17_39_36_30332.jpg', '/home/pi/Desktop/images/07052026/17/38/image_07052026_17_39_05_29339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/45/image_07052026_17_46_05_29269.jpg
/home/pi/Desktop/images/07052026/17/44/image_07052026_17_45_05_30377.jpg
/home/pi/Desktop/images/07052026/17/40/image_07052026_17_40_35_29196.jpg
/home/pi/Desktop/images/07052026/17/39/image_07052026_17_40_06_30222.jpg
/home/pi/Desktop/images/07052026/17/39/image_07052026_17_39_36_30332.jpg
/home/pi/Desktop/images/07052026/17/38/image_07052026_17_39_05_29339.jpg
2026-05-11 09:49:03.923435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/01/image_07052026_01_01_36_30470.jpg', '/home/pi/Desktop/images/07052026/01/01/image_07052026_01_02_05_29388.jpg', '/home/pi/Desktop/images/07052026/01/02/image_07052026_01_02_35_30319.jpg', '/home/pi/Desktop/images/07052026/01/02/image_07052026_01_03_06_30349.jpg', '/home/pi/Desktop/images/07052026/01/04/image_07052026_01_04_36_30397.jpg', '/home/pi/Desktop/images/07052026/01/04/image_07052026_01_05_05_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/01/image_07052026_01_01_36_30470.jpg
/home/pi/Desktop/images/07052026/01/01/image_07052026_01_02_05_29388.jpg
/home/pi/Desktop/images/07052026/01/02/image_07052026_01_02_35_30319.jpg
/home/pi/Desktop/images/07052026/01/02/image_07052026_01_03_06_30349.jpg
/home/pi/Desktop/images/07052026/01/04/image_07052026_01_04_36_30397.jpg
/home/pi/Desktop/images/07052026/01/04/image_07052026_01_05_05_29273.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.898505926132202 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416833970","1416833967","1416833961","1416833963","1416833960","1416833965"],"photo_ids_order":["1416833960","1416833961","1416833963","1416833965","1416833967","1416833970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e06d361beb4cc2f03c2f3c9430147681.jpg","text":"TemporaryFile(/tmp/multipartBody938890138590860869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_39_05_29339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a21447f9ee8c6683e95ed7b226936983.jpg","text":"TemporaryFile(/tmp/multipartBody1391393181436845208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_39_36_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e13d31cfe19b7f788afc299de72ffdb3.jpg","text":"TemporaryFile(/tmp/multipartBody5319124636871616330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_45_05_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27f4cc54164252603e7ab902458bdb52.jpg","text":"TemporaryFile(/tmp/multipartBody5642565469612014307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_40_35_29196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b26b5a677d1c438693f20b1c5a11bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2118050252012143256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_46_05_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/590de190dfb91339ab14a696ecc70f41.jpg","text":"TemporaryFile(/tmp/multipartBody3619414133236036298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485809185,"filename":"image_07052026_17_40_06_30222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833963","file1":"1416833961","file0":"1416833960","file4":"1416833967","file5":"1416833970","file3":"1416833965"},"map_files_photo_id_array":[{"photo_id":"1416833970","filename":"file5"},{"photo_id":"1416833963","filename":"file2"},{"photo_id":"1416833967","filename":"file4"},{"photo_id":"1416833961","filename":"file1"},{"photo_id":"1416833960","filename":"file0"},{"photo_id":"1416833965","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416833970":["hashtag1","hashtag2"]},{"1416833967":["hashtag1","hashtag2"]},{"1416833961":["hashtag1","hashtag2"]},{"1416833963":["hashtag1","hashtag2"]},{"1416833960":["hashtag1","hashtag2"]},{"1416833965":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416833970, 1416833967, 1416833961, 1416833963, 1416833960, 1416833965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.925617694854736 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:50:03.120951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/38/image_07052026_17_38_36_30226.jpg', '/home/pi/Desktop/images/07052026/17/37/image_07052026_17_38_06_30302.jpg', '/home/pi/Desktop/images/07052026/17/35/image_07052026_17_36_06_30304.jpg', '/home/pi/Desktop/images/07052026/17/35/image_07052026_17_35_35_30286.jpg', '/home/pi/Desktop/images/07052026/17/34/image_07052026_17_35_05_29161.jpg', '/home/pi/Desktop/images/07052026/17/34/image_07052026_17_34_36_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/38/image_07052026_17_38_36_30226.jpg
/home/pi/Desktop/images/07052026/17/37/image_07052026_17_38_06_30302.jpg
/home/pi/Desktop/images/07052026/17/35/image_07052026_17_36_06_30304.jpg
/home/pi/Desktop/images/07052026/17/35/image_07052026_17_35_35_30286.jpg
/home/pi/Desktop/images/07052026/17/34/image_07052026_17_35_05_29161.jpg
/home/pi/Desktop/images/07052026/17/34/image_07052026_17_34_36_30275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416834528","1416834210","1416833981","1416833984","1416833978","1416833983"],"photo_ids_order":["1416833978","1416833981","1416833983","1416833984","1416834210","1416834528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70a0b4084cfbe8197f3af358e2d8b00a.jpg","text":"TemporaryFile(/tmp/multipartBody5333073487549504153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_34_36_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f330e10b0a58c9e008e6eab6d8889430.jpg","text":"TemporaryFile(/tmp/multipartBody7202521540498001680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_35_05_29161.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e963d9657744b67959a32077e749d730.jpg","text":"TemporaryFile(/tmp/multipartBody3248371519823392234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_38_06_30302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c6bf9c0c21b210c05ee793053b94c64.jpg","text":"TemporaryFile(/tmp/multipartBody8011789722510310608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_35_35_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c8e79a4b7944b7f5baf63236b591db2.jpg","text":"TemporaryFile(/tmp/multipartBody8153903908774024150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_38_36_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce2bb3c865318b2e39bac194e0b89d20.jpg","text":"TemporaryFile(/tmp/multipartBody8832427196227717402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485866528,"filename":"image_07052026_17_36_06_30304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416833983","file1":"1416833981","file0":"1416833978","file4":"1416834210","file5":"1416834528","file3":"1416833984"},"map_files_photo_id_array":[{"photo_id":"1416834528","filename":"file5"},{"photo_id":"1416833983","filename":"file2"},{"photo_id":"1416834210","filename":"file4"},{"photo_id":"1416833981","filename":"file1"},{"photo_id":"1416833978","filename":"file0"},{"photo_id":"1416833984","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416834528":["hashtag1","hashtag2"]},{"1416834210":["hashtag1","hashtag2"]},{"1416833981":["hashtag1","hashtag2"]},{"1416833984":["hashtag1","hashtag2"]},{"1416833978":["hashtag1","hashtag2"]},{"1416833983":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416834528, 1416834210, 1416833981, 1416833984, 1416833978, 1416833983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.705573081970215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:51:03.438826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/33/image_07052026_17_34_06_30241.jpg', '/home/pi/Desktop/images/07052026/17/33/image_07052026_17_33_35_30250.jpg', '/home/pi/Desktop/images/07052026/17/32/image_07052026_17_33_05_30232.jpg', '/home/pi/Desktop/images/07052026/17/31/image_07052026_17_32_06_30190.jpg', '/home/pi/Desktop/images/07052026/17/29/image_07052026_17_30_06_30371.jpg', '/home/pi/Desktop/images/07052026/17/27/image_07052026_17_28_05_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/33/image_07052026_17_34_06_30241.jpg
/home/pi/Desktop/images/07052026/17/33/image_07052026_17_33_35_30250.jpg
/home/pi/Desktop/images/07052026/17/32/image_07052026_17_33_05_30232.jpg
/home/pi/Desktop/images/07052026/17/31/image_07052026_17_32_06_30190.jpg
/home/pi/Desktop/images/07052026/17/29/image_07052026_17_30_06_30371.jpg
/home/pi/Desktop/images/07052026/17/27/image_07052026_17_28_05_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835209","1416835166","1416834992","1416835162","1416834994","1416835164"],"photo_ids_order":["1416834992","1416834994","1416835162","1416835164","1416835166","1416835209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7dd902e709c6624cda8fd4fd1925438d.jpg","text":"TemporaryFile(/tmp/multipartBody4842282744878029946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_28_05_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9fd7b60157bf6cd76fe269f40b47587.jpg","text":"TemporaryFile(/tmp/multipartBody1778402346802179088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_30_06_30371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d64014342c34c69d101dfe683886747.jpg","text":"TemporaryFile(/tmp/multipartBody7771590023597318786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_34_06_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0def2a9d4f8ed3075ec030e820de8560.jpg","text":"TemporaryFile(/tmp/multipartBody2768589376109236885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_33_05_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/820c0bb25afe734c47e2e13db2a46676.jpg","text":"TemporaryFile(/tmp/multipartBody6475478187953128985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_33_35_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0438a927c799c54f0e44944c5820fc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8125428324743778605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485926494,"filename":"image_07052026_17_32_06_30190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416835162","file1":"1416834994","file0":"1416834992","file4":"1416835166","file5":"1416835209","file3":"1416835164"},"map_files_photo_id_array":[{"photo_id":"1416835209","filename":"file5"},{"photo_id":"1416835162","filename":"file2"},{"photo_id":"1416835166","filename":"file4"},{"photo_id":"1416834994","filename":"file1"},{"photo_id":"1416834992","filename":"file0"},{"photo_id":"1416835164","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416835209":["hashtag1","hashtag2"]},{"1416835166":["hashtag1","hashtag2"]},{"1416834992":["hashtag1","hashtag2"]},{"1416835162":["hashtag1","hashtag2"]},{"1416834994":["hashtag1","hashtag2"]},{"1416835164":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416835209, 1416835166, 1416834992, 1416835162, 1416834994, 1416835164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.102208375930786 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:52:03.674266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/27/image_07052026_17_27_35_30205.jpg', '/home/pi/Desktop/images/07052026/17/26/image_07052026_17_27_05_30165.jpg', '/home/pi/Desktop/images/07052026/17/26/image_07052026_17_26_35_29205.jpg', '/home/pi/Desktop/images/07052026/17/25/image_07052026_17_26_06_30072.jpg', '/home/pi/Desktop/images/07052026/17/25/image_07052026_17_25_36_30261.jpg', '/home/pi/Desktop/images/07052026/17/24/image_07052026_17_25_05_30178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/27/image_07052026_17_27_35_30205.jpg
/home/pi/Desktop/images/07052026/17/26/image_07052026_17_27_05_30165.jpg
/home/pi/Desktop/images/07052026/17/26/image_07052026_17_26_35_29205.jpg
/home/pi/Desktop/images/07052026/17/25/image_07052026_17_26_06_30072.jpg
/home/pi/Desktop/images/07052026/17/25/image_07052026_17_25_36_30261.jpg
/home/pi/Desktop/images/07052026/17/24/image_07052026_17_25_05_30178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835239","1416835238","1416835240","1416835237","1416835242","1416835236"],"photo_ids_order":["1416835236","1416835237","1416835238","1416835239","1416835240","1416835242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/942ef559b0dea5f663f78da798200235.jpg","text":"TemporaryFile(/tmp/multipartBody3876454335001086491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_26_06_30072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/beb15386a4adcb3634bc59c1339f2b07.jpg","text":"TemporaryFile(/tmp/multipartBody6554718344127994768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_26_35_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/852925a53473621b6053990a139090c2.jpg","text":"TemporaryFile(/tmp/multipartBody6803520134571556055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_25_36_30261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26d376ea6df375f42f4e606c45beeaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8043770753544067859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_27_05_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc7ac75579ff16453c65867d12a8fd40.jpg","text":"TemporaryFile(/tmp/multipartBody1544161150478660033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_25_05_30178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e697e4a954854ece4c0090c0b3b6be99.jpg","text":"TemporaryFile(/tmp/multipartBody6173944068627462832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778485986828,"filename":"image_07052026_17_27_35_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416835238","file1":"1416835237","file0":"1416835236","file4":"1416835240","file5":"1416835242","file3":"1416835239"},"map_files_photo_id_array":[{"photo_id":"1416835242","filename":"file5"},{"photo_id":"1416835238","filename":"file2"},{"photo_id":"1416835240","filename":"file4"},{"photo_id":"1416835237","filename":"file1"},{"photo_id":"1416835236","filename":"file0"},{"photo_id":"1416835239","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416835239":["hashtag1","hashtag2"]},{"1416835238":["hashtag1","hashtag2"]},{"1416835240":["hashtag1","hashtag2"]},{"1416835237":["hashtag1","hashtag2"]},{"1416835242":["hashtag1","hashtag2"]},{"1416835236":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416835239, 1416835238, 1416835240, 1416835237, 1416835242, 1416835236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.141823530197144 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:53:03.767859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg', '/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg', '/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg', '/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg
/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg
/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg
/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5794904232025146 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:54:03.443719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/47/image_11052026_09_47_44_30329.jpg', '/home/pi/Desktop/images/11052026/09/53/image_11052026_09_54_14_30030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/47/image_11052026_09_47_44_30329.jpg
/home/pi/Desktop/images/11052026/09/53/image_11052026_09_54_14_30030.jpg
2026-05-11 09:54:03.589606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/53/image_11052026_09_54_14_30030.jpg', '/home/pi/Desktop/images/11052026/09/47/image_11052026_09_47_44_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/53/image_11052026_09_54_14_30030.jpg
/home/pi/Desktop/images/11052026/09/47/image_11052026_09_47_44_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835915","1416835917"],"photo_ids_order":["1416835915","1416835917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d48ffa0ba26a37f4c3274331c89b84f9.jpg","text":"TemporaryFile(/tmp/multipartBody1884162124602907402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486106449,"filename":"image_11052026_09_47_44_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7da8c7950b0ab65ea4b0e27c1e5e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody3492490136695106403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486106449,"filename":"image_11052026_09_54_14_30030.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416835917","file0":"1416835915"},"map_files_photo_id_array":[{"photo_id":"1416835917","filename":"file1"},{"photo_id":"1416835915","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416835915":["hashtag1","hashtag2"]},{"1416835917":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416835915, 1416835917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.409061193466187 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835916","1416835918"],"photo_ids_order":["1416835916","1416835918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22277422dc0ee93f009035874ae2deac.jpg","text":"TemporaryFile(/tmp/multipartBody6013711650937088323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486106537,"filename":"image_11052026_09_54_14_30030.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68286ca8ad917cab02ffa19da8a1db1f.jpg","text":"TemporaryFile(/tmp/multipartBody6633858296014790190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486106537,"filename":"image_11052026_09_47_44_30329.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416835918","file0":"1416835916"},"map_files_photo_id_array":[{"photo_id":"1416835918","filename":"file1"},{"photo_id":"1416835916","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416835916":["hashtag1","hashtag2"]},{"1416835918":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416835916, 1416835918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.13367199897766 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 09:59:04.163957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/57/image_11052026_09_58_14_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/57/image_11052026_09_58_14_30161.jpg
2026-05-11 09:59:04.349699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/09/57/image_11052026_09_58_14_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/09/57/image_11052026_09_58_14_30161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835937"],"photo_id":"1416835937","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d89ce6148419a4f07fe6ac6d995881af.jpg","text":"TemporaryFile(/tmp/multipartBody2473484805816309753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486405370,"filename":"image_11052026_09_58_14_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416835937"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416835937"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.819358110427856 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416835936"],"photo_id":"1416835936","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/385c6e5bee00d4e4d33ee6569c225087.jpg","text":"TemporaryFile(/tmp/multipartBody8459811118837279331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486405219,"filename":"image_11052026_09_58_14_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416835936"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416835936"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.369709730148315 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:00:02.816469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg', '/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg', '/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg', '/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg
/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg
/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg
/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.100449323654175 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:01:03.937893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg', '/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg', '/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg', '/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg', '/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/23/image_07052026_17_23_36_30221.jpg
/home/pi/Desktop/images/07052026/17/14/image_07052026_17_15_05_30235.jpg
/home/pi/Desktop/images/07052026/17/13/image_07052026_17_13_35_30234.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_13_05_30173.jpg
/home/pi/Desktop/images/07052026/17/12/image_07052026_17_12_35_30190.jpg
/home/pi/Desktop/images/07052026/17/11/image_07052026_17_12_05_29208.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416836972","1416836971","1416836974","1416836976","1416836973","1416836975"],"photo_ids_order":["1416836971","1416836972","1416836973","1416836974","1416836975","1416836976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8df61d7eb6171c95f92bb969bc6d883.jpg","text":"TemporaryFile(/tmp/multipartBody9060816406672063388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_15_05_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff307976a50b2276025201f9793787c2.jpg","text":"TemporaryFile(/tmp/multipartBody2132770522062117305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_23_36_30221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/612dcd0ff31a235cfc3ab2cf646dcd23.jpg","text":"TemporaryFile(/tmp/multipartBody8322000704502691109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_13_05_30173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f44702887aa0c0b102f3584e734aee6d.jpg","text":"TemporaryFile(/tmp/multipartBody1097539285415214160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_12_05_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab034bc309a9cfb5354543cb38922259.jpg","text":"TemporaryFile(/tmp/multipartBody5888195292630804147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_13_35_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/909c95398b95918dcd8a68a36f716860.jpg","text":"TemporaryFile(/tmp/multipartBody8718203222335615334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486527537,"filename":"image_07052026_17_12_35_30190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416836973","file1":"1416836972","file0":"1416836971","file4":"1416836975","file5":"1416836976","file3":"1416836974"},"map_files_photo_id_array":[{"photo_id":"1416836976","filename":"file5"},{"photo_id":"1416836973","filename":"file2"},{"photo_id":"1416836975","filename":"file4"},{"photo_id":"1416836972","filename":"file1"},{"photo_id":"1416836971","filename":"file0"},{"photo_id":"1416836974","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416836972":["hashtag1","hashtag2"]},{"1416836971":["hashtag1","hashtag2"]},{"1416836974":["hashtag1","hashtag2"]},{"1416836976":["hashtag1","hashtag2"]},{"1416836973":["hashtag1","hashtag2"]},{"1416836975":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416836972, 1416836971, 1416836974, 1416836976, 1416836973, 1416836975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.581573724746704 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:02:03.533601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/11/image_07052026_17_11_36_30144.jpg', '/home/pi/Desktop/images/07052026/17/09/image_07052026_17_10_05_30263.jpg', '/home/pi/Desktop/images/07052026/17/09/image_07052026_17_09_35_29155.jpg', '/home/pi/Desktop/images/07052026/17/08/image_07052026_17_09_06_30256.jpg', '/home/pi/Desktop/images/07052026/17/08/image_07052026_17_08_35_30226.jpg', '/home/pi/Desktop/images/07052026/17/07/image_07052026_17_08_05_30252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/11/image_07052026_17_11_36_30144.jpg
/home/pi/Desktop/images/07052026/17/09/image_07052026_17_10_05_30263.jpg
/home/pi/Desktop/images/07052026/17/09/image_07052026_17_09_35_29155.jpg
/home/pi/Desktop/images/07052026/17/08/image_07052026_17_09_06_30256.jpg
/home/pi/Desktop/images/07052026/17/08/image_07052026_17_08_35_30226.jpg
/home/pi/Desktop/images/07052026/17/07/image_07052026_17_08_05_30252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416836990","1416836984","1416836986","1416836980","1416836982","1416836988"],"photo_ids_order":["1416836980","1416836982","1416836984","1416836986","1416836988","1416836990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/463d950a61933d041d2807c1b8fc9d42.jpg","text":"TemporaryFile(/tmp/multipartBody4664887465257101242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_08_05_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a58c58d3e97b5e1fcbbdea4587d40b7.jpg","text":"TemporaryFile(/tmp/multipartBody3809813676262692331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_09_35_29155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17078bb37a2d49a6e998d8acdbeb982a.jpg","text":"TemporaryFile(/tmp/multipartBody9159079321655909674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_09_06_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb7b58e973e74900c16ac4c1c4db2a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2243660193054299051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_11_36_30144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/446b9035a51f5a711c2dbb9aca4b5c46.jpg","text":"TemporaryFile(/tmp/multipartBody451786545839109050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_10_05_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed2d70150acee14b4962150b11955d72.jpg","text":"TemporaryFile(/tmp/multipartBody2286964648996940498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486587303,"filename":"image_07052026_17_08_35_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416836984","file1":"1416836982","file0":"1416836980","file4":"1416836988","file5":"1416836990","file3":"1416836986"},"map_files_photo_id_array":[{"photo_id":"1416836990","filename":"file5"},{"photo_id":"1416836984","filename":"file2"},{"photo_id":"1416836988","filename":"file4"},{"photo_id":"1416836982","filename":"file1"},{"photo_id":"1416836980","filename":"file0"},{"photo_id":"1416836986","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416836990":["hashtag1","hashtag2"]},{"1416836984":["hashtag1","hashtag2"]},{"1416836986":["hashtag1","hashtag2"]},{"1416836980":["hashtag1","hashtag2"]},{"1416836982":["hashtag1","hashtag2"]},{"1416836988":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416836990, 1416836984, 1416836986, 1416836980, 1416836982, 1416836988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73510813713074 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:03:03.281114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/07/image_07052026_17_07_35_30172.jpg', '/home/pi/Desktop/images/07052026/17/06/image_07052026_17_07_05_29094.jpg', '/home/pi/Desktop/images/07052026/17/06/image_07052026_17_06_36_30281.jpg', '/home/pi/Desktop/images/07052026/17/05/image_07052026_17_06_05_30237.jpg', '/home/pi/Desktop/images/07052026/17/03/image_07052026_17_03_35_30250.jpg', '/home/pi/Desktop/images/07052026/17/01/image_07052026_17_02_06_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/07/image_07052026_17_07_35_30172.jpg
/home/pi/Desktop/images/07052026/17/06/image_07052026_17_07_05_29094.jpg
/home/pi/Desktop/images/07052026/17/06/image_07052026_17_06_36_30281.jpg
/home/pi/Desktop/images/07052026/17/05/image_07052026_17_06_05_30237.jpg
/home/pi/Desktop/images/07052026/17/03/image_07052026_17_03_35_30250.jpg
/home/pi/Desktop/images/07052026/17/01/image_07052026_17_02_06_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837634","1416837591","1416837480","1416837590","1416837479","1416837587"],"photo_ids_order":["1416837479","1416837480","1416837587","1416837590","1416837591","1416837634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8194425c178af63cef9da021674f5f5.jpg","text":"TemporaryFile(/tmp/multipartBody5053289108918878083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_02_06_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c01983258d2c0f512e0140cf92d4401.jpg","text":"TemporaryFile(/tmp/multipartBody2321619845173182754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_03_35_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0ce84fdc4c4c169b76ffd041f8fce9a.jpg","text":"TemporaryFile(/tmp/multipartBody1666039418791502825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_07_05_29094.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d349325a9cba3d23b76dc9107b10c6be.jpg","text":"TemporaryFile(/tmp/multipartBody4834009249299550005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_06_05_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22f016c4919eb74a48db000f707002be.jpg","text":"TemporaryFile(/tmp/multipartBody6165439542351990943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_07_35_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9d540fb90f52903cad00e4ddb04acc6.jpg","text":"TemporaryFile(/tmp/multipartBody7976649126934880110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486646579,"filename":"image_07052026_17_06_36_30281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416837587","file1":"1416837480","file0":"1416837479","file4":"1416837591","file5":"1416837634","file3":"1416837590"},"map_files_photo_id_array":[{"photo_id":"1416837634","filename":"file5"},{"photo_id":"1416837587","filename":"file2"},{"photo_id":"1416837591","filename":"file4"},{"photo_id":"1416837480","filename":"file1"},{"photo_id":"1416837479","filename":"file0"},{"photo_id":"1416837590","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416837634":["hashtag1","hashtag2"]},{"1416837591":["hashtag1","hashtag2"]},{"1416837480":["hashtag1","hashtag2"]},{"1416837590":["hashtag1","hashtag2"]},{"1416837479":["hashtag1","hashtag2"]},{"1416837587":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416837634, 1416837591, 1416837480, 1416837590, 1416837479, 1416837587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.856504678726196 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:04:03.409309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/01/image_07052026_01_01_36_30470.jpg', '/home/pi/Desktop/images/07052026/01/01/image_07052026_01_02_05_29388.jpg', '/home/pi/Desktop/images/07052026/01/02/image_07052026_01_02_35_30319.jpg', '/home/pi/Desktop/images/07052026/01/02/image_07052026_01_03_06_30349.jpg', '/home/pi/Desktop/images/07052026/01/04/image_07052026_01_04_36_30397.jpg', '/home/pi/Desktop/images/07052026/01/04/image_07052026_01_05_05_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
2026-05-11 10:04:03.399468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
/home/pi/Desktop/images/07052026/01/01/image_07052026_01_01_36_30470.jpg
 Upload medias :  ['/home/pi/Desktop/images/07052026/17/01/image_07052026_17_01_36_30159.jpg', '/home/pi/Desktop/images/07052026/17/00/image_07052026_17_00_35_30358.jpg', '/home/pi/Desktop/images/07052026/16/59/image_07052026_17_00_05_29267.jpg', '/home/pi/Desktop/images/07052026/16/59/image_07052026_16_59_36_30202.jpg', '/home/pi/Desktop/images/07052026/16/56/image_07052026_16_57_05_30182.jpg', '/home/pi/Desktop/images/07052026/16/56/image_07052026_16_56_35_30218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/17/01/image_07052026_17_01_36_30159.jpg
/home/pi/Desktop/images/07052026/01/01/image_07052026_01_02_05_29388.jpg
/home/pi/Desktop/images/07052026/01/02/image_07052026_01_02_35_30319.jpg
/home/pi/Desktop/images/07052026/17/00/image_07052026_17_00_35_30358.jpg
/home/pi/Desktop/images/07052026/01/02/image_07052026_01_03_06_30349.jpg
/home/pi/Desktop/images/07052026/16/59/image_07052026_17_00_05_29267.jpg
/home/pi/Desktop/images/07052026/01/04/image_07052026_01_04_36_30397.jpg
/home/pi/Desktop/images/07052026/16/59/image_07052026_16_59_36_30202.jpg
/home/pi/Desktop/images/07052026/01/04/image_07052026_01_05_05_29273.jpg
/home/pi/Desktop/images/07052026/16/56/image_07052026_16_57_05_30182.jpg
/home/pi/Desktop/images/07052026/16/56/image_07052026_16_56_35_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837688","1416837690","1416837680","1416837683","1416837677","1416837686"],"photo_ids_order":["1416837677","1416837680","1416837683","1416837686","1416837688","1416837690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a9b7f10bb93662ba5322d884ea0f6e6.jpg","text":"TemporaryFile(/tmp/multipartBody7921546567199709137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_04_36_30397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c6f830541a89afe2eecceddf60db205.jpg","text":"TemporaryFile(/tmp/multipartBody5579873256506691738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_05_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6d1d2f6f7c0743cfcc9f2f81f950c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6335522469373344170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_02_05_29388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5ec715fad8eaf35ede5d43b60a4e23d.jpg","text":"TemporaryFile(/tmp/multipartBody7549094417820950531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_02_35_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e46410c519631ced6da7fe76a7c91148.jpg","text":"TemporaryFile(/tmp/multipartBody1900948041354539925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_01_36_30470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d020845126be8de9466dd2d79f12b01b.jpg","text":"TemporaryFile(/tmp/multipartBody2015227834303599073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486709598,"filename":"image_07052026_01_03_06_30349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416837683","file1":"1416837680","file0":"1416837677","file4":"1416837688","file5":"1416837690","file3":"1416837686"},"map_files_photo_id_array":[{"photo_id":"1416837690","filename":"file5"},{"photo_id":"1416837683","filename":"file2"},{"photo_id":"1416837688","filename":"file4"},{"photo_id":"1416837680","filename":"file1"},{"photo_id":"1416837677","filename":"file0"},{"photo_id":"1416837686","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416837688":["hashtag1","hashtag2"]},{"1416837690":["hashtag1","hashtag2"]},{"1416837680":["hashtag1","hashtag2"]},{"1416837683":["hashtag1","hashtag2"]},{"1416837677":["hashtag1","hashtag2"]},{"1416837686":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416837688, 1416837690, 1416837680, 1416837683, 1416837677, 1416837686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.882097482681274 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837685","1416837679","1416837682","1416837676","1416837692","1416837689"],"photo_ids_order":["1416837676","1416837679","1416837682","1416837685","1416837689","1416837692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a7e055cbe5eebd5351b623275269610.jpg","text":"TemporaryFile(/tmp/multipartBody1966897442242961301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_16_59_36_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e44a6dccd2ddfcb654071f2639a0728.jpg","text":"TemporaryFile(/tmp/multipartBody8981859350109464838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_17_00_35_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65f2d9b5e79e055136e7ab2a9556f79d.jpg","text":"TemporaryFile(/tmp/multipartBody9032135812452054071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_17_00_05_29267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f56953e062fe4a1104aa98b76cb5128b.jpg","text":"TemporaryFile(/tmp/multipartBody2112313843188869433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_17_01_36_30159.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/911f9fdd5537a252c20731ff4cd78028.jpg","text":"TemporaryFile(/tmp/multipartBody1100521807743572655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_16_56_35_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/096b1336d7b86ade6695dffc068936ae.jpg","text":"TemporaryFile(/tmp/multipartBody2134438986396060282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486708879,"filename":"image_07052026_16_57_05_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416837682","file1":"1416837679","file0":"1416837676","file4":"1416837689","file5":"1416837692","file3":"1416837685"},"map_files_photo_id_array":[{"photo_id":"1416837692","filename":"file5"},{"photo_id":"1416837682","filename":"file2"},{"photo_id":"1416837689","filename":"file4"},{"photo_id":"1416837679","filename":"file1"},{"photo_id":"1416837676","filename":"file0"},{"photo_id":"1416837685","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416837685":["hashtag1","hashtag2"]},{"1416837679":["hashtag1","hashtag2"]},{"1416837682":["hashtag1","hashtag2"]},{"1416837676":["hashtag1","hashtag2"]},{"1416837692":["hashtag1","hashtag2"]},{"1416837689":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416837685, 1416837679, 1416837682, 1416837676, 1416837692, 1416837689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.34837055206299 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:05:03.760478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/04/image_11052026_10_04_44_30203.jpg', '/home/pi/Desktop/images/11052026/09/54/image_11052026_09_54_44_30351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/04/image_11052026_10_04_44_30203.jpg
/home/pi/Desktop/images/11052026/09/54/image_11052026_09_54_44_30351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837700","1416837699"],"photo_ids_order":["1416837699","1416837700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80d8afca1d2bf601775edfcc9691294f.jpg","text":"TemporaryFile(/tmp/multipartBody6518966836496525421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486765342,"filename":"image_11052026_09_54_44_30351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f480e0646f28a960577fe3636db4bf7.jpg","text":"TemporaryFile(/tmp/multipartBody8550738920725613016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486765342,"filename":"image_11052026_10_04_44_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416837700","file0":"1416837699"},"map_files_photo_id_array":[{"photo_id":"1416837700","filename":"file1"},{"photo_id":"1416837699","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416837700":["hashtag1","hashtag2"]},{"1416837699":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416837700, 1416837699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.67043113708496 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:06:02.859695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/54/image_07052026_16_54_35_30219.jpg', '/home/pi/Desktop/images/07052026/16/53/image_07052026_16_54_05_30282.jpg', '/home/pi/Desktop/images/07052026/16/52/image_07052026_16_53_06_30238.jpg', '/home/pi/Desktop/images/07052026/16/52/image_07052026_16_52_35_30231.jpg', '/home/pi/Desktop/images/07052026/16/51/image_07052026_16_52_05_30255.jpg', '/home/pi/Desktop/images/07052026/16/51/image_07052026_16_51_35_29166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/54/image_07052026_16_54_35_30219.jpg
/home/pi/Desktop/images/07052026/16/53/image_07052026_16_54_05_30282.jpg
/home/pi/Desktop/images/07052026/16/52/image_07052026_16_53_06_30238.jpg
/home/pi/Desktop/images/07052026/16/52/image_07052026_16_52_35_30231.jpg
/home/pi/Desktop/images/07052026/16/51/image_07052026_16_52_05_30255.jpg
/home/pi/Desktop/images/07052026/16/51/image_07052026_16_51_35_29166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837713","1416837707","1416837703","1416837709","1416837711","1416837705"],"photo_ids_order":["1416837703","1416837705","1416837707","1416837709","1416837711","1416837713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b880283a2b7cb36eb7f12638c52ac176.jpg","text":"TemporaryFile(/tmp/multipartBody611309256336646931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_51_35_29166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f2e4b4cf631428591df12921e3fa172.jpg","text":"TemporaryFile(/tmp/multipartBody6319102738124974176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_53_06_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe725c1f399e6618036e4fade9b0f33f.jpg","text":"TemporaryFile(/tmp/multipartBody6404037664774364496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_54_35_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3102ff152843fb908159a2aafcf379a9.jpg","text":"TemporaryFile(/tmp/multipartBody6395867386392354670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_52_35_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f7cb1907cc5cd99ea939a7bd397c859.jpg","text":"TemporaryFile(/tmp/multipartBody6760874240255661760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_52_05_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23696399981d944f77070d9baceddd11.jpg","text":"TemporaryFile(/tmp/multipartBody4107110575671711507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486826270,"filename":"image_07052026_16_54_05_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416837707","file1":"1416837705","file0":"1416837703","file4":"1416837711","file5":"1416837713","file3":"1416837709"},"map_files_photo_id_array":[{"photo_id":"1416837713","filename":"file5"},{"photo_id":"1416837707","filename":"file2"},{"photo_id":"1416837711","filename":"file4"},{"photo_id":"1416837705","filename":"file1"},{"photo_id":"1416837703","filename":"file0"},{"photo_id":"1416837709","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416837713":["hashtag1","hashtag2"]},{"1416837707":["hashtag1","hashtag2"]},{"1416837703":["hashtag1","hashtag2"]},{"1416837709":["hashtag1","hashtag2"]},{"1416837711":["hashtag1","hashtag2"]},{"1416837705":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416837713, 1416837707, 1416837703, 1416837709, 1416837711, 1416837705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.132771015167236 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:07:04.095854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/05/image_11052026_10_06_14_30113.jpg', '/home/pi/Desktop/images/11052026/10/04/image_11052026_10_05_14_30243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/05/image_11052026_10_06_14_30113.jpg
/home/pi/Desktop/images/11052026/10/04/image_11052026_10_05_14_30243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837716","1416837715"],"photo_ids_order":["1416837715","1416837716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8c09e6ee7dde686c86d3f86d8e31342.jpg","text":"TemporaryFile(/tmp/multipartBody4574002019280268926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486885715,"filename":"image_11052026_10_05_14_30243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b1c54ca8c5c9f85a5f2f3829b318f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody4758322186512866036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486885715,"filename":"image_11052026_10_06_14_30113.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416837716","file0":"1416837715"},"map_files_photo_id_array":[{"photo_id":"1416837716","filename":"file1"},{"photo_id":"1416837715","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416837716":["hashtag1","hashtag2"]},{"1416837715":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416837716, 1416837715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.455830812454224 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:08:03.731133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/07/image_11052026_10_08_14_30150.jpg', '/home/pi/Desktop/images/11052026/10/06/image_11052026_10_07_14_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/07/image_11052026_10_08_14_30150.jpg
/home/pi/Desktop/images/11052026/10/06/image_11052026_10_07_14_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837718","1416837720"],"photo_ids_order":["1416837718","1416837720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c47c1276b576350e734fc3e00f77f25.jpg","text":"TemporaryFile(/tmp/multipartBody8083452319877954781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486945633,"filename":"image_11052026_10_08_14_30150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6737add5cf26e79bfec1193b313c827.jpg","text":"TemporaryFile(/tmp/multipartBody9130071658005010345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778486945633,"filename":"image_11052026_10_07_14_30251.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416837720","file0":"1416837718"},"map_files_photo_id_array":[{"photo_id":"1416837720","filename":"file1"},{"photo_id":"1416837718","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416837718":["hashtag1","hashtag2"]},{"1416837720":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416837718, 1416837720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.853984117507935 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:09:04.029872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/08/image_11052026_10_08_44_30192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/08/image_11052026_10_08_44_30192.jpg
2026-05-11 10:09:04.216205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/08/image_11052026_10_08_44_30192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/08/image_11052026_10_08_44_30192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837727"],"photo_id":"1416837727","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77acbc71e4216fa3d8413866ece0916c.jpg","text":"TemporaryFile(/tmp/multipartBody3836985411196656659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487005496,"filename":"image_11052026_10_08_44_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416837727"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416837727"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.429750204086304 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837728"],"photo_id":"1416837728","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ca64e601c66f338a7091b644919fd73.jpg","text":"TemporaryFile(/tmp/multipartBody7700295261212744458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487006549,"filename":"image_11052026_10_08_44_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416837728"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416837728"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.333739757537842 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:10:03.697184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/09/image_11052026_10_10_14_30187.jpg', '/home/pi/Desktop/images/11052026/10/09/image_11052026_10_09_44_30218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/09/image_11052026_10_10_14_30187.jpg
/home/pi/Desktop/images/11052026/10/09/image_11052026_10_09_44_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837732","1416837731"],"photo_ids_order":["1416837731","1416837732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8925241dd52ebf1a6bb88bb029928054.jpg","text":"TemporaryFile(/tmp/multipartBody8367326411435642267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487065796,"filename":"image_11052026_10_09_44_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ea13dc411be958d7b9cf8a5b7b87585.jpg","text":"TemporaryFile(/tmp/multipartBody7380710205464490572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487065796,"filename":"image_11052026_10_10_14_30187.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416837732","file0":"1416837731"},"map_files_photo_id_array":[{"photo_id":"1416837732","filename":"file1"},{"photo_id":"1416837731","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416837732":["hashtag1","hashtag2"]},{"1416837731":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416837732, 1416837731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.77597165107727 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:11:03.498831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/50/image_07052026_16_51_06_30292.jpg', '/home/pi/Desktop/images/07052026/16/50/image_07052026_16_50_35_30249.jpg', '/home/pi/Desktop/images/07052026/16/49/image_07052026_16_50_05_30366.jpg', '/home/pi/Desktop/images/07052026/16/49/image_07052026_16_49_35_29240.jpg', '/home/pi/Desktop/images/07052026/16/48/image_07052026_16_48_35_30310.jpg', '/home/pi/Desktop/images/07052026/16/47/image_07052026_16_48_05_29280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/50/image_07052026_16_51_06_30292.jpg
/home/pi/Desktop/images/07052026/16/50/image_07052026_16_50_35_30249.jpg
/home/pi/Desktop/images/07052026/16/49/image_07052026_16_50_05_30366.jpg
/home/pi/Desktop/images/07052026/16/49/image_07052026_16_49_35_29240.jpg
/home/pi/Desktop/images/07052026/16/48/image_07052026_16_48_35_30310.jpg
/home/pi/Desktop/images/07052026/16/47/image_07052026_16_48_05_29280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416837748","1416837750","1416837744","1416837741","1416837743","1416837746"],"photo_ids_order":["1416837741","1416837743","1416837744","1416837746","1416837748","1416837750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/857aa1d84e61c5cd4c76a5f7c4341bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8678933138122465460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_48_35_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6df53c5c4e2ddab0c1b5f7cdffa3ac85.jpg","text":"TemporaryFile(/tmp/multipartBody6455024240242186720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_48_05_29280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95fb9879df46b76be7552d6c0dc90e03.jpg","text":"TemporaryFile(/tmp/multipartBody241422969126405246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_50_05_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9ce9d797972af56be4ea7c4bf64a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8691454879349875440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_51_06_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/688ad6ccb4c7062d34ae104cbf98b7b0.jpg","text":"TemporaryFile(/tmp/multipartBody2203324084059687337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_50_35_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f30e4b4f4e240614e43e1e1120b6f10e.jpg","text":"TemporaryFile(/tmp/multipartBody2175828264667502530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487127107,"filename":"image_07052026_16_49_35_29240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416837744","file1":"1416837743","file0":"1416837741","file4":"1416837748","file5":"1416837750","file3":"1416837746"},"map_files_photo_id_array":[{"photo_id":"1416837750","filename":"file5"},{"photo_id":"1416837744","filename":"file2"},{"photo_id":"1416837748","filename":"file4"},{"photo_id":"1416837743","filename":"file1"},{"photo_id":"1416837741","filename":"file0"},{"photo_id":"1416837746","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416837748":["hashtag1","hashtag2"]},{"1416837750":["hashtag1","hashtag2"]},{"1416837744":["hashtag1","hashtag2"]},{"1416837741":["hashtag1","hashtag2"]},{"1416837743":["hashtag1","hashtag2"]},{"1416837746":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416837748, 1416837750, 1416837744, 1416837741, 1416837743, 1416837746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90115928649902 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:12:03.131618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/10/image_11052026_10_11_14_30156.jpg', '/home/pi/Desktop/images/11052026/10/10/image_11052026_10_10_44_30128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/10/image_11052026_10_11_14_30156.jpg
/home/pi/Desktop/images/11052026/10/10/image_11052026_10_10_44_30128.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416838704","1416838706"],"photo_ids_order":["1416838704","1416838706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/865afe062180229a97de525a097956e9.jpg","text":"TemporaryFile(/tmp/multipartBody598409153781746637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487185091,"filename":"image_11052026_10_11_14_30156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f474a2dde452ed96f8e09ee307fcd792.jpg","text":"TemporaryFile(/tmp/multipartBody8341474190783471118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487185091,"filename":"image_11052026_10_10_44_30128.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416838706","file0":"1416838704"},"map_files_photo_id_array":[{"photo_id":"1416838706","filename":"file1"},{"photo_id":"1416838704","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416838704":["hashtag1","hashtag2"]},{"1416838706":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416838704, 1416838706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.565882205963135 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:13:04.206504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/11/image_11052026_10_12_13_29098.jpg', '/home/pi/Desktop/images/11052026/10/11/image_11052026_10_11_44_30263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/11/image_11052026_10_12_13_29098.jpg
/home/pi/Desktop/images/11052026/10/11/image_11052026_10_11_44_30263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416838862","1416838712"],"photo_ids_order":["1416838712","1416838862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e3efe4d6d1d1e64c8283f4bee7813ca.jpg","text":"TemporaryFile(/tmp/multipartBody8810198455656979333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487245641,"filename":"image_11052026_10_11_44_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33a09673469d9810a6804032cdbd5881.jpg","text":"TemporaryFile(/tmp/multipartBody6637594909078754471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487245641,"filename":"image_11052026_10_12_13_29098.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416838862","file0":"1416838712"},"map_files_photo_id_array":[{"photo_id":"1416838862","filename":"file1"},{"photo_id":"1416838712","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416838862":["hashtag1","hashtag2"]},{"1416838712":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416838862, 1416838712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.10803198814392 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:14:02.916963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/12/image_11052026_10_12_44_30285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/12/image_11052026_10_12_44_30285.jpg
2026-05-11 10:14:03.213613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/12/image_11052026_10_12_44_30285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/12/image_11052026_10_12_44_30285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416839173"],"photo_id":"1416839173","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8886dba3abc54eb714772ec4697c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5857997909581567900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487303970,"filename":"image_11052026_10_12_44_30285.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416839173"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416839173"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416839174"],"photo_id":"1416839174","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44c897388485f71c591b255737f8a955.jpg","text":"TemporaryFile(/tmp/multipartBody9022677549563488689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487304204,"filename":"image_11052026_10_12_44_30285.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416839174"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416839174"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.674196004867554 secondes ---
uploaded 1 photos
time to upload: 15.495964527130127 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:15:03.660325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/47/image_07052026_16_47_36_30337.jpg', '/home/pi/Desktop/images/07052026/16/46/image_07052026_16_47_05_30200.jpg', '/home/pi/Desktop/images/07052026/16/46/image_07052026_16_46_35_30238.jpg', '/home/pi/Desktop/images/07052026/16/45/image_07052026_16_46_05_29190.jpg', '/home/pi/Desktop/images/07052026/16/45/image_07052026_16_45_36_30286.jpg', '/home/pi/Desktop/images/07052026/16/44/image_07052026_16_45_05_30342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/47/image_07052026_16_47_36_30337.jpg
/home/pi/Desktop/images/07052026/16/46/image_07052026_16_47_05_30200.jpg
/home/pi/Desktop/images/07052026/16/46/image_07052026_16_46_35_30238.jpg
/home/pi/Desktop/images/07052026/16/45/image_07052026_16_46_05_29190.jpg
/home/pi/Desktop/images/07052026/16/45/image_07052026_16_45_36_30286.jpg
/home/pi/Desktop/images/07052026/16/44/image_07052026_16_45_05_30342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416839184","1416839187","1416839183","1416839186","1416839185","1416839188"],"photo_ids_order":["1416839183","1416839184","1416839185","1416839186","1416839187","1416839188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3e44117f9ac97f530e3d5432fe537b7.jpg","text":"TemporaryFile(/tmp/multipartBody2258177755952339217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_47_05_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2776bca2f979263d5fa9aeed13c74ec2.jpg","text":"TemporaryFile(/tmp/multipartBody609753114365055284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_45_36_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c081593e98546dd63fcb0f45849bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7009053538725650866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_47_36_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce972ac0f05353e6c11b46a0a0e5292f.jpg","text":"TemporaryFile(/tmp/multipartBody6685741357019754066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_46_05_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26ea75035bc19b7edb750d4b45f72932.jpg","text":"TemporaryFile(/tmp/multipartBody7731550527055739664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_46_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0993e1a28564b72a138d713de227c334.jpg","text":"TemporaryFile(/tmp/multipartBody6001690063292407083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487365840,"filename":"image_07052026_16_45_05_30342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416839185","file1":"1416839184","file0":"1416839183","file4":"1416839187","file5":"1416839188","file3":"1416839186"},"map_files_photo_id_array":[{"photo_id":"1416839188","filename":"file5"},{"photo_id":"1416839185","filename":"file2"},{"photo_id":"1416839187","filename":"file4"},{"photo_id":"1416839184","filename":"file1"},{"photo_id":"1416839183","filename":"file0"},{"photo_id":"1416839186","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416839184":["hashtag1","hashtag2"]},{"1416839187":["hashtag1","hashtag2"]},{"1416839183":["hashtag1","hashtag2"]},{"1416839186":["hashtag1","hashtag2"]},{"1416839185":["hashtag1","hashtag2"]},{"1416839188":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416839184, 1416839187, 1416839183, 1416839186, 1416839185, 1416839188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61658239364624 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:16:03.389096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/44/image_07052026_16_44_35_30309.jpg', '/home/pi/Desktop/images/07052026/16/43/image_07052026_16_44_05_29293.jpg', '/home/pi/Desktop/images/07052026/16/43/image_07052026_16_43_36_30250.jpg', '/home/pi/Desktop/images/07052026/16/42/image_07052026_16_43_05_30264.jpg', '/home/pi/Desktop/images/07052026/16/42/image_07052026_16_42_35_29268.jpg', '/home/pi/Desktop/images/07052026/16/41/image_07052026_16_42_06_30270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/44/image_07052026_16_44_35_30309.jpg
/home/pi/Desktop/images/07052026/16/43/image_07052026_16_44_05_29293.jpg
/home/pi/Desktop/images/07052026/16/43/image_07052026_16_43_36_30250.jpg
/home/pi/Desktop/images/07052026/16/42/image_07052026_16_43_05_30264.jpg
/home/pi/Desktop/images/07052026/16/42/image_07052026_16_42_35_29268.jpg
/home/pi/Desktop/images/07052026/16/41/image_07052026_16_42_06_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416840265","1416839979","1416840267","1416839981","1416840269","1416839983"],"photo_ids_order":["1416839979","1416839981","1416839983","1416840265","1416840267","1416840269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe9c615c2bb729aff3460031f5298610.jpg","text":"TemporaryFile(/tmp/multipartBody1198241729733567745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_43_05_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50d9d670f10e8039e711728db814c62e.jpg","text":"TemporaryFile(/tmp/multipartBody4578687165441394327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_44_35_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9993ea43327639e6bf11de2d491dc62d.jpg","text":"TemporaryFile(/tmp/multipartBody4166867880480648334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_42_35_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4600cca53bd5dcaeffea1ee653dbb9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3031378999789380583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_44_05_29293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b61d710193e88ec1a3d2d536c6773a7.jpg","text":"TemporaryFile(/tmp/multipartBody4220079739051380350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_42_06_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b22b5638d073de9a19bf79b15bcbf916.jpg","text":"TemporaryFile(/tmp/multipartBody6711449645895916014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487425526,"filename":"image_07052026_16_43_36_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416839983","file1":"1416839981","file0":"1416839979","file4":"1416840267","file5":"1416840269","file3":"1416840265"},"map_files_photo_id_array":[{"photo_id":"1416840269","filename":"file5"},{"photo_id":"1416839983","filename":"file2"},{"photo_id":"1416840267","filename":"file4"},{"photo_id":"1416839981","filename":"file1"},{"photo_id":"1416839979","filename":"file0"},{"photo_id":"1416840265","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416840265":["hashtag1","hashtag2"]},{"1416839979":["hashtag1","hashtag2"]},{"1416840267":["hashtag1","hashtag2"]},{"1416839981":["hashtag1","hashtag2"]},{"1416840269":["hashtag1","hashtag2"]},{"1416839983":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416840265, 1416839979, 1416840267, 1416839981, 1416840269, 1416839983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.056780099868774 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:17:03.868561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/13/image_11052026_10_13_44_30113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/13/image_11052026_10_13_44_30113.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6420936584472656 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:18:03.086765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/13/image_11052026_10_13_44_30113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/13/image_11052026_10_13_44_30113.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416840662"],"photo_id":"1416840662","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b37600eafcd943d5b9f569caf2f10be.jpg","text":"TemporaryFile(/tmp/multipartBody2455322241426646507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487544046,"filename":"image_11052026_10_13_44_30113.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416840662"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416840662"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.521069526672363 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:19:04.552323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/16/image_11052026_10_16_44_30145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/16/image_11052026_10_16_44_30145.jpg
2026-05-11 10:19:04.600340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/16/image_11052026_10_16_44_30145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/16/image_11052026_10_16_44_30145.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7059116363525391 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416840669"],"photo_id":"1416840669","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b239cb3ac04b350ccd00e75c5515c376.jpg","text":"TemporaryFile(/tmp/multipartBody881447947009731496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487605687,"filename":"image_11052026_10_16_44_30145.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416840669"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416840669"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.179632425308228 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:20:03.290813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/18/image_11052026_10_19_14_30058.jpg', '/home/pi/Desktop/images/11052026/10/17/image_11052026_10_18_14_30034.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/18/image_11052026_10_19_14_30058.jpg
/home/pi/Desktop/images/11052026/10/17/image_11052026_10_18_14_30034.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416840671","1416840673"],"photo_ids_order":["1416840671","1416840673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6896e34347ed0a31976d9b86aa26b5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8102600277836646865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487664495,"filename":"image_11052026_10_19_14_30058.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e45e793b63136d9003c09ab041204917.jpg","text":"TemporaryFile(/tmp/multipartBody8191645178492036406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487664495,"filename":"image_11052026_10_18_14_30034.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416840673","file0":"1416840671"},"map_files_photo_id_array":[{"photo_id":"1416840673","filename":"file1"},{"photo_id":"1416840671","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416840671":["hashtag1","hashtag2"]},{"1416840673":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416840671, 1416840673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.163873195648193 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:21:03.432704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/19/image_11052026_10_20_14_30017.jpg', '/home/pi/Desktop/images/11052026/10/19/image_11052026_10_19_44_29152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/19/image_11052026_10_20_14_30017.jpg
/home/pi/Desktop/images/11052026/10/19/image_11052026_10_19_44_29152.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7915816307067871 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:22:03.593823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/19/image_11052026_10_20_14_30017.jpg', '/home/pi/Desktop/images/11052026/10/19/image_11052026_10_19_44_29152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/19/image_11052026_10_20_14_30017.jpg
/home/pi/Desktop/images/11052026/10/19/image_11052026_10_19_44_29152.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841047","1416841048"],"photo_ids_order":["1416841047","1416841048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c1664f4782ff84ba204d8a83613f13a.jpg","text":"TemporaryFile(/tmp/multipartBody3666749363506710197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487784775,"filename":"image_11052026_10_20_14_30017.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8c5616326c440d80da59597286abfa3.jpg","text":"TemporaryFile(/tmp/multipartBody6847113489482198845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487784775,"filename":"image_11052026_10_19_44_29152.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416841048","file0":"1416841047"},"map_files_photo_id_array":[{"photo_id":"1416841048","filename":"file1"},{"photo_id":"1416841047","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841047":["hashtag1","hashtag2"]},{"1416841048":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841047, 1416841048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.257086753845215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:23:03.545258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg', '/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg
/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8415658473968506 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:24:03.314069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/22/image_11052026_10_22_44_30244.jpg', '/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg', '/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/22/image_11052026_10_22_44_30244.jpg
/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg
/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.jpg
2026-05-11 10:24:03.336847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.jpg', '/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg', '/home/pi/Desktop/images/11052026/10/22/image_11052026_10_22_44_30244.jpg', '/home/pi/Desktop/images/11052026/10/22/image_11052026_10_23_14_29142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/20/image_11052026_10_20_44_30170.jpg
/home/pi/Desktop/images/11052026/10/21/image_11052026_10_22_14_30147.jpg
/home/pi/Desktop/images/11052026/10/22/image_11052026_10_22_44_30244.jpg
/home/pi/Desktop/images/11052026/10/22/image_11052026_10_23_14_29142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841062","1416841058","1416841054"],"photo_ids_order":["1416841054","1416841058","1416841062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7008fd018cf3386c9497ff1408a7e5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7424207283776664448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487904785,"filename":"image_11052026_10_20_44_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54cb79f4e9d13bb2c1909db9718f6047.jpg","text":"TemporaryFile(/tmp/multipartBody3366248771318190252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487904785,"filename":"image_11052026_10_22_14_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ded7e642454fd355cf75d2996a235d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3554181081651177315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487904785,"filename":"image_11052026_10_22_44_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841062","file1":"1416841058","file0":"1416841054"},"map_files_photo_id_array":[{"photo_id":"1416841062","filename":"file2"},{"photo_id":"1416841058","filename":"file1"},{"photo_id":"1416841054","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841062":["hashtag1","hashtag2"]},{"1416841058":["hashtag1","hashtag2"]},{"1416841054":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841062, 1416841058, 1416841054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.98902153968811 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841059","1416841055","1416841063","1416841066"],"photo_ids_order":["1416841055","1416841059","1416841063","1416841066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9dbebf744ea0da8a730384123f540c4.jpg","text":"TemporaryFile(/tmp/multipartBody548819758038247624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487905086,"filename":"image_11052026_10_22_14_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f9fca0cda20badff63d5d1b0204d72c.jpg","text":"TemporaryFile(/tmp/multipartBody7384624151563527357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487905086,"filename":"image_11052026_10_20_44_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c8006a406fe3287596b756026fb7e21.jpg","text":"TemporaryFile(/tmp/multipartBody5896462127757416101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487905086,"filename":"image_11052026_10_22_44_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccc772bf3239ce3e106d120463f4ef61.jpg","text":"TemporaryFile(/tmp/multipartBody3839755592552460162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778487905086,"filename":"image_11052026_10_23_14_29142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841063","file1":"1416841059","file0":"1416841055","file3":"1416841066"},"map_files_photo_id_array":[{"photo_id":"1416841063","filename":"file2"},{"photo_id":"1416841059","filename":"file1"},{"photo_id":"1416841055","filename":"file0"},{"photo_id":"1416841066","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841059":["hashtag1","hashtag2"]},{"1416841055":["hashtag1","hashtag2"]},{"1416841063":["hashtag1","hashtag2"]},{"1416841066":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841059, 1416841055, 1416841063, 1416841066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.212629318237305 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:25:03.459291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/24/image_11052026_10_25_14_30118.jpg', '/home/pi/Desktop/images/11052026/10/23/image_11052026_10_24_14_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/24/image_11052026_10_25_14_30118.jpg
/home/pi/Desktop/images/11052026/10/23/image_11052026_10_24_14_30242.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7443704605102539 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:26:03.687605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/24/image_11052026_10_25_14_30118.jpg', '/home/pi/Desktop/images/11052026/10/23/image_11052026_10_24_14_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/24/image_11052026_10_25_14_30118.jpg
/home/pi/Desktop/images/11052026/10/23/image_11052026_10_24_14_30242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841080","1416841079"],"photo_ids_order":["1416841079","1416841080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d62dd658dd7eeb1f77833aee838fd32d.jpg","text":"TemporaryFile(/tmp/multipartBody6295417356033926621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488024838,"filename":"image_11052026_10_24_14_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/424d6b179c9dc98d31df65ecd21e8b57.jpg","text":"TemporaryFile(/tmp/multipartBody8337505205742345938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488024838,"filename":"image_11052026_10_25_14_30118.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416841080","file0":"1416841079"},"map_files_photo_id_array":[{"photo_id":"1416841080","filename":"file1"},{"photo_id":"1416841079","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841080":["hashtag1","hashtag2"]},{"1416841079":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841080, 1416841079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.60195302963257 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:27:03.627545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/25/image_11052026_10_26_14_30001.jpg', '/home/pi/Desktop/images/11052026/10/25/image_11052026_10_25_44_30120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/25/image_11052026_10_26_14_30001.jpg
/home/pi/Desktop/images/11052026/10/25/image_11052026_10_25_44_30120.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8983597755432129 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:28:03.424033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/27/image_11052026_10_28_14_30152.jpg', '/home/pi/Desktop/images/11052026/10/27/image_11052026_10_27_44_30113.jpg', '/home/pi/Desktop/images/11052026/10/26/image_11052026_10_26_44_29140.jpg', '/home/pi/Desktop/images/11052026/10/25/image_11052026_10_26_14_30001.jpg', '/home/pi/Desktop/images/11052026/10/25/image_11052026_10_25_44_30120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/27/image_11052026_10_28_14_30152.jpg
/home/pi/Desktop/images/11052026/10/27/image_11052026_10_27_44_30113.jpg
/home/pi/Desktop/images/11052026/10/26/image_11052026_10_26_44_29140.jpg
/home/pi/Desktop/images/11052026/10/25/image_11052026_10_26_14_30001.jpg
/home/pi/Desktop/images/11052026/10/25/image_11052026_10_25_44_30120.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841656","1416841650","1416841652","1416841654","1416841648"],"photo_ids_order":["1416841648","1416841650","1416841652","1416841654","1416841656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5751403f727b33faae7e378a68a86864.jpg","text":"TemporaryFile(/tmp/multipartBody2292009774792253396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488144831,"filename":"image_11052026_10_25_44_30120.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86c3e4217deb7c578ac8317042404f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5703643711618677651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488144831,"filename":"image_11052026_10_27_44_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc42bf260393092535a02b49a3397846.jpg","text":"TemporaryFile(/tmp/multipartBody4585591046279923319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488144831,"filename":"image_11052026_10_26_44_29140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6cf60e54d6611ce35b570efa4269390f.jpg","text":"TemporaryFile(/tmp/multipartBody4644784976458194166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488144831,"filename":"image_11052026_10_26_14_30001.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d140e6b967899948fac42d9df2feddd7.jpg","text":"TemporaryFile(/tmp/multipartBody1585371732310038191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488144831,"filename":"image_11052026_10_28_14_30152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841652","file1":"1416841650","file0":"1416841648","file4":"1416841656","file3":"1416841654"},"map_files_photo_id_array":[{"photo_id":"1416841652","filename":"file2"},{"photo_id":"1416841656","filename":"file4"},{"photo_id":"1416841650","filename":"file1"},{"photo_id":"1416841648","filename":"file0"},{"photo_id":"1416841654","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841656":["hashtag1","hashtag2"]},{"1416841650":["hashtag1","hashtag2"]},{"1416841652":["hashtag1","hashtag2"]},{"1416841654":["hashtag1","hashtag2"]},{"1416841648":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841656, 1416841650, 1416841652, 1416841654, 1416841648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.47290349006653 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:29:03.937622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/28/image_11052026_10_28_44_30086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/28/image_11052026_10_28_44_30086.jpg
2026-05-11 10:29:03.833631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/41/image_07052026_16_41_35_30294.jpg', '/home/pi/Desktop/images/07052026/16/40/image_07052026_16_41_05_30216.jpg', '/home/pi/Desktop/images/07052026/16/40/image_07052026_16_40_35_29182.jpg', '/home/pi/Desktop/images/07052026/16/39/image_07052026_16_40_06_30180.jpg', '/home/pi/Desktop/images/07052026/16/39/image_07052026_16_39_36_30321.jpg', '/home/pi/Desktop/images/07052026/16/38/image_07052026_16_38_35_29183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/41/image_07052026_16_41_35_30294.jpg
/home/pi/Desktop/images/07052026/16/40/image_07052026_16_41_05_30216.jpg
/home/pi/Desktop/images/07052026/16/40/image_07052026_16_40_35_29182.jpg
/home/pi/Desktop/images/07052026/16/39/image_07052026_16_40_06_30180.jpg
/home/pi/Desktop/images/07052026/16/39/image_07052026_16_39_36_30321.jpg
/home/pi/Desktop/images/07052026/16/38/image_07052026_16_38_35_29183.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841851"],"photo_id":"1416841851","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15c6749ccdb290119878f10f208c72e3.jpg","text":"TemporaryFile(/tmp/multipartBody6653986067714773183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488204939,"filename":"image_11052026_10_28_44_30086.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416841851"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416841851"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.175724744796753 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841854","1416841863","1416841857","1416841859","1416841861","1416841852"],"photo_ids_order":["1416841852","1416841854","1416841857","1416841859","1416841861","1416841863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88d4e1df1eb5e6f6a5306942aa00db34.jpg","text":"TemporaryFile(/tmp/multipartBody2517390228879771202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_41_05_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbc82d0ea5a8be7392e0ee178f0bc0aa.jpg","text":"TemporaryFile(/tmp/multipartBody3633137437770767414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_38_35_29183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1461330c483e698baaa48171510e38f8.jpg","text":"TemporaryFile(/tmp/multipartBody77336391200835214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_40_35_29182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94072cd1155e624c528385fc1df84056.jpg","text":"TemporaryFile(/tmp/multipartBody5918624008317610780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_40_06_30180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c3a65e4ece78e2b8b9ec9f4c4412b09.jpg","text":"TemporaryFile(/tmp/multipartBody3348403829369803252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_39_36_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae25a7a08820943af372ab635a1c7d43.jpg","text":"TemporaryFile(/tmp/multipartBody3290008315797804922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488206217,"filename":"image_07052026_16_41_35_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841857","file1":"1416841854","file0":"1416841852","file4":"1416841861","file5":"1416841863","file3":"1416841859"},"map_files_photo_id_array":[{"photo_id":"1416841863","filename":"file5"},{"photo_id":"1416841857","filename":"file2"},{"photo_id":"1416841861","filename":"file4"},{"photo_id":"1416841854","filename":"file1"},{"photo_id":"1416841852","filename":"file0"},{"photo_id":"1416841859","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416841854":["hashtag1","hashtag2"]},{"1416841863":["hashtag1","hashtag2"]},{"1416841857":["hashtag1","hashtag2"]},{"1416841859":["hashtag1","hashtag2"]},{"1416841861":["hashtag1","hashtag2"]},{"1416841852":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416841854, 1416841863, 1416841857, 1416841859, 1416841861, 1416841852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72469687461853 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:30:03.462136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/29/image_11052026_10_29_44_29138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/29/image_11052026_10_29_44_29138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841866"],"photo_id":"1416841866","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68e94f0e5bec71b13f0f2b108c1962f0.jpg","text":"TemporaryFile(/tmp/multipartBody272214295619688184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488264576,"filename":"image_11052026_10_29_44_29138.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416841866"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416841866"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.80478024482727 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:31:03.686023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/37/image_07052026_16_37_36_30234.jpg', '/home/pi/Desktop/images/07052026/16/36/image_07052026_16_37_05_30152.jpg', '/home/pi/Desktop/images/07052026/16/36/image_07052026_16_36_35_30200.jpg', '/home/pi/Desktop/images/07052026/16/35/image_07052026_16_36_05_29302.jpg', '/home/pi/Desktop/images/07052026/16/35/image_07052026_16_35_36_30323.jpg', '/home/pi/Desktop/images/07052026/16/34/image_07052026_16_35_05_30338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/37/image_07052026_16_37_36_30234.jpg
/home/pi/Desktop/images/07052026/16/36/image_07052026_16_37_05_30152.jpg
/home/pi/Desktop/images/07052026/16/36/image_07052026_16_36_35_30200.jpg
/home/pi/Desktop/images/07052026/16/35/image_07052026_16_36_05_29302.jpg
/home/pi/Desktop/images/07052026/16/35/image_07052026_16_35_36_30323.jpg
/home/pi/Desktop/images/07052026/16/34/image_07052026_16_35_05_30338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841884","1416841875","1416841878","1416841880","1416841882","1416841876"],"photo_ids_order":["1416841875","1416841876","1416841878","1416841880","1416841882","1416841884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7cce853df9ddc1fce9ab0d1aa9bb8d22.jpg","text":"TemporaryFile(/tmp/multipartBody4750686795604810128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_35_05_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84668afa4d65066bb7f21a7b065cf6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3455408726919446194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_37_36_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a733965120ab99eff38285d14e5d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7803362401589431442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_36_35_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dcc07de1cf9c875a806f4f8ca5f7930e.jpg","text":"TemporaryFile(/tmp/multipartBody1664203121872404280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_36_05_29302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85f4bd4181a3f78a3486b94dec86652b.jpg","text":"TemporaryFile(/tmp/multipartBody7064968734361152329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_35_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c33825c19535d8dd9c8e1d199065fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody9050975403278259913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488325805,"filename":"image_07052026_16_37_05_30152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841878","file1":"1416841876","file0":"1416841875","file4":"1416841882","file5":"1416841884","file3":"1416841880"},"map_files_photo_id_array":[{"photo_id":"1416841884","filename":"file5"},{"photo_id":"1416841878","filename":"file2"},{"photo_id":"1416841882","filename":"file4"},{"photo_id":"1416841876","filename":"file1"},{"photo_id":"1416841875","filename":"file0"},{"photo_id":"1416841880","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416841884":["hashtag1","hashtag2"]},{"1416841875":["hashtag1","hashtag2"]},{"1416841878":["hashtag1","hashtag2"]},{"1416841880":["hashtag1","hashtag2"]},{"1416841882":["hashtag1","hashtag2"]},{"1416841876":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416841884, 1416841875, 1416841878, 1416841880, 1416841882, 1416841876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.496071577072144 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:32:03.518891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/31/image_11052026_10_32_14_30061.jpg', '/home/pi/Desktop/images/11052026/10/31/image_11052026_10_31_43_29167.jpg', '/home/pi/Desktop/images/11052026/10/29/image_11052026_10_30_14_30295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/31/image_11052026_10_32_14_30061.jpg
/home/pi/Desktop/images/11052026/10/31/image_11052026_10_31_43_29167.jpg
/home/pi/Desktop/images/11052026/10/29/image_11052026_10_30_14_30295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841887","1416841886","1416841888"],"photo_ids_order":["1416841886","1416841887","1416841888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df9962c7671547c2cc4e3ee9e874a93b.jpg","text":"TemporaryFile(/tmp/multipartBody7391464140622201197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488384905,"filename":"image_11052026_10_31_43_29167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b945559a2940958d6891e790345672ec.jpg","text":"TemporaryFile(/tmp/multipartBody7040611884667976901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488384905,"filename":"image_11052026_10_32_14_30061.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37b6812ce3df0a6cfc47bac55e1cef54.jpg","text":"TemporaryFile(/tmp/multipartBody6388645563060733302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488384905,"filename":"image_11052026_10_30_14_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841888","file1":"1416841887","file0":"1416841886"},"map_files_photo_id_array":[{"photo_id":"1416841888","filename":"file2"},{"photo_id":"1416841887","filename":"file1"},{"photo_id":"1416841886","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841887":["hashtag1","hashtag2"]},{"1416841886":["hashtag1","hashtag2"]},{"1416841888":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841887, 1416841886, 1416841888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.893917560577393 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:33:03.255564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/34/image_07052026_16_34_35_29204.jpg', '/home/pi/Desktop/images/07052026/16/33/image_07052026_16_34_06_30243.jpg', '/home/pi/Desktop/images/07052026/16/33/image_07052026_16_33_36_30176.jpg', '/home/pi/Desktop/images/07052026/16/32/image_07052026_16_33_05_30162.jpg', '/home/pi/Desktop/images/07052026/16/31/image_07052026_16_32_05_29230.jpg', '/home/pi/Desktop/images/07052026/16/31/image_07052026_16_31_36_30284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/34/image_07052026_16_34_35_29204.jpg
/home/pi/Desktop/images/07052026/16/33/image_07052026_16_34_06_30243.jpg
/home/pi/Desktop/images/07052026/16/33/image_07052026_16_33_36_30176.jpg
/home/pi/Desktop/images/07052026/16/32/image_07052026_16_33_05_30162.jpg
/home/pi/Desktop/images/07052026/16/31/image_07052026_16_32_05_29230.jpg
/home/pi/Desktop/images/07052026/16/31/image_07052026_16_31_36_30284.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5924742221832275 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:34:02.985011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/32/image_11052026_10_33_14_30224.jpg', '/home/pi/Desktop/images/11052026/10/32/image_11052026_10_32_44_30156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/32/image_11052026_10_33_14_30224.jpg
/home/pi/Desktop/images/11052026/10/32/image_11052026_10_32_44_30156.jpg
2026-05-11 10:34:03.032465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/32/image_11052026_10_32_44_30156.jpg', '/home/pi/Desktop/images/11052026/10/32/image_11052026_10_33_14_30224.jpg', '/home/pi/Desktop/images/11052026/10/33/image_11052026_10_33_44_30201.jpg', '/home/pi/Desktop/images/11052026/10/33/image_11052026_10_34_14_30169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/32/image_11052026_10_32_44_30156.jpg
/home/pi/Desktop/images/11052026/10/32/image_11052026_10_33_14_30224.jpg
/home/pi/Desktop/images/11052026/10/33/image_11052026_10_33_44_30201.jpg
/home/pi/Desktop/images/11052026/10/33/image_11052026_10_34_14_30169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841902","1416841904"],"photo_ids_order":["1416841902","1416841904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6183fb72cb3af1f8aab24ba91a8ed7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7166703922439279126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504297,"filename":"image_11052026_10_33_14_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4bbc6f7997dae3156f2a69bf4ec7ba05.jpg","text":"TemporaryFile(/tmp/multipartBody6029180572013944863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504297,"filename":"image_11052026_10_32_44_30156.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416841904","file0":"1416841902"},"map_files_photo_id_array":[{"photo_id":"1416841904","filename":"file1"},{"photo_id":"1416841902","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841902":["hashtag1","hashtag2"]},{"1416841904":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841902, 1416841904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.185197591781616 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841903","1416841905","1416841907","1416841906"],"photo_ids_order":["1416841903","1416841905","1416841906","1416841907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e48521de1282108ab6484ba2a24c519c.jpg","text":"TemporaryFile(/tmp/multipartBody2999614410291480047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504617,"filename":"image_11052026_10_32_44_30156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c83f08386b115affc12a39810f880fd.jpg","text":"TemporaryFile(/tmp/multipartBody3313324482893455705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504617,"filename":"image_11052026_10_33_14_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/529247a8fcb3ccbfaa97800a64768f19.jpg","text":"TemporaryFile(/tmp/multipartBody1106123867835497548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504617,"filename":"image_11052026_10_34_14_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/154a7222dc61229e6e828337761cc988.jpg","text":"TemporaryFile(/tmp/multipartBody6344311759427220496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488504617,"filename":"image_11052026_10_33_44_30201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841906","file1":"1416841905","file0":"1416841903","file3":"1416841907"},"map_files_photo_id_array":[{"photo_id":"1416841906","filename":"file2"},{"photo_id":"1416841905","filename":"file1"},{"photo_id":"1416841903","filename":"file0"},{"photo_id":"1416841907","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841903":["hashtag1","hashtag2"]},{"1416841905":["hashtag1","hashtag2"]},{"1416841907":["hashtag1","hashtag2"]},{"1416841906":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841903, 1416841905, 1416841907, 1416841906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.58333945274353 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:35:04.045553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/34/image_07052026_16_34_35_29204.jpg', '/home/pi/Desktop/images/07052026/16/33/image_07052026_16_34_06_30243.jpg', '/home/pi/Desktop/images/07052026/16/33/image_07052026_16_33_36_30176.jpg', '/home/pi/Desktop/images/07052026/16/32/image_07052026_16_33_05_30162.jpg', '/home/pi/Desktop/images/07052026/16/31/image_07052026_16_32_05_29230.jpg', '/home/pi/Desktop/images/07052026/16/31/image_07052026_16_31_36_30284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/34/image_07052026_16_34_35_29204.jpg
/home/pi/Desktop/images/07052026/16/33/image_07052026_16_34_06_30243.jpg
/home/pi/Desktop/images/07052026/16/33/image_07052026_16_33_36_30176.jpg
/home/pi/Desktop/images/07052026/16/32/image_07052026_16_33_05_30162.jpg
/home/pi/Desktop/images/07052026/16/31/image_07052026_16_32_05_29230.jpg
/home/pi/Desktop/images/07052026/16/31/image_07052026_16_31_36_30284.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841918","1416841911","1416841920","1416841914","1416841913","1416841916"],"photo_ids_order":["1416841911","1416841913","1416841914","1416841916","1416841918","1416841920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d61b4fed6d981255356a7c2c19242129.jpg","text":"TemporaryFile(/tmp/multipartBody1651100365151887566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_32_05_29230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c1d6a9022d57b4a42c91c595117eaf7.jpg","text":"TemporaryFile(/tmp/multipartBody6475988189365529297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_34_35_29204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47cfe19be09b7aea90fbf8483c665bea.jpg","text":"TemporaryFile(/tmp/multipartBody8491945094843793028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_31_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7847b9b93d01aa5e11c59f23f687167b.jpg","text":"TemporaryFile(/tmp/multipartBody3464375843237037361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_33_36_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f4cafe11ac97ef7a42d91c95ed44b89.jpg","text":"TemporaryFile(/tmp/multipartBody3348627516399837837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_34_06_30243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32ae9b6440893d139e208a25da51f3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5992012688757272047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488566035,"filename":"image_07052026_16_33_05_30162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841914","file1":"1416841913","file0":"1416841911","file4":"1416841918","file5":"1416841920","file3":"1416841916"},"map_files_photo_id_array":[{"photo_id":"1416841920","filename":"file5"},{"photo_id":"1416841914","filename":"file2"},{"photo_id":"1416841918","filename":"file4"},{"photo_id":"1416841913","filename":"file1"},{"photo_id":"1416841911","filename":"file0"},{"photo_id":"1416841916","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416841918":["hashtag1","hashtag2"]},{"1416841911":["hashtag1","hashtag2"]},{"1416841920":["hashtag1","hashtag2"]},{"1416841914":["hashtag1","hashtag2"]},{"1416841913":["hashtag1","hashtag2"]},{"1416841916":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416841918, 1416841911, 1416841920, 1416841914, 1416841913, 1416841916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62619185447693 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:36:03.722200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/35/image_11052026_10_36_14_30104.jpg', '/home/pi/Desktop/images/11052026/10/35/image_11052026_10_35_44_30166.jpg', '/home/pi/Desktop/images/11052026/10/34/image_11052026_10_34_44_30128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/35/image_11052026_10_36_14_30104.jpg
/home/pi/Desktop/images/11052026/10/35/image_11052026_10_35_44_30166.jpg
/home/pi/Desktop/images/11052026/10/34/image_11052026_10_34_44_30128.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841923","1416841925","1416841924"],"photo_ids_order":["1416841923","1416841924","1416841925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c496ec17dbeab66379736c7ee7bb9a94.jpg","text":"TemporaryFile(/tmp/multipartBody4711607133117737868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488625640,"filename":"image_11052026_10_36_14_30104.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a4a62d3b2d9f682b524e51fecd62283.jpg","text":"TemporaryFile(/tmp/multipartBody2911673504802084842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488625640,"filename":"image_11052026_10_34_44_30128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7baa801097e1d3fd6fade9086a4fc2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8266574524155992787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488625640,"filename":"image_11052026_10_35_44_30166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841925","file1":"1416841924","file0":"1416841923"},"map_files_photo_id_array":[{"photo_id":"1416841925","filename":"file2"},{"photo_id":"1416841924","filename":"file1"},{"photo_id":"1416841923","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841923":["hashtag1","hashtag2"]},{"1416841925":["hashtag1","hashtag2"]},{"1416841924":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841923, 1416841925, 1416841924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.630234479904175 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:37:03.573909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/30/image_07052026_16_30_35_30263.jpg', '/home/pi/Desktop/images/07052026/16/29/image_07052026_16_30_05_29199.jpg', '/home/pi/Desktop/images/07052026/16/27/image_07052026_16_28_05_29342.jpg', '/home/pi/Desktop/images/07052026/16/27/image_07052026_16_27_36_30284.jpg', '/home/pi/Desktop/images/07052026/16/26/image_07052026_16_27_05_30176.jpg', '/home/pi/Desktop/images/07052026/16/26/image_07052026_16_26_35_30252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/30/image_07052026_16_30_35_30263.jpg
/home/pi/Desktop/images/07052026/16/29/image_07052026_16_30_05_29199.jpg
/home/pi/Desktop/images/07052026/16/27/image_07052026_16_28_05_29342.jpg
/home/pi/Desktop/images/07052026/16/27/image_07052026_16_27_36_30284.jpg
/home/pi/Desktop/images/07052026/16/26/image_07052026_16_27_05_30176.jpg
/home/pi/Desktop/images/07052026/16/26/image_07052026_16_26_35_30252.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.95719838142395 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:38:03.480346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/37/image_11052026_10_38_14_30116.jpg', '/home/pi/Desktop/images/11052026/10/37/image_11052026_10_37_44_30066.jpg', '/home/pi/Desktop/images/11052026/10/36/image_11052026_10_37_14_30166.jpg', '/home/pi/Desktop/images/11052026/10/36/image_11052026_10_36_44_30114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/37/image_11052026_10_38_14_30116.jpg
/home/pi/Desktop/images/11052026/10/37/image_11052026_10_37_44_30066.jpg
/home/pi/Desktop/images/11052026/10/36/image_11052026_10_37_14_30166.jpg
/home/pi/Desktop/images/11052026/10/36/image_11052026_10_36_44_30114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841944","1416841946","1416841940","1416841942"],"photo_ids_order":["1416841940","1416841942","1416841944","1416841946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/350261bedec303a05ad9bf6708a7d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody4224047274189684539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488744860,"filename":"image_11052026_10_37_14_30166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6bfe50f2cf5cd96ab0a8d760896079b0.jpg","text":"TemporaryFile(/tmp/multipartBody2054638656351661955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488744860,"filename":"image_11052026_10_36_44_30114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/247f727c7f8105ab0a3c0cbcc66df8d9.jpg","text":"TemporaryFile(/tmp/multipartBody3395174853271478587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488744860,"filename":"image_11052026_10_38_14_30116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f1230faee17e8a2e21deb91c5f4a814.jpg","text":"TemporaryFile(/tmp/multipartBody4376777191488650008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488744860,"filename":"image_11052026_10_37_44_30066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841944","file1":"1416841942","file0":"1416841940","file3":"1416841946"},"map_files_photo_id_array":[{"photo_id":"1416841944","filename":"file2"},{"photo_id":"1416841942","filename":"file1"},{"photo_id":"1416841940","filename":"file0"},{"photo_id":"1416841946","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841944":["hashtag1","hashtag2"]},{"1416841946":["hashtag1","hashtag2"]},{"1416841940":["hashtag1","hashtag2"]},{"1416841942":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841944, 1416841946, 1416841940, 1416841942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.610469341278076 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:39:03.603142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/07/image_07052026_01_08_05_29303.jpg', '/home/pi/Desktop/images/07052026/01/08/image_07052026_01_08_36_30457.jpg', '/home/pi/Desktop/images/07052026/01/08/image_07052026_01_09_05_29224.jpg', '/home/pi/Desktop/images/07052026/01/09/image_07052026_01_10_06_30366.jpg', '/home/pi/Desktop/images/07052026/01/10/image_07052026_01_10_35_29335.jpg', '/home/pi/Desktop/images/07052026/01/10/image_07052026_01_11_05_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/07/image_07052026_01_08_05_29303.jpg
/home/pi/Desktop/images/07052026/01/08/image_07052026_01_08_36_30457.jpg
/home/pi/Desktop/images/07052026/01/08/image_07052026_01_09_05_29224.jpg
/home/pi/Desktop/images/07052026/01/09/image_07052026_01_10_06_30366.jpg
/home/pi/Desktop/images/07052026/01/10/image_07052026_01_10_35_29335.jpg
/home/pi/Desktop/images/07052026/01/10/image_07052026_01_11_05_30294.jpg
2026-05-11 10:39:04.004155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/38/image_11052026_10_39_13_29069.jpg', '/home/pi/Desktop/images/11052026/10/38/image_11052026_10_38_44_30141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/38/image_11052026_10_39_13_29069.jpg
/home/pi/Desktop/images/11052026/10/38/image_11052026_10_38_44_30141.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0532708168029785 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841950","1416841951"],"photo_ids_order":["1416841950","1416841951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/821687762ecdbfc837afa41a1f1398d1.jpg","text":"TemporaryFile(/tmp/multipartBody517971691838972523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488806133,"filename":"image_11052026_10_39_13_29069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9915a86a391abe101489cd347746622e.jpg","text":"TemporaryFile(/tmp/multipartBody307607190063498182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488806133,"filename":"image_11052026_10_38_44_30141.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416841951","file0":"1416841950"},"map_files_photo_id_array":[{"photo_id":"1416841951","filename":"file1"},{"photo_id":"1416841950","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416841950":["hashtag1","hashtag2"]},{"1416841951":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416841950, 1416841951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.05303931236267 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:40:03.541619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/30/image_07052026_16_30_35_30263.jpg', '/home/pi/Desktop/images/07052026/16/29/image_07052026_16_30_05_29199.jpg', '/home/pi/Desktop/images/07052026/16/27/image_07052026_16_28_05_29342.jpg', '/home/pi/Desktop/images/07052026/16/27/image_07052026_16_27_36_30284.jpg', '/home/pi/Desktop/images/07052026/16/26/image_07052026_16_27_05_30176.jpg', '/home/pi/Desktop/images/07052026/16/26/image_07052026_16_26_35_30252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/30/image_07052026_16_30_35_30263.jpg
/home/pi/Desktop/images/07052026/16/29/image_07052026_16_30_05_29199.jpg
/home/pi/Desktop/images/07052026/16/27/image_07052026_16_28_05_29342.jpg
/home/pi/Desktop/images/07052026/16/27/image_07052026_16_27_36_30284.jpg
/home/pi/Desktop/images/07052026/16/26/image_07052026_16_27_05_30176.jpg
/home/pi/Desktop/images/07052026/16/26/image_07052026_16_26_35_30252.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416841965","1416841959","1416841967","1416841961","1416841969","1416841963"],"photo_ids_order":["1416841959","1416841961","1416841963","1416841965","1416841967","1416841969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1eda468e4e947af81d19142e7c022ac6.jpg","text":"TemporaryFile(/tmp/multipartBody626505237721185290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_27_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5addc244281f0d574f04f8ccc498cd90.jpg","text":"TemporaryFile(/tmp/multipartBody8750452340126474119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_30_35_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20d0d4ede9f4965264ca956f6c239e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2189350047630939322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_27_05_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79b48eb2e3bb72f91a1a98c8bcf4a218.jpg","text":"TemporaryFile(/tmp/multipartBody2744700853516536648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_30_05_29199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f0dc7efc7c41046d69e03a96349da5a.jpg","text":"TemporaryFile(/tmp/multipartBody6166303999398204076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_26_35_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53b8d229f37a83bf8a90219ac335d19c.jpg","text":"TemporaryFile(/tmp/multipartBody6952382384313449837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488865634,"filename":"image_07052026_16_28_05_29342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416841963","file1":"1416841961","file0":"1416841959","file4":"1416841967","file5":"1416841969","file3":"1416841965"},"map_files_photo_id_array":[{"photo_id":"1416841969","filename":"file5"},{"photo_id":"1416841963","filename":"file2"},{"photo_id":"1416841967","filename":"file4"},{"photo_id":"1416841961","filename":"file1"},{"photo_id":"1416841959","filename":"file0"},{"photo_id":"1416841965","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416841965":["hashtag1","hashtag2"]},{"1416841959":["hashtag1","hashtag2"]},{"1416841967":["hashtag1","hashtag2"]},{"1416841961":["hashtag1","hashtag2"]},{"1416841969":["hashtag1","hashtag2"]},{"1416841963":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416841965, 1416841959, 1416841967, 1416841961, 1416841969, 1416841963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33787727355957 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:41:04.047784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/39/image_11052026_10_40_14_30064.jpg', '/home/pi/Desktop/images/11052026/10/39/image_11052026_10_39_44_30185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/39/image_11052026_10_40_14_30064.jpg
/home/pi/Desktop/images/11052026/10/39/image_11052026_10_39_44_30185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843097","1416843096"],"photo_ids_order":["1416843096","1416843097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8d0b09bf412fcff70da55479502333b.jpg","text":"TemporaryFile(/tmp/multipartBody5312196548355085846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488925193,"filename":"image_11052026_10_39_44_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96f198a4d0a7e306b1a56bbc71f02f69.jpg","text":"TemporaryFile(/tmp/multipartBody1067197027638202483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488925193,"filename":"image_11052026_10_40_14_30064.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416843097","file0":"1416843096"},"map_files_photo_id_array":[{"photo_id":"1416843097","filename":"file1"},{"photo_id":"1416843096","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416843097":["hashtag1","hashtag2"]},{"1416843096":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416843097, 1416843096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.822614192962646 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:42:03.346030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/25/image_07052026_16_26_05_29255.jpg', '/home/pi/Desktop/images/07052026/16/23/image_07052026_16_24_05_29197.jpg', '/home/pi/Desktop/images/07052026/16/18/image_07052026_16_19_05_30272.jpg', '/home/pi/Desktop/images/07052026/16/18/image_07052026_16_18_35_30306.jpg', '/home/pi/Desktop/images/07052026/16/17/image_07052026_16_18_05_29173.jpg', '/home/pi/Desktop/images/07052026/16/17/image_07052026_16_17_36_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/25/image_07052026_16_26_05_29255.jpg
/home/pi/Desktop/images/07052026/16/23/image_07052026_16_24_05_29197.jpg
/home/pi/Desktop/images/07052026/16/18/image_07052026_16_19_05_30272.jpg
/home/pi/Desktop/images/07052026/16/18/image_07052026_16_18_35_30306.jpg
/home/pi/Desktop/images/07052026/16/17/image_07052026_16_18_05_29173.jpg
/home/pi/Desktop/images/07052026/16/17/image_07052026_16_17_36_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843108","1416843102","1416843104","1416843100","1416843106","1416843345"],"photo_ids_order":["1416843100","1416843102","1416843104","1416843106","1416843108","1416843345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/365b18573795f4a2718c9573ec38f5f5.jpg","text":"TemporaryFile(/tmp/multipartBody2287958930563458489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_18_05_29173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/797eb79a1569953babf8405f39916095.jpg","text":"TemporaryFile(/tmp/multipartBody6616860082043201109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_24_05_29197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07d8884440e05becd0fb75ecbefb3a9a.jpg","text":"TemporaryFile(/tmp/multipartBody935465954603712577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_19_05_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3674c6c6c75152540d1fedb74acf695a.jpg","text":"TemporaryFile(/tmp/multipartBody867451252638405202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_26_05_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55062e083d0d1ff4cf0583a3e9441ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2794868538637812163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_18_35_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac168014273210d7c9953456435a2076.jpg","text":"TemporaryFile(/tmp/multipartBody2761472966390705274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778488985406,"filename":"image_07052026_16_17_36_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416843104","file1":"1416843102","file0":"1416843100","file4":"1416843108","file5":"1416843345","file3":"1416843106"},"map_files_photo_id_array":[{"photo_id":"1416843345","filename":"file5"},{"photo_id":"1416843104","filename":"file2"},{"photo_id":"1416843108","filename":"file4"},{"photo_id":"1416843102","filename":"file1"},{"photo_id":"1416843100","filename":"file0"},{"photo_id":"1416843106","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416843108":["hashtag1","hashtag2"]},{"1416843102":["hashtag1","hashtag2"]},{"1416843104":["hashtag1","hashtag2"]},{"1416843100":["hashtag1","hashtag2"]},{"1416843106":["hashtag1","hashtag2"]},{"1416843345":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416843108, 1416843102, 1416843104, 1416843100, 1416843106, 1416843345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73716640472412 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:43:03.477293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/41/image_11052026_10_42_14_30065.jpg', '/home/pi/Desktop/images/11052026/10/40/image_11052026_10_41_14_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/41/image_11052026_10_42_14_30065.jpg
/home/pi/Desktop/images/11052026/10/40/image_11052026_10_41_14_30180.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843603","1416843601"],"photo_ids_order":["1416843601","1416843603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89c67a72e49b61a7d07eefc425cbd93f.jpg","text":"TemporaryFile(/tmp/multipartBody2692124426008067794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489044615,"filename":"image_11052026_10_41_14_30180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccb84b5b6764af4d845f3361bc3b4c72.jpg","text":"TemporaryFile(/tmp/multipartBody4735076546316384003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489044615,"filename":"image_11052026_10_42_14_30065.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416843603","file0":"1416843601"},"map_files_photo_id_array":[{"photo_id":"1416843603","filename":"file1"},{"photo_id":"1416843601","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416843603":["hashtag1","hashtag2"]},{"1416843601":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416843603, 1416843601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.605921030044556 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:44:03.665251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
2026-05-11 10:44:03.665251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/42/image_11052026_10_42_44_29107.jpg', '/home/pi/Desktop/images/11052026/10/42/image_11052026_10_43_14_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/42/image_11052026_10_43_14_30170.jpg', '/home/pi/Desktop/images/11052026/10/42/image_11052026_10_42_44_29107.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/42/image_11052026_10_42_44_29107.jpg
/home/pi/Desktop/images/11052026/10/42/image_11052026_10_43_14_30170.jpg
/home/pi/Desktop/images/11052026/10/42/image_11052026_10_43_14_30170.jpg
/home/pi/Desktop/images/11052026/10/42/image_11052026_10_42_44_29107.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843613","1416843609"],"photo_ids_order":["1416843609","1416843613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30be05fde05538e2940e95b6ddcace4b.jpg","text":"TemporaryFile(/tmp/multipartBody3685206204107690534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489105048,"filename":"image_11052026_10_43_14_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31519ba9c2234002f0d78b1def728a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1983206311900574460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489105048,"filename":"image_11052026_10_42_44_29107.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416843613","file0":"1416843609"},"map_files_photo_id_array":[{"photo_id":"1416843613","filename":"file1"},{"photo_id":"1416843609","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416843613":["hashtag1","hashtag2"]},{"1416843609":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416843613, 1416843609)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843612","1416843610"],"photo_ids_order":["1416843610","1416843612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df8e14918205e7a17996e26ff5f5d78b.jpg","text":"TemporaryFile(/tmp/multipartBody3349562057809135968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489105177,"filename":"image_11052026_10_42_44_29107.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00d5fcf42f30ca65e6bfdfbfa82adfac.jpg","text":"TemporaryFile(/tmp/multipartBody7057372970028621864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489105177,"filename":"image_11052026_10_43_14_30170.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416843612","file0":"1416843610"},"map_files_photo_id_array":[{"photo_id":"1416843612","filename":"file1"},{"photo_id":"1416843610","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416843612":["hashtag1","hashtag2"]},{"1416843610":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416843612, 1416843610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.828124523162842 secondes ---
uploaded 2 photos
time to upload: 20.91551184654236 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:45:03.808610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/15/image_07052026_16_16_05_29178.jpg', '/home/pi/Desktop/images/07052026/16/15/image_07052026_16_15_36_30299.jpg', '/home/pi/Desktop/images/07052026/16/13/image_07052026_16_14_05_29197.jpg', '/home/pi/Desktop/images/07052026/16/04/image_07052026_16_04_35_30249.jpg', '/home/pi/Desktop/images/07052026/16/03/image_07052026_16_04_05_29203.jpg', '/home/pi/Desktop/images/07052026/16/03/image_07052026_16_03_36_30285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/15/image_07052026_16_16_05_29178.jpg
/home/pi/Desktop/images/07052026/16/15/image_07052026_16_15_36_30299.jpg
/home/pi/Desktop/images/07052026/16/13/image_07052026_16_14_05_29197.jpg
/home/pi/Desktop/images/07052026/16/04/image_07052026_16_04_35_30249.jpg
/home/pi/Desktop/images/07052026/16/03/image_07052026_16_04_05_29203.jpg
/home/pi/Desktop/images/07052026/16/03/image_07052026_16_03_36_30285.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416843624","1416843626","1416843623","1416843622","1416843625","1416843621"],"photo_ids_order":["1416843621","1416843622","1416843623","1416843624","1416843625","1416843626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a56d8a3a2484ab8c2bd2624dfe47f303.jpg","text":"TemporaryFile(/tmp/multipartBody825925627225104083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_04_35_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/107fe4a50c4323aca1689079f0eee0b6.jpg","text":"TemporaryFile(/tmp/multipartBody7276222898929442294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_03_36_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b649cf3a628250c81614aea9b82d7c88.jpg","text":"TemporaryFile(/tmp/multipartBody764808651307464100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_14_05_29197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3686b25c39b46532a6a6a270bcc2056f.jpg","text":"TemporaryFile(/tmp/multipartBody6673754527812908190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_15_36_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b95886fd5e3bb89d14dd84663cdaaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3537758672094206731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_04_05_29203.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/219ac0edd07587340e83a4daa6c24cbf.jpg","text":"TemporaryFile(/tmp/multipartBody730557433340780352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489165888,"filename":"image_07052026_16_16_05_29178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416843623","file1":"1416843622","file0":"1416843621","file4":"1416843625","file5":"1416843626","file3":"1416843624"},"map_files_photo_id_array":[{"photo_id":"1416843626","filename":"file5"},{"photo_id":"1416843623","filename":"file2"},{"photo_id":"1416843625","filename":"file4"},{"photo_id":"1416843622","filename":"file1"},{"photo_id":"1416843621","filename":"file0"},{"photo_id":"1416843624","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416843624":["hashtag1","hashtag2"]},{"1416843626":["hashtag1","hashtag2"]},{"1416843623":["hashtag1","hashtag2"]},{"1416843622":["hashtag1","hashtag2"]},{"1416843625":["hashtag1","hashtag2"]},{"1416843621":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416843624, 1416843626, 1416843623, 1416843622, 1416843625, 1416843621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92058753967285 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:46:03.200953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/44/image_11052026_10_45_13_29090.jpg', '/home/pi/Desktop/images/11052026/10/43/image_11052026_10_43_44_30144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/44/image_11052026_10_45_13_29090.jpg
/home/pi/Desktop/images/11052026/10/43/image_11052026_10_43_44_30144.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416844510","1416844509"],"photo_ids_order":["1416844509","1416844510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/565196fb098204442a3b036c7cfefc33.jpg","text":"TemporaryFile(/tmp/multipartBody4040140766374769873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489224443,"filename":"image_11052026_10_43_44_30144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ffddf4ff89fe19adfb74615f6b46f88.jpg","text":"TemporaryFile(/tmp/multipartBody1449265110062224420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489224443,"filename":"image_11052026_10_45_13_29090.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416844510","file0":"1416844509"},"map_files_photo_id_array":[{"photo_id":"1416844510","filename":"file1"},{"photo_id":"1416844509","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416844510":["hashtag1","hashtag2"]},{"1416844509":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416844510, 1416844509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.763802766799927 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:47:03.591951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/46/image_11052026_10_47_14_30217.jpg', '/home/pi/Desktop/images/11052026/10/46/image_11052026_10_46_44_30197.jpg', '/home/pi/Desktop/images/11052026/10/45/image_11052026_10_45_44_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/46/image_11052026_10_47_14_30217.jpg
/home/pi/Desktop/images/11052026/10/46/image_11052026_10_46_44_30197.jpg
/home/pi/Desktop/images/11052026/10/45/image_11052026_10_45_44_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416844773","1416844818","1416844850"],"photo_ids_order":["1416844773","1416844818","1416844850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a921b7f5f81d4e21267bdf4aa10dc8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4692079884458704457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489284954,"filename":"image_11052026_10_47_14_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f1312df1e0c1efab1f894c73cd20880.jpg","text":"TemporaryFile(/tmp/multipartBody2851960291299392757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489284954,"filename":"image_11052026_10_46_44_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbee54038674ef55113300627afdeb8e.jpg","text":"TemporaryFile(/tmp/multipartBody7890225422321675754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489284954,"filename":"image_11052026_10_45_44_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416844850","file1":"1416844818","file0":"1416844773"},"map_files_photo_id_array":[{"photo_id":"1416844850","filename":"file2"},{"photo_id":"1416844818","filename":"file1"},{"photo_id":"1416844773","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416844773":["hashtag1","hashtag2"]},{"1416844818":["hashtag1","hashtag2"]},{"1416844850":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416844773, 1416844818, 1416844850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.71429467201233 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:48:02.832861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/16/02/image_07052026_16_03_05_30271.jpg', '/home/pi/Desktop/images/07052026/16/00/image_07052026_16_00_35_30340.jpg', '/home/pi/Desktop/images/07052026/15/59/image_07052026_16_00_05_29154.jpg', '/home/pi/Desktop/images/07052026/15/59/image_07052026_15_59_36_30264.jpg', '/home/pi/Desktop/images/07052026/15/58/image_07052026_15_58_35_30255.jpg', '/home/pi/Desktop/images/07052026/15/57/image_07052026_15_58_05_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/16/02/image_07052026_16_03_05_30271.jpg
/home/pi/Desktop/images/07052026/16/00/image_07052026_16_00_35_30340.jpg
/home/pi/Desktop/images/07052026/15/59/image_07052026_16_00_05_29154.jpg
/home/pi/Desktop/images/07052026/15/59/image_07052026_15_59_36_30264.jpg
/home/pi/Desktop/images/07052026/15/58/image_07052026_15_58_35_30255.jpg
/home/pi/Desktop/images/07052026/15/57/image_07052026_15_58_05_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416844862","1416844856","1416844864","1416844858","1416844860","1416844854"],"photo_ids_order":["1416844854","1416844856","1416844858","1416844860","1416844862","1416844864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/940d9298d7cc119be3b819245d98a02b.jpg","text":"TemporaryFile(/tmp/multipartBody2074819809196669386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_15_58_35_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58006ddcd2db44c4738c8a8c7ff46f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7031308429918745965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_16_00_35_30340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9fc47ee5cd8750f423c34d1e84ff7225.jpg","text":"TemporaryFile(/tmp/multipartBody5617695184555248142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_15_58_05_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63487dceb588821e8e88bb70fb949637.jpg","text":"TemporaryFile(/tmp/multipartBody3354076237345836251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_16_00_05_29154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f19acb2fcd72f1512168489912576fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3257941007779922291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_15_59_36_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8e58778113e2470a177e1433515a8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3600228236213203134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489344911,"filename":"image_07052026_16_03_05_30271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416844858","file1":"1416844856","file0":"1416844854","file4":"1416844862","file5":"1416844864","file3":"1416844860"},"map_files_photo_id_array":[{"photo_id":"1416844864","filename":"file5"},{"photo_id":"1416844858","filename":"file2"},{"photo_id":"1416844862","filename":"file4"},{"photo_id":"1416844856","filename":"file1"},{"photo_id":"1416844854","filename":"file0"},{"photo_id":"1416844860","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416844862":["hashtag1","hashtag2"]},{"1416844856":["hashtag1","hashtag2"]},{"1416844864":["hashtag1","hashtag2"]},{"1416844858":["hashtag1","hashtag2"]},{"1416844860":["hashtag1","hashtag2"]},{"1416844854":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416844862, 1416844856, 1416844864, 1416844858, 1416844860, 1416844854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79933428764343 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:49:04.223826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/47/image_11052026_10_47_44_30067.jpg', '/home/pi/Desktop/images/11052026/10/47/image_11052026_10_48_14_30025.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/47/image_11052026_10_47_44_30067.jpg
/home/pi/Desktop/images/11052026/10/47/image_11052026_10_48_14_30025.jpg
2026-05-11 10:49:04.338051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/47/image_11052026_10_48_14_30025.jpg', '/home/pi/Desktop/images/11052026/10/47/image_11052026_10_47_44_30067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/47/image_11052026_10_48_14_30025.jpg
/home/pi/Desktop/images/11052026/10/47/image_11052026_10_47_44_30067.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0865797996520996 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416845386","1416845385"],"photo_ids_order":["1416845385","1416845386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9ef61c6e83dc205d9c5ea3e1af2c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody2271668497447770852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489405682,"filename":"image_11052026_10_47_44_30067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed8bfaa95f4e21cb6988bc041209ec73.jpg","text":"TemporaryFile(/tmp/multipartBody8195345667400524683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489405682,"filename":"image_11052026_10_48_14_30025.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416845386","file0":"1416845385"},"map_files_photo_id_array":[{"photo_id":"1416845386","filename":"file1"},{"photo_id":"1416845385","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416845386":["hashtag1","hashtag2"]},{"1416845385":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416845386, 1416845385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.40699863433838 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:50:03.215432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/55/image_07052026_15_55_36_30368.jpg', '/home/pi/Desktop/images/07052026/15/54/image_07052026_15_55_05_30346.jpg', '/home/pi/Desktop/images/07052026/15/51/image_07052026_15_52_05_29250.jpg', '/home/pi/Desktop/images/07052026/15/51/image_07052026_15_51_36_30393.jpg', '/home/pi/Desktop/images/07052026/15/50/image_07052026_15_51_05_30190.jpg', '/home/pi/Desktop/images/07052026/15/50/image_07052026_15_50_35_30284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/55/image_07052026_15_55_36_30368.jpg
/home/pi/Desktop/images/07052026/15/54/image_07052026_15_55_05_30346.jpg
/home/pi/Desktop/images/07052026/15/51/image_07052026_15_52_05_29250.jpg
/home/pi/Desktop/images/07052026/15/51/image_07052026_15_51_36_30393.jpg
/home/pi/Desktop/images/07052026/15/50/image_07052026_15_51_05_30190.jpg
/home/pi/Desktop/images/07052026/15/50/image_07052026_15_50_35_30284.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416845611","1416845605","1416845613","1416845607","1416845615","1416845609"],"photo_ids_order":["1416845605","1416845607","1416845609","1416845611","1416845613","1416845615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a333b630fc208fe778ab1d76e09b3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2753013823396504178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_51_36_30393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0d4a05e1b589fec7ed0e0dfe512bf09.jpg","text":"TemporaryFile(/tmp/multipartBody1166120062441507912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_55_36_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7efac6212d0deed7d0ac3003e247aa69.jpg","text":"TemporaryFile(/tmp/multipartBody401965619235647157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_51_05_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3c8f230cdd7ca2e82309dbfd2ef5f97.jpg","text":"TemporaryFile(/tmp/multipartBody4651363744376526253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_55_05_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32524593de3bab0eb9f5674984e8fd71.jpg","text":"TemporaryFile(/tmp/multipartBody5372552372940184970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_50_35_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55d5a63ada91e660e7a1f756a4a41728.jpg","text":"TemporaryFile(/tmp/multipartBody1455028571185267549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489465495,"filename":"image_07052026_15_52_05_29250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416845609","file1":"1416845607","file0":"1416845605","file4":"1416845613","file5":"1416845615","file3":"1416845611"},"map_files_photo_id_array":[{"photo_id":"1416845615","filename":"file5"},{"photo_id":"1416845609","filename":"file2"},{"photo_id":"1416845613","filename":"file4"},{"photo_id":"1416845607","filename":"file1"},{"photo_id":"1416845605","filename":"file0"},{"photo_id":"1416845611","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416845611":["hashtag1","hashtag2"]},{"1416845605":["hashtag1","hashtag2"]},{"1416845613":["hashtag1","hashtag2"]},{"1416845607":["hashtag1","hashtag2"]},{"1416845615":["hashtag1","hashtag2"]},{"1416845609":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416845611, 1416845605, 1416845613, 1416845607, 1416845615, 1416845609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.913456201553345 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:51:04.432083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/49/image_11052026_10_50_14_30239.jpg', '/home/pi/Desktop/images/11052026/10/48/image_11052026_10_48_43_29184.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/49/image_11052026_10_50_14_30239.jpg
/home/pi/Desktop/images/11052026/10/48/image_11052026_10_48_43_29184.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416845618","1416845617"],"photo_ids_order":["1416845617","1416845618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/080bca12b5fc34cb60d1abd57294ee66.jpg","text":"TemporaryFile(/tmp/multipartBody2266088768878951506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489525630,"filename":"image_11052026_10_48_43_29184.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/134891c2b3d490bf968030c394c535f7.jpg","text":"TemporaryFile(/tmp/multipartBody254127806862033238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489525630,"filename":"image_11052026_10_50_14_30239.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416845618","file0":"1416845617"},"map_files_photo_id_array":[{"photo_id":"1416845618","filename":"file1"},{"photo_id":"1416845617","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416845618":["hashtag1","hashtag2"]},{"1416845617":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416845618, 1416845617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.928359985351562 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:52:03.108514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/51/image_11052026_10_51_44_30272.jpg', '/home/pi/Desktop/images/11052026/10/50/image_11052026_10_51_13_29051.jpg', '/home/pi/Desktop/images/11052026/10/50/image_11052026_10_50_44_30227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/51/image_11052026_10_51_44_30272.jpg
/home/pi/Desktop/images/11052026/10/50/image_11052026_10_51_13_29051.jpg
/home/pi/Desktop/images/11052026/10/50/image_11052026_10_50_44_30227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416845623","1416845625","1416845621"],"photo_ids_order":["1416845621","1416845623","1416845625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de7c4c201438fe8073d3a8a73dc5680e.jpg","text":"TemporaryFile(/tmp/multipartBody3093081695562223291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489584558,"filename":"image_11052026_10_51_13_29051.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79f697904afebf05f687ca616961bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody7650466684356995006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489584558,"filename":"image_11052026_10_50_44_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a45d3d186f60edb4431d48d0283007cf.jpg","text":"TemporaryFile(/tmp/multipartBody7783294500013965572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489584558,"filename":"image_11052026_10_51_44_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416845625","file1":"1416845623","file0":"1416845621"},"map_files_photo_id_array":[{"photo_id":"1416845625","filename":"file2"},{"photo_id":"1416845623","filename":"file1"},{"photo_id":"1416845621","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416845623":["hashtag1","hashtag2"]},{"1416845625":["hashtag1","hashtag2"]},{"1416845621":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416845623, 1416845625, 1416845621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.663535594940186 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:53:03.963643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/49/image_07052026_15_49_36_30306.jpg', '/home/pi/Desktop/images/07052026/15/48/image_07052026_15_49_05_30237.jpg', '/home/pi/Desktop/images/07052026/15/47/image_07052026_15_48_05_29292.jpg', '/home/pi/Desktop/images/07052026/15/47/image_07052026_15_47_36_30333.jpg', '/home/pi/Desktop/images/07052026/15/44/image_07052026_15_45_05_30248.jpg', '/home/pi/Desktop/images/07052026/15/44/image_07052026_15_44_35_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/49/image_07052026_15_49_36_30306.jpg
/home/pi/Desktop/images/07052026/15/48/image_07052026_15_49_05_30237.jpg
/home/pi/Desktop/images/07052026/15/47/image_07052026_15_48_05_29292.jpg
/home/pi/Desktop/images/07052026/15/47/image_07052026_15_47_36_30333.jpg
/home/pi/Desktop/images/07052026/15/44/image_07052026_15_45_05_30248.jpg
/home/pi/Desktop/images/07052026/15/44/image_07052026_15_44_35_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416846220","1416846219","1416845795","1416846221","1416846116","1416846218"],"photo_ids_order":["1416845795","1416846116","1416846218","1416846219","1416846220","1416846221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dea53ec2e515c3082fdf85bd137ff71b.jpg","text":"TemporaryFile(/tmp/multipartBody3262940407092390687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_45_05_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3196c07dffb3bc0e7bed9730f584f4f8.jpg","text":"TemporaryFile(/tmp/multipartBody5301314156158316731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_47_36_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa05ce603609bbcd3ee52c58324e84ac.jpg","text":"TemporaryFile(/tmp/multipartBody506604921422277545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_49_36_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5e58bda521f0ed05c1e172a8e7d517b.jpg","text":"TemporaryFile(/tmp/multipartBody2519058458412104795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_44_35_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/967277e1b8038f02b3b2ec6ccb6990fe.jpg","text":"TemporaryFile(/tmp/multipartBody9060430903305755516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_49_05_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3c76f78882e841c5f071b3d696fac73.jpg","text":"TemporaryFile(/tmp/multipartBody1793882969415981524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489646127,"filename":"image_07052026_15_48_05_29292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416846218","file1":"1416846116","file0":"1416845795","file4":"1416846220","file5":"1416846221","file3":"1416846219"},"map_files_photo_id_array":[{"photo_id":"1416846221","filename":"file5"},{"photo_id":"1416846218","filename":"file2"},{"photo_id":"1416846220","filename":"file4"},{"photo_id":"1416846116","filename":"file1"},{"photo_id":"1416845795","filename":"file0"},{"photo_id":"1416846219","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416846220":["hashtag1","hashtag2"]},{"1416846219":["hashtag1","hashtag2"]},{"1416845795":["hashtag1","hashtag2"]},{"1416846221":["hashtag1","hashtag2"]},{"1416846116":["hashtag1","hashtag2"]},{"1416846218":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416846220, 1416846219, 1416845795, 1416846221, 1416846116, 1416846218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38318061828613 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:54:03.197376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/51/image_11052026_10_52_14_30125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/51/image_11052026_10_52_14_30125.jpg
2026-05-11 10:54:03.522730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/53/image_11052026_10_54_14_30166.jpg', '/home/pi/Desktop/images/11052026/10/52/image_11052026_10_53_14_30182.jpg', '/home/pi/Desktop/images/11052026/10/51/image_11052026_10_52_14_30125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/53/image_11052026_10_54_14_30166.jpg
/home/pi/Desktop/images/11052026/10/52/image_11052026_10_53_14_30182.jpg
/home/pi/Desktop/images/11052026/10/51/image_11052026_10_52_14_30125.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1276652812957764 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416846409"],"photo_id":"1416846409","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/622e86205cba93109f1022f4b6c2e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody7064025052000226161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778489704295,"filename":"image_11052026_10_52_14_30125.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416846409"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416846409"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.01359248161316 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 10:59:03.610321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/57/image_11052026_10_58_13_29984.jpg', '/home/pi/Desktop/images/11052026/10/57/image_11052026_10_57_43_29094.jpg', '/home/pi/Desktop/images/11052026/10/56/image_11052026_10_57_14_30131.jpg', '/home/pi/Desktop/images/11052026/10/56/image_11052026_10_56_44_30114.jpg', '/home/pi/Desktop/images/11052026/10/55/image_11052026_10_56_14_30118.jpg', '/home/pi/Desktop/images/11052026/10/55/image_11052026_10_55_44_30123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/57/image_11052026_10_58_13_29984.jpg
/home/pi/Desktop/images/11052026/10/57/image_11052026_10_57_43_29094.jpg
/home/pi/Desktop/images/11052026/10/56/image_11052026_10_57_14_30131.jpg
/home/pi/Desktop/images/11052026/10/56/image_11052026_10_56_44_30114.jpg
/home/pi/Desktop/images/11052026/10/55/image_11052026_10_56_14_30118.jpg
/home/pi/Desktop/images/11052026/10/55/image_11052026_10_55_44_30123.jpg
2026-05-11 10:59:04.036125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/52/image_11052026_10_53_14_30182.jpg', '/home/pi/Desktop/images/11052026/10/53/image_11052026_10_54_14_30166.jpg', '/home/pi/Desktop/images/11052026/10/54/image_11052026_10_54_44_30200.jpg', '/home/pi/Desktop/images/11052026/10/54/image_11052026_10_55_14_30132.jpg', '/home/pi/Desktop/images/11052026/10/55/image_11052026_10_55_44_30123.jpg', '/home/pi/Desktop/images/11052026/10/55/image_11052026_10_56_14_30118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/52/image_11052026_10_53_14_30182.jpg
/home/pi/Desktop/images/11052026/10/53/image_11052026_10_54_14_30166.jpg
/home/pi/Desktop/images/11052026/10/54/image_11052026_10_54_44_30200.jpg
/home/pi/Desktop/images/11052026/10/54/image_11052026_10_55_14_30132.jpg
/home/pi/Desktop/images/11052026/10/55/image_11052026_10_55_44_30123.jpg
/home/pi/Desktop/images/11052026/10/55/image_11052026_10_56_14_30118.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416846984","1416847002","1416846995","1416846998","1416846992","1416846989"],"photo_ids_order":["1416846984","1416846989","1416846992","1416846995","1416846998","1416847002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8574ce64d2ea7d338dc003728389a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody4894537222399488543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_58_13_29984.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4cbc7c46a7e261e3b62dd6e376e257a.jpg","text":"TemporaryFile(/tmp/multipartBody6454148495448922797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_55_44_30123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c1ba35914a73f28ee9dfd0146810f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1082316674080508142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_56_44_30114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4be8301db451935d14502cd4e4eaa11f.jpg","text":"TemporaryFile(/tmp/multipartBody5519048152377871472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_56_14_30118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46d5f09f0e969bc177129c58cc4be32b.jpg","text":"TemporaryFile(/tmp/multipartBody7966737485856377982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_57_14_30131.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a6d42c8094892b2b99e08600b8ca487.jpg","text":"TemporaryFile(/tmp/multipartBody394746245957664008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490005504,"filename":"image_11052026_10_57_43_29094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416846992","file1":"1416846989","file0":"1416846984","file4":"1416846998","file5":"1416847002","file3":"1416846995"},"map_files_photo_id_array":[{"photo_id":"1416847002","filename":"file5"},{"photo_id":"1416846992","filename":"file2"},{"photo_id":"1416846998","filename":"file4"},{"photo_id":"1416846989","filename":"file1"},{"photo_id":"1416846984","filename":"file0"},{"photo_id":"1416846995","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416846984":["hashtag1","hashtag2"]},{"1416847002":["hashtag1","hashtag2"]},{"1416846995":["hashtag1","hashtag2"]},{"1416846998":["hashtag1","hashtag2"]},{"1416846992":["hashtag1","hashtag2"]},{"1416846989":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416846984, 1416847002, 1416846995, 1416846998, 1416846992, 1416846989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54183769226074 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847000","1416847003","1416846990","1416846993","1416846996","1416846986"],"photo_ids_order":["1416846986","1416846990","1416846993","1416846996","1416847000","1416847003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c961906e59633e025af12f2f3bd96ea.jpg","text":"TemporaryFile(/tmp/multipartBody8520020225454595094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_55_44_30123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a542bcbe332876b533b7d6da65fec11.jpg","text":"TemporaryFile(/tmp/multipartBody5089541359016746277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_56_14_30118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1697b22b462ed9057e90f591aeaeb4a.jpg","text":"TemporaryFile(/tmp/multipartBody1827143848791757965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_54_14_30166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6d843337f138a91f990542533349a96.jpg","text":"TemporaryFile(/tmp/multipartBody2897564214130849378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_54_44_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9e0abd8d5144ce7e256169d661674b3.jpg","text":"TemporaryFile(/tmp/multipartBody6045470069325848661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_55_14_30132.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90977ee881af41f29bcaeb14075ee7b0.jpg","text":"TemporaryFile(/tmp/multipartBody3633444950550712134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490006137,"filename":"image_11052026_10_53_14_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416846993","file1":"1416846990","file0":"1416846986","file4":"1416847000","file5":"1416847003","file3":"1416846996"},"map_files_photo_id_array":[{"photo_id":"1416847003","filename":"file5"},{"photo_id":"1416846993","filename":"file2"},{"photo_id":"1416847000","filename":"file4"},{"photo_id":"1416846990","filename":"file1"},{"photo_id":"1416846986","filename":"file0"},{"photo_id":"1416846996","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416847000":["hashtag1","hashtag2"]},{"1416847003":["hashtag1","hashtag2"]},{"1416846990":["hashtag1","hashtag2"]},{"1416846993":["hashtag1","hashtag2"]},{"1416846996":["hashtag1","hashtag2"]},{"1416846986":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416847000, 1416847003, 1416846990, 1416846993, 1416846996, 1416846986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26067924499512 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:00:03.600247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/59/image_11052026_10_59_44_30136.jpg', '/home/pi/Desktop/images/11052026/10/58/image_11052026_10_59_14_30062.jpg', '/home/pi/Desktop/images/11052026/10/58/image_11052026_10_58_44_30059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/59/image_11052026_10_59_44_30136.jpg
/home/pi/Desktop/images/11052026/10/58/image_11052026_10_59_14_30062.jpg
/home/pi/Desktop/images/11052026/10/58/image_11052026_10_58_44_30059.jpg
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>8db55g747</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>8db55g747</strong>.
uploaded 0 photos
time to upload: 36.71219182014465 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:01:03.718052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/59/image_11052026_10_59_44_30136.jpg', '/home/pi/Desktop/images/11052026/10/58/image_11052026_10_59_14_30062.jpg', '/home/pi/Desktop/images/11052026/10/58/image_11052026_10_58_44_30059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/59/image_11052026_10_59_44_30136.jpg
/home/pi/Desktop/images/11052026/10/58/image_11052026_10_59_14_30062.jpg
/home/pi/Desktop/images/11052026/10/58/image_11052026_10_58_44_30059.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847263","1416847259","1416847261"],"photo_ids_order":["1416847259","1416847261","1416847263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c73d2ceab20d18cbe919055afe57e17.jpg","text":"TemporaryFile(/tmp/multipartBody1647497860314344299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490124866,"filename":"image_11052026_10_58_44_30059.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4bc40a353f85174bead3e8d6e8b0b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4973270121671613244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490124866,"filename":"image_11052026_10_59_44_30136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e70422ec63cd479a31d673279fe9f5b7.jpg","text":"TemporaryFile(/tmp/multipartBody1876348715569685546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490124866,"filename":"image_11052026_10_59_14_30062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416847263","file1":"1416847261","file0":"1416847259"},"map_files_photo_id_array":[{"photo_id":"1416847263","filename":"file2"},{"photo_id":"1416847261","filename":"file1"},{"photo_id":"1416847259","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416847263":["hashtag1","hashtag2"]},{"1416847259":["hashtag1","hashtag2"]},{"1416847261":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416847263, 1416847259, 1416847261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.802996397018433 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:02:03.418537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/43/image_07052026_15_43_36_30284.jpg', '/home/pi/Desktop/images/07052026/15/42/image_07052026_15_43_05_30205.jpg', '/home/pi/Desktop/images/07052026/15/40/image_07052026_15_40_35_30206.jpg', '/home/pi/Desktop/images/07052026/15/37/image_07052026_15_37_36_30234.jpg', '/home/pi/Desktop/images/07052026/15/35/image_07052026_15_35_36_30314.jpg', '/home/pi/Desktop/images/07052026/15/33/image_07052026_15_34_06_30254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/43/image_07052026_15_43_36_30284.jpg
/home/pi/Desktop/images/07052026/15/42/image_07052026_15_43_05_30205.jpg
/home/pi/Desktop/images/07052026/15/40/image_07052026_15_40_35_30206.jpg
/home/pi/Desktop/images/07052026/15/37/image_07052026_15_37_36_30234.jpg
/home/pi/Desktop/images/07052026/15/35/image_07052026_15_35_36_30314.jpg
/home/pi/Desktop/images/07052026/15/33/image_07052026_15_34_06_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847272","1416847269","1416847274","1416847271","1416847273","1416847270"],"photo_ids_order":["1416847269","1416847270","1416847271","1416847272","1416847273","1416847274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63934f6701281012757ac00b378d291f.jpg","text":"TemporaryFile(/tmp/multipartBody482024918686459182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_37_36_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0cac731fe59e373659f429d15c6e596.jpg","text":"TemporaryFile(/tmp/multipartBody7227605676680933805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_43_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/696f5141cdcf7cee5c3f4ee1a922a0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1758802643747439565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_34_06_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf60dee3c82a7b524eacf06bbabf9181.jpg","text":"TemporaryFile(/tmp/multipartBody7454054431813878957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_40_35_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a5800cfeca9e4a1b21ebee94fb41916.jpg","text":"TemporaryFile(/tmp/multipartBody7114420107966535987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_35_36_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4ba2e0a73283e48d6f0b5db3849327c.jpg","text":"TemporaryFile(/tmp/multipartBody2176448095119076976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490185411,"filename":"image_07052026_15_43_05_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416847271","file1":"1416847270","file0":"1416847269","file4":"1416847273","file5":"1416847274","file3":"1416847272"},"map_files_photo_id_array":[{"photo_id":"1416847274","filename":"file5"},{"photo_id":"1416847271","filename":"file2"},{"photo_id":"1416847273","filename":"file4"},{"photo_id":"1416847270","filename":"file1"},{"photo_id":"1416847269","filename":"file0"},{"photo_id":"1416847272","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416847272":["hashtag1","hashtag2"]},{"1416847269":["hashtag1","hashtag2"]},{"1416847274":["hashtag1","hashtag2"]},{"1416847271":["hashtag1","hashtag2"]},{"1416847273":["hashtag1","hashtag2"]},{"1416847270":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416847272, 1416847269, 1416847274, 1416847271, 1416847273, 1416847270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.610230445861816 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:03:03.700454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/10/59/image_11052026_11_00_14_30079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/10/59/image_11052026_11_00_14_30079.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847276"],"photo_id":"1416847276","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/911a671de63d5571808d672867954861.jpg","text":"TemporaryFile(/tmp/multipartBody515161334797817793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490244633,"filename":"image_11052026_11_00_14_30079.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416847276"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416847276"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.515303611755371 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:04:03.124122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/32/image_07052026_15_33_05_30192.jpg', '/home/pi/Desktop/images/07052026/15/32/image_07052026_15_32_35_30189.jpg', '/home/pi/Desktop/images/07052026/15/31/image_07052026_15_32_05_29216.jpg', '/home/pi/Desktop/images/07052026/15/31/image_07052026_15_31_36_30318.jpg', '/home/pi/Desktop/images/07052026/15/30/image_07052026_15_30_35_29206.jpg', '/home/pi/Desktop/images/07052026/15/29/image_07052026_15_30_06_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/32/image_07052026_15_33_05_30192.jpg
/home/pi/Desktop/images/07052026/15/32/image_07052026_15_32_35_30189.jpg
/home/pi/Desktop/images/07052026/15/31/image_07052026_15_32_05_29216.jpg
/home/pi/Desktop/images/07052026/15/31/image_07052026_15_31_36_30318.jpg
/home/pi/Desktop/images/07052026/15/30/image_07052026_15_30_35_29206.jpg
/home/pi/Desktop/images/07052026/15/29/image_07052026_15_30_06_30235.jpg
2026-05-11 11:04:03.219559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/02/image_11052026_11_03_14_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/02/image_11052026_11_03_14_30161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847284"],"photo_id":"1416847284","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fbc05f902b49db79ba43c2e07be65ea.jpg","text":"TemporaryFile(/tmp/multipartBody261113586338841697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490304315,"filename":"image_11052026_11_03_14_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416847284"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416847284"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.496573209762573 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847290","1416847287","1416847289","1416847286","1416847285","1416847288"],"photo_ids_order":["1416847285","1416847286","1416847287","1416847288","1416847289","1416847290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b840ef6564da3600ac48fae6a3b60fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1218097336092944150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_30_06_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aea6d2072e6563335d3beaa74ab4470c.jpg","text":"TemporaryFile(/tmp/multipartBody3330659698940308836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_32_05_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/663419faac54f80d6eadb5fe151564a2.jpg","text":"TemporaryFile(/tmp/multipartBody8087155053265102832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_30_35_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b0705b5921b4a7aea3cab41f19658f5.jpg","text":"TemporaryFile(/tmp/multipartBody3675464146964446092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_32_35_30189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20d6aab1858ca66b826ccb4b69392500.jpg","text":"TemporaryFile(/tmp/multipartBody2991732009852286415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_33_05_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/953cfa15e8e20e245a9c82404283acd5.jpg","text":"TemporaryFile(/tmp/multipartBody5173328849629827640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490305225,"filename":"image_07052026_15_31_36_30318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416847287","file1":"1416847286","file0":"1416847285","file4":"1416847289","file5":"1416847290","file3":"1416847288"},"map_files_photo_id_array":[{"photo_id":"1416847290","filename":"file5"},{"photo_id":"1416847287","filename":"file2"},{"photo_id":"1416847289","filename":"file4"},{"photo_id":"1416847286","filename":"file1"},{"photo_id":"1416847285","filename":"file0"},{"photo_id":"1416847288","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416847290":["hashtag1","hashtag2"]},{"1416847287":["hashtag1","hashtag2"]},{"1416847289":["hashtag1","hashtag2"]},{"1416847286":["hashtag1","hashtag2"]},{"1416847285":["hashtag1","hashtag2"]},{"1416847288":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416847290, 1416847287, 1416847289, 1416847286, 1416847285, 1416847288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.192588090896606 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:05:04.037251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/29/image_07052026_15_29_36_30353.jpg', '/home/pi/Desktop/images/07052026/15/28/image_07052026_15_28_35_29208.jpg', '/home/pi/Desktop/images/07052026/15/26/image_07052026_15_27_05_30161.jpg', '/home/pi/Desktop/images/07052026/15/26/image_07052026_15_26_35_30226.jpg', '/home/pi/Desktop/images/07052026/15/25/image_07052026_15_26_05_29196.jpg', '/home/pi/Desktop/images/07052026/15/25/image_07052026_15_25_36_30276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/29/image_07052026_15_29_36_30353.jpg
/home/pi/Desktop/images/07052026/15/28/image_07052026_15_28_35_29208.jpg
/home/pi/Desktop/images/07052026/15/26/image_07052026_15_27_05_30161.jpg
/home/pi/Desktop/images/07052026/15/26/image_07052026_15_26_35_30226.jpg
/home/pi/Desktop/images/07052026/15/25/image_07052026_15_26_05_29196.jpg
/home/pi/Desktop/images/07052026/15/25/image_07052026_15_25_36_30276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847309","1416847300","1416847305","1416847298","1416847307","1416847303"],"photo_ids_order":["1416847298","1416847300","1416847303","1416847305","1416847307","1416847309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aed11ab12ccc23b643b6ae12e948bfb9.jpg","text":"TemporaryFile(/tmp/multipartBody8994377118928074927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_25_36_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2947dda7fadb5ee78e078dc80c3ea62f.jpg","text":"TemporaryFile(/tmp/multipartBody2932192079960589525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_28_35_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6dcd3f31a39a5df563bfa13235ce4840.jpg","text":"TemporaryFile(/tmp/multipartBody3931858323581518026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_26_35_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad51ba63872d07346ca8899e35bb22b4.jpg","text":"TemporaryFile(/tmp/multipartBody6023826660154386280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_29_36_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58ac62f27224fa8ba4ff9a4056be04ce.jpg","text":"TemporaryFile(/tmp/multipartBody2444681579612695649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_26_05_29196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ba5e9c649b452d4e80ba71c0a729c2e.jpg","text":"TemporaryFile(/tmp/multipartBody4244313541766661501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490365935,"filename":"image_07052026_15_27_05_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416847303","file1":"1416847300","file0":"1416847298","file4":"1416847307","file5":"1416847309","file3":"1416847305"},"map_files_photo_id_array":[{"photo_id":"1416847309","filename":"file5"},{"photo_id":"1416847303","filename":"file2"},{"photo_id":"1416847307","filename":"file4"},{"photo_id":"1416847300","filename":"file1"},{"photo_id":"1416847298","filename":"file0"},{"photo_id":"1416847305","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416847309":["hashtag1","hashtag2"]},{"1416847300":["hashtag1","hashtag2"]},{"1416847305":["hashtag1","hashtag2"]},{"1416847298":["hashtag1","hashtag2"]},{"1416847307":["hashtag1","hashtag2"]},{"1416847303":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416847309, 1416847300, 1416847305, 1416847298, 1416847307, 1416847303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.810524463653564 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:06:02.841158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/05/image_11052026_11_05_44_30153.jpg', '/home/pi/Desktop/images/11052026/11/04/image_11052026_11_05_14_30247.jpg', '/home/pi/Desktop/images/11052026/11/04/image_11052026_11_04_44_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/05/image_11052026_11_05_44_30153.jpg
/home/pi/Desktop/images/11052026/11/04/image_11052026_11_05_14_30247.jpg
/home/pi/Desktop/images/11052026/11/04/image_11052026_11_04_44_30190.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416847312","1416847311","1416847313"],"photo_ids_order":["1416847311","1416847312","1416847313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad02757eb1f99a2e6cc98ede3b85f303.jpg","text":"TemporaryFile(/tmp/multipartBody6712338372734624136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490424148,"filename":"image_11052026_11_05_14_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c15b9b397c5a51bb24e829302c31e367.jpg","text":"TemporaryFile(/tmp/multipartBody1608192395845018655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490424148,"filename":"image_11052026_11_05_44_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6be0b5095edb695945a970e521415801.jpg","text":"TemporaryFile(/tmp/multipartBody6063423429128392248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490424148,"filename":"image_11052026_11_04_44_30190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416847313","file1":"1416847312","file0":"1416847311"},"map_files_photo_id_array":[{"photo_id":"1416847313","filename":"file2"},{"photo_id":"1416847312","filename":"file1"},{"photo_id":"1416847311","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416847312":["hashtag1","hashtag2"]},{"1416847311":["hashtag1","hashtag2"]},{"1416847313":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416847312, 1416847311, 1416847313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.50303864479065 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:07:03.970170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/24/image_07052026_15_25_05_30169.jpg', '/home/pi/Desktop/images/07052026/15/24/image_07052026_15_24_35_30287.jpg', '/home/pi/Desktop/images/07052026/15/23/image_07052026_15_24_05_29253.jpg', '/home/pi/Desktop/images/07052026/15/23/image_07052026_15_23_36_30192.jpg', '/home/pi/Desktop/images/07052026/15/22/image_07052026_15_23_05_30220.jpg', '/home/pi/Desktop/images/07052026/15/22/image_07052026_15_22_35_30341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/24/image_07052026_15_25_05_30169.jpg
/home/pi/Desktop/images/07052026/15/24/image_07052026_15_24_35_30287.jpg
/home/pi/Desktop/images/07052026/15/23/image_07052026_15_24_05_29253.jpg
/home/pi/Desktop/images/07052026/15/23/image_07052026_15_23_36_30192.jpg
/home/pi/Desktop/images/07052026/15/22/image_07052026_15_23_05_30220.jpg
/home/pi/Desktop/images/07052026/15/22/image_07052026_15_22_35_30341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848052","1416847755","1416847470","1416848054","1416848047","1416848050"],"photo_ids_order":["1416847470","1416847755","1416848047","1416848050","1416848052","1416848054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44fb73f845b7d0ac5e409e16e832c402.jpg","text":"TemporaryFile(/tmp/multipartBody978115774510021721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_23_05_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c67f7cb9c5f8150d7ef86375230d34a.jpg","text":"TemporaryFile(/tmp/multipartBody6063742511248239967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_24_35_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8d327081cae80e76d66ba95b0c27725c.jpg","text":"TemporaryFile(/tmp/multipartBody2670956266446171195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_25_05_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7cf436df912afa0452c8290956afb7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4814036065284061936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_22_35_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67c0933ed914d2a546ee182c91ec7a90.jpg","text":"TemporaryFile(/tmp/multipartBody5941534894009310567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_24_05_29253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d348a70426c0be663784f8e71e67770.jpg","text":"TemporaryFile(/tmp/multipartBody8826621347820623953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490485757,"filename":"image_07052026_15_23_36_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416848047","file1":"1416847755","file0":"1416847470","file4":"1416848052","file5":"1416848054","file3":"1416848050"},"map_files_photo_id_array":[{"photo_id":"1416848054","filename":"file5"},{"photo_id":"1416848047","filename":"file2"},{"photo_id":"1416848052","filename":"file4"},{"photo_id":"1416847755","filename":"file1"},{"photo_id":"1416847470","filename":"file0"},{"photo_id":"1416848050","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416848052":["hashtag1","hashtag2"]},{"1416847755":["hashtag1","hashtag2"]},{"1416847470":["hashtag1","hashtag2"]},{"1416848054":["hashtag1","hashtag2"]},{"1416848047":["hashtag1","hashtag2"]},{"1416848050":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416848052, 1416847755, 1416847470, 1416848054, 1416848047, 1416848050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78740096092224 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:08:03.487143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/07/image_11052026_11_08_14_30063.jpg', '/home/pi/Desktop/images/11052026/11/07/image_11052026_11_07_44_30063.jpg', '/home/pi/Desktop/images/11052026/11/06/image_11052026_11_07_14_30199.jpg', '/home/pi/Desktop/images/11052026/11/05/image_11052026_11_06_14_29984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/07/image_11052026_11_08_14_30063.jpg
/home/pi/Desktop/images/11052026/11/07/image_11052026_11_07_44_30063.jpg
/home/pi/Desktop/images/11052026/11/06/image_11052026_11_07_14_30199.jpg
/home/pi/Desktop/images/11052026/11/05/image_11052026_11_06_14_29984.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848307","1416848301","1416848306","1416848068"],"photo_ids_order":["1416848068","1416848301","1416848306","1416848307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/517ae507b9cb8297e78704d880cb6359.jpg","text":"TemporaryFile(/tmp/multipartBody1486794357779298633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490545023,"filename":"image_11052026_11_06_14_29984.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/187e363145658bb77c8462fe924dcdf9.jpg","text":"TemporaryFile(/tmp/multipartBody1003145989072890370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490545023,"filename":"image_11052026_11_07_44_30063.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a2c1e2b680c9afd1124faa09b948259.jpg","text":"TemporaryFile(/tmp/multipartBody4196448475837641943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490545023,"filename":"image_11052026_11_07_14_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/edd4b4ce8f36eac93da7229d4f808dbf.jpg","text":"TemporaryFile(/tmp/multipartBody45721543879455847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490545023,"filename":"image_11052026_11_08_14_30063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416848306","file1":"1416848301","file0":"1416848068","file3":"1416848307"},"map_files_photo_id_array":[{"photo_id":"1416848306","filename":"file2"},{"photo_id":"1416848301","filename":"file1"},{"photo_id":"1416848068","filename":"file0"},{"photo_id":"1416848307","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416848307":["hashtag1","hashtag2"]},{"1416848301":["hashtag1","hashtag2"]},{"1416848306":["hashtag1","hashtag2"]},{"1416848068":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416848307, 1416848301, 1416848306, 1416848068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.278234481811523 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:09:03.626368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/07/image_07052026_01_08_05_29303.jpg', '/home/pi/Desktop/images/07052026/01/08/image_07052026_01_08_36_30457.jpg', '/home/pi/Desktop/images/07052026/01/08/image_07052026_01_09_05_29224.jpg', '/home/pi/Desktop/images/07052026/01/09/image_07052026_01_10_06_30366.jpg', '/home/pi/Desktop/images/07052026/01/10/image_07052026_01_10_35_29335.jpg', '/home/pi/Desktop/images/07052026/01/10/image_07052026_01_11_05_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/07/image_07052026_01_08_05_29303.jpg
/home/pi/Desktop/images/07052026/01/08/image_07052026_01_08_36_30457.jpg
/home/pi/Desktop/images/07052026/01/08/image_07052026_01_09_05_29224.jpg
/home/pi/Desktop/images/07052026/01/09/image_07052026_01_10_06_30366.jpg
/home/pi/Desktop/images/07052026/01/10/image_07052026_01_10_35_29335.jpg
/home/pi/Desktop/images/07052026/01/10/image_07052026_01_11_05_30294.jpg
2026-05-11 11:09:04.028131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/08/image_11052026_11_08_43_29041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/08/image_11052026_11_08_43_29041.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9346706867218018 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848433","1416848427","1416848435","1416848429","1416848431","1416848437"],"photo_ids_order":["1416848427","1416848429","1416848431","1416848433","1416848435","1416848437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb48cdba6e666c1b40214324146d67f1.jpg","text":"TemporaryFile(/tmp/multipartBody2311213356662139510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_10_06_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27108791a2783a24f2d8bee9d5fa4080.jpg","text":"TemporaryFile(/tmp/multipartBody4830856164267446980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_08_05_29303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c09095bfe5b8119b9e9d29e978e00c80.jpg","text":"TemporaryFile(/tmp/multipartBody911519262074939065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_10_35_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f2a74b7d6ae99b097b9fe3e411075b6.jpg","text":"TemporaryFile(/tmp/multipartBody4626987548455954714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_08_36_30457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/98e0118133dc39ee2cf12feabf6536fc.jpg","text":"TemporaryFile(/tmp/multipartBody4258492347782739551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_09_05_29224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64639177f073479cc305370ecc5670cd.jpg","text":"TemporaryFile(/tmp/multipartBody8124146762641994909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490606125,"filename":"image_07052026_01_11_05_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416848431","file1":"1416848429","file0":"1416848427","file4":"1416848435","file5":"1416848437","file3":"1416848433"},"map_files_photo_id_array":[{"photo_id":"1416848437","filename":"file5"},{"photo_id":"1416848431","filename":"file2"},{"photo_id":"1416848435","filename":"file4"},{"photo_id":"1416848429","filename":"file1"},{"photo_id":"1416848427","filename":"file0"},{"photo_id":"1416848433","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416848433":["hashtag1","hashtag2"]},{"1416848427":["hashtag1","hashtag2"]},{"1416848435":["hashtag1","hashtag2"]},{"1416848429":["hashtag1","hashtag2"]},{"1416848431":["hashtag1","hashtag2"]},{"1416848437":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416848433, 1416848427, 1416848435, 1416848429, 1416848431, 1416848437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27670931816101 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:10:03.422730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/08/image_11052026_11_08_43_29041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/08/image_11052026_11_08_43_29041.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848439"],"photo_id":"1416848439","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7c453c3623771ba635c3c3ad5ea2d99.jpg","text":"TemporaryFile(/tmp/multipartBody7683474012609602405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490664410,"filename":"image_11052026_11_08_43_29041.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416848439"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416848439"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.2876398563385 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:11:03.652142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/10/image_11052026_11_10_44_30142.jpg', '/home/pi/Desktop/images/11052026/11/09/image_11052026_11_10_14_30144.jpg', '/home/pi/Desktop/images/11052026/11/08/image_11052026_11_09_14_30160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/10/image_11052026_11_10_44_30142.jpg
/home/pi/Desktop/images/11052026/11/09/image_11052026_11_10_14_30144.jpg
/home/pi/Desktop/images/11052026/11/08/image_11052026_11_09_14_30160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848441","1416848444","1416848443"],"photo_ids_order":["1416848441","1416848443","1416848444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/543f76213399c6510966f7568bf9ad47.jpg","text":"TemporaryFile(/tmp/multipartBody1961770719242934132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490724991,"filename":"image_11052026_11_10_44_30142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca4c7d499517bc7edc6168469cbcf5b3.jpg","text":"TemporaryFile(/tmp/multipartBody5351584876704402173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490724991,"filename":"image_11052026_11_09_14_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f98913fbd950521b9f3d831781d8f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7912481019295778934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490724991,"filename":"image_11052026_11_10_14_30144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416848444","file1":"1416848443","file0":"1416848441"},"map_files_photo_id_array":[{"photo_id":"1416848444","filename":"file2"},{"photo_id":"1416848443","filename":"file1"},{"photo_id":"1416848441","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416848441":["hashtag1","hashtag2"]},{"1416848444":["hashtag1","hashtag2"]},{"1416848443":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416848441, 1416848444, 1416848443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 42.62694692611694 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:12:03.002608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/21/image_07052026_15_22_05_29253.jpg', '/home/pi/Desktop/images/07052026/15/21/image_07052026_15_21_36_30327.jpg', '/home/pi/Desktop/images/07052026/15/20/image_07052026_15_21_05_30212.jpg', '/home/pi/Desktop/images/07052026/15/20/image_07052026_15_20_35_30260.jpg', '/home/pi/Desktop/images/07052026/15/19/image_07052026_15_20_05_29188.jpg', '/home/pi/Desktop/images/07052026/15/19/image_07052026_15_19_36_30301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/21/image_07052026_15_22_05_29253.jpg
/home/pi/Desktop/images/07052026/15/21/image_07052026_15_21_36_30327.jpg
/home/pi/Desktop/images/07052026/15/20/image_07052026_15_21_05_30212.jpg
/home/pi/Desktop/images/07052026/15/20/image_07052026_15_20_35_30260.jpg
/home/pi/Desktop/images/07052026/15/19/image_07052026_15_20_05_29188.jpg
/home/pi/Desktop/images/07052026/15/19/image_07052026_15_19_36_30301.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848457","1416848451","1416848459","1416848453","1416848461","1416848455"],"photo_ids_order":["1416848451","1416848453","1416848455","1416848457","1416848459","1416848461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5a62dcc8186ef23f4fc9484b68a16b8.jpg","text":"TemporaryFile(/tmp/multipartBody2032861403305375088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_20_35_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a98023e8fd95575bfcea4641b182e15.jpg","text":"TemporaryFile(/tmp/multipartBody7124880241274706993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_22_05_29253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81b0a7607173aca360ae41c8e6137948.jpg","text":"TemporaryFile(/tmp/multipartBody7343336544493159840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_20_05_29188.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bdd83fa39ecfb28c3a970af6c6e35fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6876458633750738298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_21_36_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23bd4721e12365ba609f2deb24f8bb63.jpg","text":"TemporaryFile(/tmp/multipartBody4503765428417459853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_19_36_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b3bf60401f7add7f3626e2a98896df3.jpg","text":"TemporaryFile(/tmp/multipartBody7824826997013145951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490785006,"filename":"image_07052026_15_21_05_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416848455","file1":"1416848453","file0":"1416848451","file4":"1416848459","file5":"1416848461","file3":"1416848457"},"map_files_photo_id_array":[{"photo_id":"1416848461","filename":"file5"},{"photo_id":"1416848455","filename":"file2"},{"photo_id":"1416848459","filename":"file4"},{"photo_id":"1416848453","filename":"file1"},{"photo_id":"1416848451","filename":"file0"},{"photo_id":"1416848457","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416848457":["hashtag1","hashtag2"]},{"1416848451":["hashtag1","hashtag2"]},{"1416848459":["hashtag1","hashtag2"]},{"1416848453":["hashtag1","hashtag2"]},{"1416848461":["hashtag1","hashtag2"]},{"1416848455":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416848457, 1416848451, 1416848459, 1416848453, 1416848461, 1416848455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10186767578125 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:13:04.309814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/10/image_11052026_11_11_14_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/10/image_11052026_11_11_14_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416848464"],"photo_id":"1416848464","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cefd444412e020fcefebd3ee51b12bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3847958911810558087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490845313,"filename":"image_11052026_11_11_14_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416848464"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416848464"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.39488172531128 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:14:03.970249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
2026-05-11 11:14:03.965212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/18/image_07052026_15_19_05_30250.jpg', '/home/pi/Desktop/images/07052026/15/18/image_07052026_15_18_35_30213.jpg', '/home/pi/Desktop/images/07052026/15/16/image_07052026_15_16_35_30333.jpg', '/home/pi/Desktop/images/07052026/15/14/image_07052026_15_14_35_30236.jpg', '/home/pi/Desktop/images/07052026/15/13/image_07052026_15_14_05_29166.jpg', '/home/pi/Desktop/images/07052026/15/13/image_07052026_15_13_36_30362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/11/image_07052026_01_11_35_30246.jpg', '/home/pi/Desktop/images/07052026/01/11/image_07052026_01_12_06_30282.jpg', '/home/pi/Desktop/images/07052026/01/15/image_07052026_01_16_05_30386.jpg', '/home/pi/Desktop/images/07052026/01/16/image_07052026_01_16_36_30285.jpg', '/home/pi/Desktop/images/07052026/01/17/image_07052026_01_17_35_29269.jpg', '/home/pi/Desktop/images/07052026/01/22/image_07052026_01_23_05_29255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/18/image_07052026_15_19_05_30250.jpg
/home/pi/Desktop/images/07052026/01/11/image_07052026_01_11_35_30246.jpg
/home/pi/Desktop/images/07052026/15/18/image_07052026_15_18_35_30213.jpg
/home/pi/Desktop/images/07052026/01/11/image_07052026_01_12_06_30282.jpg
/home/pi/Desktop/images/07052026/15/16/image_07052026_15_16_35_30333.jpg
/home/pi/Desktop/images/07052026/01/15/image_07052026_01_16_05_30386.jpg
/home/pi/Desktop/images/07052026/15/14/image_07052026_15_14_35_30236.jpg
/home/pi/Desktop/images/07052026/01/16/image_07052026_01_16_36_30285.jpg
/home/pi/Desktop/images/07052026/15/13/image_07052026_15_14_05_29166.jpg
/home/pi/Desktop/images/07052026/01/17/image_07052026_01_17_35_29269.jpg
/home/pi/Desktop/images/07052026/15/13/image_07052026_15_13_36_30362.jpg
/home/pi/Desktop/images/07052026/01/22/image_07052026_01_23_05_29255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849038","1416849032","1416848989","1416848636","1416849034","1416849036"],"photo_ids_order":["1416848636","1416848989","1416849032","1416849034","1416849036","1416849038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a495528e040d6693a3c0a9b05ff641e.jpg","text":"TemporaryFile(/tmp/multipartBody5762523812223975208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_13_36_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f088fce1e4daee7cb161ee10c36b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody5429281808747061486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_16_35_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/667c3b524ba6f972d3987284cf0c5297.jpg","text":"TemporaryFile(/tmp/multipartBody7084748536745296195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_18_35_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de08ebc07efba29d4cfe8ceed3d8161b.jpg","text":"TemporaryFile(/tmp/multipartBody2484787626772359830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_19_05_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9dcfec676c6766f2a2872aecef893a5.jpg","text":"TemporaryFile(/tmp/multipartBody5020735930932513080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_14_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b99b8bb06715f020f6525221d3301705.jpg","text":"TemporaryFile(/tmp/multipartBody4740942561580237296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906293,"filename":"image_07052026_15_14_05_29166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416849032","file1":"1416848989","file0":"1416848636","file4":"1416849036","file5":"1416849038","file3":"1416849034"},"map_files_photo_id_array":[{"photo_id":"1416849038","filename":"file5"},{"photo_id":"1416849032","filename":"file2"},{"photo_id":"1416849036","filename":"file4"},{"photo_id":"1416848989","filename":"file1"},{"photo_id":"1416848636","filename":"file0"},{"photo_id":"1416849034","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416849038":["hashtag1","hashtag2"]},{"1416849032":["hashtag1","hashtag2"]},{"1416848989":["hashtag1","hashtag2"]},{"1416848636":["hashtag1","hashtag2"]},{"1416849034":["hashtag1","hashtag2"]},{"1416849036":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416849038, 1416849032, 1416848989, 1416848636, 1416849034, 1416849036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32239103317261 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849035","1416848675","1416849011","1416849037","1416849039","1416849033"],"photo_ids_order":["1416848675","1416849011","1416849033","1416849035","1416849037","1416849039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1545598c5ad8d08fbaba1c110a17abac.jpg","text":"TemporaryFile(/tmp/multipartBody4081783985508286374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_16_36_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e75af10cf454ce9711bd7cf38cf8c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1017365830637420075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_11_35_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30c86f24cb8366ffef9089a56122ae70.jpg","text":"TemporaryFile(/tmp/multipartBody596739537447443136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_12_06_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c0d1cee8108f5520d5b34c79b78ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody2793997485168774512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_17_35_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75b388671bec0aedcff57820a26b45ec.jpg","text":"TemporaryFile(/tmp/multipartBody6566589983536912161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_23_05_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a78925c5b2da42b9b5f45e380aba7f9d.jpg","text":"TemporaryFile(/tmp/multipartBody1207814729440584971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490906851,"filename":"image_07052026_01_16_05_30386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416849033","file1":"1416849011","file0":"1416848675","file4":"1416849037","file5":"1416849039","file3":"1416849035"},"map_files_photo_id_array":[{"photo_id":"1416849039","filename":"file5"},{"photo_id":"1416849033","filename":"file2"},{"photo_id":"1416849037","filename":"file4"},{"photo_id":"1416849011","filename":"file1"},{"photo_id":"1416848675","filename":"file0"},{"photo_id":"1416849035","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416849035":["hashtag1","hashtag2"]},{"1416848675":["hashtag1","hashtag2"]},{"1416849011":["hashtag1","hashtag2"]},{"1416849037":["hashtag1","hashtag2"]},{"1416849039":["hashtag1","hashtag2"]},{"1416849033":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416849035, 1416848675, 1416849011, 1416849037, 1416849039, 1416849033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74851655960083 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:15:04.248515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/15/image_11052026_11_15_44_30220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/15/image_11052026_11_15_44_30220.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849236"],"photo_id":"1416849236","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a0da1ee2acd185d0c7aa24553c0640a.jpg","text":"TemporaryFile(/tmp/multipartBody499613850854763536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778490965455,"filename":"image_11052026_11_15_44_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416849236"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416849236"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.294647455215454 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:16:03.007649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/12/image_07052026_15_13_05_30230.jpg', '/home/pi/Desktop/images/07052026/15/12/image_07052026_15_12_35_30214.jpg', '/home/pi/Desktop/images/07052026/15/11/image_07052026_15_12_05_29159.jpg', '/home/pi/Desktop/images/07052026/15/11/image_07052026_15_11_36_30439.jpg', '/home/pi/Desktop/images/07052026/15/10/image_07052026_15_10_35_30203.jpg', '/home/pi/Desktop/images/07052026/15/09/image_07052026_15_10_05_29175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/12/image_07052026_15_13_05_30230.jpg
/home/pi/Desktop/images/07052026/15/12/image_07052026_15_12_35_30214.jpg
/home/pi/Desktop/images/07052026/15/11/image_07052026_15_12_05_29159.jpg
/home/pi/Desktop/images/07052026/15/11/image_07052026_15_11_36_30439.jpg
/home/pi/Desktop/images/07052026/15/10/image_07052026_15_10_35_30203.jpg
/home/pi/Desktop/images/07052026/15/09/image_07052026_15_10_05_29175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849272","1416849275","1416849274","1416849268","1416849270","1416849276"],"photo_ids_order":["1416849268","1416849270","1416849272","1416849274","1416849275","1416849276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/250257b62906376986b1871d150048a6.jpg","text":"TemporaryFile(/tmp/multipartBody3426905565818813634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_12_05_29159.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67d2f7f392d7969834fd07a02c540d53.jpg","text":"TemporaryFile(/tmp/multipartBody525621711370222426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_10_35_30203.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d341ab6bca5972812d1e8551068dc8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4355452545590299457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_11_36_30439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1938adf20b1ecae8223a7b627dd68eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7547088319670007695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_13_05_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53b98abe56616fc4c36209fa14ad7ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5597970673744092796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_12_35_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d43b5c40ec6bfeb343d8b80be0261910.jpg","text":"TemporaryFile(/tmp/multipartBody940721445661783976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491025101,"filename":"image_07052026_15_10_05_29175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416849272","file1":"1416849270","file0":"1416849268","file4":"1416849275","file5":"1416849276","file3":"1416849274"},"map_files_photo_id_array":[{"photo_id":"1416849276","filename":"file5"},{"photo_id":"1416849272","filename":"file2"},{"photo_id":"1416849275","filename":"file4"},{"photo_id":"1416849270","filename":"file1"},{"photo_id":"1416849268","filename":"file0"},{"photo_id":"1416849274","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416849272":["hashtag1","hashtag2"]},{"1416849275":["hashtag1","hashtag2"]},{"1416849274":["hashtag1","hashtag2"]},{"1416849268":["hashtag1","hashtag2"]},{"1416849270":["hashtag1","hashtag2"]},{"1416849276":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416849272, 1416849275, 1416849274, 1416849268, 1416849270, 1416849276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72628736495972 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:17:04.163640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/16/image_11052026_11_16_44_29216.jpg', '/home/pi/Desktop/images/11052026/11/15/image_11052026_11_16_14_30252.jpg', '/home/pi/Desktop/images/11052026/11/13/image_11052026_11_13_44_30129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/16/image_11052026_11_16_44_29216.jpg
/home/pi/Desktop/images/11052026/11/15/image_11052026_11_16_14_30252.jpg
/home/pi/Desktop/images/11052026/11/13/image_11052026_11_13_44_30129.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1646652221679688 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:18:03.700935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/16/image_11052026_11_17_14_30271.jpg', '/home/pi/Desktop/images/11052026/11/16/image_11052026_11_16_44_29216.jpg', '/home/pi/Desktop/images/11052026/11/15/image_11052026_11_16_14_30252.jpg', '/home/pi/Desktop/images/11052026/11/13/image_11052026_11_13_44_30129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/16/image_11052026_11_17_14_30271.jpg
/home/pi/Desktop/images/11052026/11/16/image_11052026_11_16_44_29216.jpg
/home/pi/Desktop/images/11052026/11/15/image_11052026_11_16_14_30252.jpg
/home/pi/Desktop/images/11052026/11/13/image_11052026_11_13_44_30129.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849290","1416849293","1416849292","1416849294"],"photo_ids_order":["1416849290","1416849292","1416849293","1416849294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfb2914d1da5218dfab08504ac11338e.jpg","text":"TemporaryFile(/tmp/multipartBody4841439757490566868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491145303,"filename":"image_11052026_11_17_14_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df6d97cdc66fb42886d8acdf4a90746d.jpg","text":"TemporaryFile(/tmp/multipartBody6807429789607627404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491145303,"filename":"image_11052026_11_16_14_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c1d2369c0afc01c0dd23b721a2e82d7.jpg","text":"TemporaryFile(/tmp/multipartBody6700058002839869961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491145303,"filename":"image_11052026_11_16_44_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/208a70ce8ae4b78617e1d9ce2bdbb97e.jpg","text":"TemporaryFile(/tmp/multipartBody1296517893966226770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491145303,"filename":"image_11052026_11_13_44_30129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416849293","file1":"1416849292","file0":"1416849290","file3":"1416849294"},"map_files_photo_id_array":[{"photo_id":"1416849293","filename":"file2"},{"photo_id":"1416849292","filename":"file1"},{"photo_id":"1416849290","filename":"file0"},{"photo_id":"1416849294","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416849290":["hashtag1","hashtag2"]},{"1416849293":["hashtag1","hashtag2"]},{"1416849292":["hashtag1","hashtag2"]},{"1416849294":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416849290, 1416849293, 1416849292, 1416849294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.70940351486206 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:19:03.785351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/23/image_07052026_01_23_35_30403.jpg', '/home/pi/Desktop/images/07052026/01/23/image_07052026_01_24_06_30423.jpg', '/home/pi/Desktop/images/07052026/01/24/image_07052026_01_24_35_29267.jpg', '/home/pi/Desktop/images/07052026/01/24/image_07052026_01_25_05_30302.jpg', '/home/pi/Desktop/images/07052026/01/25/image_07052026_01_25_36_30382.jpg', '/home/pi/Desktop/images/07052026/01/28/image_07052026_01_28_35_30232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/23/image_07052026_01_23_35_30403.jpg
/home/pi/Desktop/images/07052026/01/23/image_07052026_01_24_06_30423.jpg
/home/pi/Desktop/images/07052026/01/24/image_07052026_01_24_35_29267.jpg
/home/pi/Desktop/images/07052026/01/24/image_07052026_01_25_05_30302.jpg
/home/pi/Desktop/images/07052026/01/25/image_07052026_01_25_36_30382.jpg
/home/pi/Desktop/images/07052026/01/28/image_07052026_01_28_35_30232.jpg
2026-05-11 11:19:04.166773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/09/image_07052026_15_09_36_30314.jpg', '/home/pi/Desktop/images/07052026/15/08/image_07052026_15_09_05_30303.jpg', '/home/pi/Desktop/images/07052026/15/08/image_07052026_15_08_35_30253.jpg', '/home/pi/Desktop/images/07052026/15/07/image_07052026_15_08_05_29215.jpg', '/home/pi/Desktop/images/07052026/15/06/image_07052026_15_07_05_30288.jpg', '/home/pi/Desktop/images/07052026/15/06/image_07052026_15_06_35_30270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/09/image_07052026_15_09_36_30314.jpg
/home/pi/Desktop/images/07052026/15/08/image_07052026_15_09_05_30303.jpg
/home/pi/Desktop/images/07052026/15/08/image_07052026_15_08_35_30253.jpg
/home/pi/Desktop/images/07052026/15/07/image_07052026_15_08_05_29215.jpg
/home/pi/Desktop/images/07052026/15/06/image_07052026_15_07_05_30288.jpg
/home/pi/Desktop/images/07052026/15/06/image_07052026_15_06_35_30270.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5587496757507324 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416849959","1416849815","1416849818","1416849812","1416849961","1416849810"],"photo_ids_order":["1416849810","1416849812","1416849815","1416849818","1416849959","1416849961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f5d096f7aed99b421139770b2364663.jpg","text":"TemporaryFile(/tmp/multipartBody8883740010678678638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_07_05_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb162dd6efdb58103440e79ef02ea96b.jpg","text":"TemporaryFile(/tmp/multipartBody8357001649309062314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_08_35_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9b1cb98fe17f7a7332ea8b5cb776824.jpg","text":"TemporaryFile(/tmp/multipartBody7075615436309436041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_08_05_29215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b87f378e2514bf051db7f0600e985c0.jpg","text":"TemporaryFile(/tmp/multipartBody4848428174225371597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_09_05_30303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5af80b4de1233c20c338f6af88f146b0.jpg","text":"TemporaryFile(/tmp/multipartBody3402015671249655398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_06_35_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1b4198f28ed47c73fe88d7f7c964903.jpg","text":"TemporaryFile(/tmp/multipartBody2488978643717573953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491207336,"filename":"image_07052026_15_09_36_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416849815","file1":"1416849812","file0":"1416849810","file4":"1416849959","file5":"1416849961","file3":"1416849818"},"map_files_photo_id_array":[{"photo_id":"1416849961","filename":"file5"},{"photo_id":"1416849815","filename":"file2"},{"photo_id":"1416849959","filename":"file4"},{"photo_id":"1416849812","filename":"file1"},{"photo_id":"1416849810","filename":"file0"},{"photo_id":"1416849818","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416849959":["hashtag1","hashtag2"]},{"1416849815":["hashtag1","hashtag2"]},{"1416849818":["hashtag1","hashtag2"]},{"1416849812":["hashtag1","hashtag2"]},{"1416849961":["hashtag1","hashtag2"]},{"1416849810":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416849959, 1416849815, 1416849818, 1416849812, 1416849961, 1416849810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37067365646362 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:20:03.526055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/05/image_07052026_15_05_36_30307.jpg', '/home/pi/Desktop/images/07052026/15/04/image_07052026_15_05_05_30309.jpg', '/home/pi/Desktop/images/07052026/15/04/image_07052026_15_04_35_30247.jpg', '/home/pi/Desktop/images/07052026/15/03/image_07052026_15_04_05_29266.jpg', '/home/pi/Desktop/images/07052026/15/03/image_07052026_15_03_36_30367.jpg', '/home/pi/Desktop/images/07052026/15/02/image_07052026_15_03_05_30338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/05/image_07052026_15_05_36_30307.jpg
/home/pi/Desktop/images/07052026/15/04/image_07052026_15_05_05_30309.jpg
/home/pi/Desktop/images/07052026/15/04/image_07052026_15_04_35_30247.jpg
/home/pi/Desktop/images/07052026/15/03/image_07052026_15_04_05_29266.jpg
/home/pi/Desktop/images/07052026/15/03/image_07052026_15_03_36_30367.jpg
/home/pi/Desktop/images/07052026/15/02/image_07052026_15_03_05_30338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850041","1416850038","1416850040","1416850042","1416850039","1416850036"],"photo_ids_order":["1416850036","1416850038","1416850039","1416850040","1416850041","1416850042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70d343a052dc94c79503876dff9a0b65.jpg","text":"TemporaryFile(/tmp/multipartBody5021550776747167654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_03_36_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/559ba91dee8925cc481956cbf07a98ee.jpg","text":"TemporaryFile(/tmp/multipartBody2178886062282516411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_05_05_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa94af5b58c2c98b1c4d91095f842416.jpg","text":"TemporaryFile(/tmp/multipartBody7545337418721703801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_04_05_29266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4d11c6b8369185937bf95da10d54dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5212413658180611427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_03_05_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d28d4626f7378d862bc51c7db03b72f9.jpg","text":"TemporaryFile(/tmp/multipartBody650802086706393454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_04_35_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72cea39bb25011a01cfab47a30481ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2426921507817568476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491265628,"filename":"image_07052026_15_05_36_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416850039","file1":"1416850038","file0":"1416850036","file4":"1416850041","file5":"1416850042","file3":"1416850040"},"map_files_photo_id_array":[{"photo_id":"1416850042","filename":"file5"},{"photo_id":"1416850039","filename":"file2"},{"photo_id":"1416850041","filename":"file4"},{"photo_id":"1416850038","filename":"file1"},{"photo_id":"1416850036","filename":"file0"},{"photo_id":"1416850040","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416850041":["hashtag1","hashtag2"]},{"1416850038":["hashtag1","hashtag2"]},{"1416850040":["hashtag1","hashtag2"]},{"1416850042":["hashtag1","hashtag2"]},{"1416850039":["hashtag1","hashtag2"]},{"1416850036":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416850041, 1416850038, 1416850040, 1416850042, 1416850039, 1416850036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.332690477371216 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:21:03.747006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/02/image_07052026_15_02_35_29284.jpg', '/home/pi/Desktop/images/07052026/15/00/image_07052026_15_00_36_30341.jpg', '/home/pi/Desktop/images/07052026/14/59/image_07052026_15_00_05_30249.jpg', '/home/pi/Desktop/images/07052026/14/59/image_07052026_14_59_35_29275.jpg', '/home/pi/Desktop/images/07052026/14/58/image_07052026_14_58_36_30152.jpg', '/home/pi/Desktop/images/07052026/14/57/image_07052026_14_58_05_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/02/image_07052026_15_02_35_29284.jpg
/home/pi/Desktop/images/07052026/15/00/image_07052026_15_00_36_30341.jpg
/home/pi/Desktop/images/07052026/14/59/image_07052026_15_00_05_30249.jpg
/home/pi/Desktop/images/07052026/14/59/image_07052026_14_59_35_29275.jpg
/home/pi/Desktop/images/07052026/14/58/image_07052026_14_58_36_30152.jpg
/home/pi/Desktop/images/07052026/14/57/image_07052026_14_58_05_30235.jpg
 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>8db58cioi</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>8db58cioi</strong>.
uploaded 0 photos
time to upload: 85.160071849823 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:23:03.673582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/21/image_11052026_11_21_44_29192.jpg', '/home/pi/Desktop/images/11052026/11/20/image_11052026_11_21_14_30158.jpg', '/home/pi/Desktop/images/11052026/11/18/image_11052026_11_18_43_29209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/21/image_11052026_11_21_44_29192.jpg
/home/pi/Desktop/images/11052026/11/20/image_11052026_11_21_14_30158.jpg
/home/pi/Desktop/images/11052026/11/18/image_11052026_11_18_43_29209.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850062","1416850064","1416850063"],"photo_ids_order":["1416850062","1416850063","1416850064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5a0c8b2e2f505c219ffa7645aa1ba43.jpg","text":"TemporaryFile(/tmp/multipartBody7495533898916918435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491444933,"filename":"image_11052026_11_21_44_29192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e109cde11755aea9c1de4f91c7f84c11.jpg","text":"TemporaryFile(/tmp/multipartBody3514202352464727841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491444933,"filename":"image_11052026_11_18_43_29209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cae1664bbeba80b8b846934c43820aec.jpg","text":"TemporaryFile(/tmp/multipartBody7410517632711271451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491444933,"filename":"image_11052026_11_21_14_30158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416850064","file1":"1416850063","file0":"1416850062"},"map_files_photo_id_array":[{"photo_id":"1416850064","filename":"file2"},{"photo_id":"1416850063","filename":"file1"},{"photo_id":"1416850062","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416850062":["hashtag1","hashtag2"]},{"1416850064":["hashtag1","hashtag2"]},{"1416850063":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416850062, 1416850064, 1416850063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.371544122695923 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:24:03.418478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/22/image_11052026_11_23_14_30202.jpg', '/home/pi/Desktop/images/11052026/11/21/image_11052026_11_22_14_30032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/22/image_11052026_11_23_14_30202.jpg
/home/pi/Desktop/images/11052026/11/21/image_11052026_11_22_14_30032.jpg
2026-05-11 11:24:03.418478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/21/image_11052026_11_22_14_30032.jpg', '/home/pi/Desktop/images/11052026/11/22/image_11052026_11_23_14_30202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/21/image_11052026_11_22_14_30032.jpg
/home/pi/Desktop/images/11052026/11/22/image_11052026_11_23_14_30202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850070","1416850067"],"photo_ids_order":["1416850067","1416850070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe4b7189f7102fbb842ad9d49ac325be.jpg","text":"TemporaryFile(/tmp/multipartBody5250147035247820728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491504881,"filename":"image_11052026_11_23_14_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51c22a0f0d9a2a9b11a1cd3f1af22576.jpg","text":"TemporaryFile(/tmp/multipartBody1035821041206171764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491504881,"filename":"image_11052026_11_22_14_30032.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416850070","file0":"1416850067"},"map_files_photo_id_array":[{"photo_id":"1416850070","filename":"file1"},{"photo_id":"1416850067","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416850070":["hashtag1","hashtag2"]},{"1416850067":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416850070, 1416850067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.47970676422119 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850066","1416850071"],"photo_ids_order":["1416850066","1416850071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b474453b862748effd5dc001115321a.jpg","text":"TemporaryFile(/tmp/multipartBody2208434220756489419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491504829,"filename":"image_11052026_11_23_14_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bab9e64bafec770a6107f40e2ef97c5.jpg","text":"TemporaryFile(/tmp/multipartBody8910442671143605261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491504829,"filename":"image_11052026_11_22_14_30032.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416850071","file0":"1416850066"},"map_files_photo_id_array":[{"photo_id":"1416850071","filename":"file1"},{"photo_id":"1416850066","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416850066":["hashtag1","hashtag2"]},{"1416850071":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416850066, 1416850071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.693191528320312 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:25:04.552434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/15/02/image_07052026_15_02_35_29284.jpg', '/home/pi/Desktop/images/07052026/15/00/image_07052026_15_00_36_30341.jpg', '/home/pi/Desktop/images/07052026/14/59/image_07052026_15_00_05_30249.jpg', '/home/pi/Desktop/images/07052026/14/59/image_07052026_14_59_35_29275.jpg', '/home/pi/Desktop/images/07052026/14/58/image_07052026_14_58_36_30152.jpg', '/home/pi/Desktop/images/07052026/14/57/image_07052026_14_58_05_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/15/02/image_07052026_15_02_35_29284.jpg
/home/pi/Desktop/images/07052026/15/00/image_07052026_15_00_36_30341.jpg
/home/pi/Desktop/images/07052026/14/59/image_07052026_15_00_05_30249.jpg
/home/pi/Desktop/images/07052026/14/59/image_07052026_14_59_35_29275.jpg
/home/pi/Desktop/images/07052026/14/58/image_07052026_14_58_36_30152.jpg
/home/pi/Desktop/images/07052026/14/57/image_07052026_14_58_05_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850083","1416850085","1416850088","1416850087","1416850084","1416850086"],"photo_ids_order":["1416850083","1416850084","1416850085","1416850086","1416850087","1416850088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35eb5682f383957b9f2f856c1b16afca.jpg","text":"TemporaryFile(/tmp/multipartBody6218522825314035631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_15_02_35_29284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c31b1b3f55c9f2a958ff636d572b0a6.jpg","text":"TemporaryFile(/tmp/multipartBody6444227484888893159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_15_00_05_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae3d0e9f21c003e48674289920328326.jpg","text":"TemporaryFile(/tmp/multipartBody3252318677988266856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_14_58_05_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff53b4b5728e74000ef8ec144690c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody4311781320589965057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_14_58_36_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f18560c6b0d2581cd834efebb9f0bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody2502395342634486377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_15_00_36_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd4c16b54d10e3b41ce74f284c01afc8.jpg","text":"TemporaryFile(/tmp/multipartBody2352370874886243669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491566498,"filename":"image_07052026_14_59_35_29275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416850085","file1":"1416850084","file0":"1416850083","file4":"1416850087","file5":"1416850088","file3":"1416850086"},"map_files_photo_id_array":[{"photo_id":"1416850088","filename":"file5"},{"photo_id":"1416850085","filename":"file2"},{"photo_id":"1416850087","filename":"file4"},{"photo_id":"1416850084","filename":"file1"},{"photo_id":"1416850083","filename":"file0"},{"photo_id":"1416850086","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416850083":["hashtag1","hashtag2"]},{"1416850085":["hashtag1","hashtag2"]},{"1416850088":["hashtag1","hashtag2"]},{"1416850087":["hashtag1","hashtag2"]},{"1416850084":["hashtag1","hashtag2"]},{"1416850086":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416850083, 1416850085, 1416850088, 1416850087, 1416850084, 1416850086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07269835472107 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:26:03.086420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/57/image_07052026_14_57_35_30279.jpg', '/home/pi/Desktop/images/07052026/14/56/image_07052026_14_57_05_29219.jpg', '/home/pi/Desktop/images/07052026/14/56/image_07052026_14_56_36_30230.jpg', '/home/pi/Desktop/images/07052026/14/54/image_07052026_14_55_05_29166.jpg', '/home/pi/Desktop/images/07052026/14/54/image_07052026_14_54_36_30249.jpg', '/home/pi/Desktop/images/07052026/14/53/image_07052026_14_54_06_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/57/image_07052026_14_57_35_30279.jpg
/home/pi/Desktop/images/07052026/14/56/image_07052026_14_57_05_29219.jpg
/home/pi/Desktop/images/07052026/14/56/image_07052026_14_56_36_30230.jpg
/home/pi/Desktop/images/07052026/14/54/image_07052026_14_55_05_29166.jpg
/home/pi/Desktop/images/07052026/14/54/image_07052026_14_54_36_30249.jpg
/home/pi/Desktop/images/07052026/14/53/image_07052026_14_54_06_30190.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850094","1416850091","1416850100","1416850096","1416850098","1416850092"],"photo_ids_order":["1416850091","1416850092","1416850094","1416850096","1416850098","1416850100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f3f4b6ae0e70966c626bc599f72d106.jpg","text":"TemporaryFile(/tmp/multipartBody7303037835948542347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_56_36_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84b3b97f4d7991eb083c55e8ff5f433d.jpg","text":"TemporaryFile(/tmp/multipartBody709937614016890283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_57_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa39dc0efd73416cf77809f803de16fe.jpg","text":"TemporaryFile(/tmp/multipartBody2540898490181664089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_54_06_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9cd085aaab4da97960c5e52aa314f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8099508949939383742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_55_05_29166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e0db0f13c65f1f7b237035c87636e43.jpg","text":"TemporaryFile(/tmp/multipartBody4500742042041261406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_54_36_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06dba79b53aa689db694fc283b1ae138.jpg","text":"TemporaryFile(/tmp/multipartBody5469066999407479409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491625178,"filename":"image_07052026_14_57_05_29219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416850094","file1":"1416850092","file0":"1416850091","file4":"1416850098","file5":"1416850100","file3":"1416850096"},"map_files_photo_id_array":[{"photo_id":"1416850100","filename":"file5"},{"photo_id":"1416850094","filename":"file2"},{"photo_id":"1416850098","filename":"file4"},{"photo_id":"1416850092","filename":"file1"},{"photo_id":"1416850091","filename":"file0"},{"photo_id":"1416850096","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416850094":["hashtag1","hashtag2"]},{"1416850091":["hashtag1","hashtag2"]},{"1416850100":["hashtag1","hashtag2"]},{"1416850096":["hashtag1","hashtag2"]},{"1416850098":["hashtag1","hashtag2"]},{"1416850092":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416850094, 1416850091, 1416850100, 1416850096, 1416850098, 1416850092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49069118499756 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:27:04.219531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/23/image_11052026_11_23_44_30095.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/23/image_11052026_11_23_44_30095.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850103"],"photo_id":"1416850103","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2976e86f6a77ad880d6f0ef1ef78ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4335396193810907403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491685216,"filename":"image_11052026_11_23_44_30095.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416850103"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416850103"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.425444841384888 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:28:02.758823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/26/image_11052026_11_26_44_30267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/26/image_11052026_11_26_44_30267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850106"],"photo_id":"1416850106","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bfbcd2e6e1a4d862b1c8716b888631f.jpg","text":"TemporaryFile(/tmp/multipartBody2107547844033522724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491743782,"filename":"image_11052026_11_26_44_30267.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416850106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416850106"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.43944501876831 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:29:04.154493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/26/image_11052026_11_27_14_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/26/image_11052026_11_27_14_30331.jpg
2026-05-11 11:29:04.250041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/26/image_11052026_11_27_14_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/26/image_11052026_11_27_14_30331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850113"],"photo_id":"1416850113","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5dba996475304b50c3b1986bc8b1dea4.jpg","text":"TemporaryFile(/tmp/multipartBody6271425101059313095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491805372,"filename":"image_11052026_11_27_14_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416850113"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416850113"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.338566064834595 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850112"],"photo_id":"1416850112","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8320774ae8717769f0182208907be6a.jpg","text":"TemporaryFile(/tmp/multipartBody1049086812872619500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491805353,"filename":"image_11052026_11_27_14_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416850112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416850112"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.602762222290039 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:30:03.099666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/29/image_11052026_11_30_13_30046.jpg', '/home/pi/Desktop/images/11052026/11/29/image_11052026_11_29_43_29107.jpg', '/home/pi/Desktop/images/11052026/11/28/image_11052026_11_29_14_30246.jpg', '/home/pi/Desktop/images/11052026/11/27/image_11052026_11_28_14_30244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/29/image_11052026_11_30_13_30046.jpg
/home/pi/Desktop/images/11052026/11/29/image_11052026_11_29_43_29107.jpg
/home/pi/Desktop/images/11052026/11/28/image_11052026_11_29_14_30246.jpg
/home/pi/Desktop/images/11052026/11/27/image_11052026_11_28_14_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416850230","1416850119","1416850121","1416850543"],"photo_ids_order":["1416850119","1416850121","1416850230","1416850543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19f96d5c6446783a3571e78476f417fe.jpg","text":"TemporaryFile(/tmp/multipartBody7364069062478729985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491864702,"filename":"image_11052026_11_29_14_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a691053c5de5feccffaf39d3fe9d3180.jpg","text":"TemporaryFile(/tmp/multipartBody3809213720650843033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491864702,"filename":"image_11052026_11_30_13_30046.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1ee81e1476e32da949b5e896deaf07cd.jpg","text":"TemporaryFile(/tmp/multipartBody6692148797224115306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491864702,"filename":"image_11052026_11_29_43_29107.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/579d2dd54e152dc324b43db0c0b4da2c.jpg","text":"TemporaryFile(/tmp/multipartBody9107118497303841383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491864702,"filename":"image_11052026_11_28_14_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416850230","file1":"1416850121","file0":"1416850119","file3":"1416850543"},"map_files_photo_id_array":[{"photo_id":"1416850230","filename":"file2"},{"photo_id":"1416850121","filename":"file1"},{"photo_id":"1416850119","filename":"file0"},{"photo_id":"1416850543","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416850230":["hashtag1","hashtag2"]},{"1416850119":["hashtag1","hashtag2"]},{"1416850121":["hashtag1","hashtag2"]},{"1416850543":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416850230, 1416850119, 1416850121, 1416850543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.35228657722473 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:31:04.422713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/30/image_11052026_11_30_44_30258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/30/image_11052026_11_30_44_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851194"],"photo_id":"1416851194","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9ea047315c76f0fb01bdf053a4d5721.jpg","text":"TemporaryFile(/tmp/multipartBody6692644429887415530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778491925415,"filename":"image_11052026_11_30_44_30258.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416851194"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416851194"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.589991807937622 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:32:03.577852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/53/image_07052026_14_53_35_30287.jpg', '/home/pi/Desktop/images/07052026/14/52/image_07052026_14_52_36_30307.jpg', '/home/pi/Desktop/images/07052026/14/51/image_07052026_14_52_06_30188.jpg', '/home/pi/Desktop/images/07052026/14/51/image_07052026_14_51_35_30317.jpg', '/home/pi/Desktop/images/07052026/14/50/image_07052026_14_51_05_29235.jpg', '/home/pi/Desktop/images/07052026/14/50/image_07052026_14_50_36_30335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/53/image_07052026_14_53_35_30287.jpg
/home/pi/Desktop/images/07052026/14/52/image_07052026_14_52_36_30307.jpg
/home/pi/Desktop/images/07052026/14/51/image_07052026_14_52_06_30188.jpg
/home/pi/Desktop/images/07052026/14/51/image_07052026_14_51_35_30317.jpg
/home/pi/Desktop/images/07052026/14/50/image_07052026_14_51_05_29235.jpg
/home/pi/Desktop/images/07052026/14/50/image_07052026_14_50_36_30335.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9654045104980469 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:33:03.966592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/31/image_11052026_11_32_14_30318.jpg', '/home/pi/Desktop/images/11052026/11/31/image_11052026_11_31_44_30114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/31/image_11052026_11_32_14_30318.jpg
/home/pi/Desktop/images/11052026/11/31/image_11052026_11_31_44_30114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851692","1416851694"],"photo_ids_order":["1416851692","1416851694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6dae7939ed0d27417aa245a89e1caf7.jpg","text":"TemporaryFile(/tmp/multipartBody5329117364342938437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492070915,"filename":"image_11052026_11_32_14_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6360274fd77433162375c284f12b9d1d.jpg","text":"TemporaryFile(/tmp/multipartBody7398657053064477119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492070915,"filename":"image_11052026_11_31_44_30114.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416851694","file0":"1416851692"},"map_files_photo_id_array":[{"photo_id":"1416851694","filename":"file1"},{"photo_id":"1416851692","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416851692":["hashtag1","hashtag2"]},{"1416851694":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416851692, 1416851694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 45.77432560920715 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:34:03.211646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/53/image_07052026_14_53_35_30287.jpg', '/home/pi/Desktop/images/07052026/14/52/image_07052026_14_52_36_30307.jpg', '/home/pi/Desktop/images/07052026/14/51/image_07052026_14_52_06_30188.jpg', '/home/pi/Desktop/images/07052026/14/51/image_07052026_14_51_35_30317.jpg', '/home/pi/Desktop/images/07052026/14/50/image_07052026_14_51_05_29235.jpg', '/home/pi/Desktop/images/07052026/14/50/image_07052026_14_50_36_30335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/53/image_07052026_14_53_35_30287.jpg
/home/pi/Desktop/images/07052026/14/52/image_07052026_14_52_36_30307.jpg
/home/pi/Desktop/images/07052026/14/51/image_07052026_14_52_06_30188.jpg
/home/pi/Desktop/images/07052026/14/51/image_07052026_14_51_35_30317.jpg
/home/pi/Desktop/images/07052026/14/50/image_07052026_14_51_05_29235.jpg
/home/pi/Desktop/images/07052026/14/50/image_07052026_14_50_36_30335.jpg
2026-05-11 11:34:03.260040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/23/image_07052026_01_23_35_30403.jpg', '/home/pi/Desktop/images/07052026/01/23/image_07052026_01_24_06_30423.jpg', '/home/pi/Desktop/images/07052026/01/24/image_07052026_01_24_35_29267.jpg', '/home/pi/Desktop/images/07052026/01/24/image_07052026_01_25_05_30302.jpg', '/home/pi/Desktop/images/07052026/01/25/image_07052026_01_25_36_30382.jpg', '/home/pi/Desktop/images/07052026/01/28/image_07052026_01_28_35_30232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/23/image_07052026_01_23_35_30403.jpg
/home/pi/Desktop/images/07052026/01/23/image_07052026_01_24_06_30423.jpg
/home/pi/Desktop/images/07052026/01/24/image_07052026_01_24_35_29267.jpg
/home/pi/Desktop/images/07052026/01/24/image_07052026_01_25_05_30302.jpg
/home/pi/Desktop/images/07052026/01/25/image_07052026_01_25_36_30382.jpg
/home/pi/Desktop/images/07052026/01/28/image_07052026_01_28_35_30232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851698","1416851695","1416851710","1416851704","1416851707","1416851701"],"photo_ids_order":["1416851695","1416851698","1416851701","1416851704","1416851707","1416851710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f04d65b8aa64999e2a5ec52cdbc92f7.jpg","text":"TemporaryFile(/tmp/multipartBody4702283524113690458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_52_36_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/979f416fc7248c8b727e3349c563602b.jpg","text":"TemporaryFile(/tmp/multipartBody6486654009677526256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_53_35_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02366d71821ee1d8300ebcf39bd1b174.jpg","text":"TemporaryFile(/tmp/multipartBody7536330249481356913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_50_36_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0c37bc60802b61b48bffd391643b3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7073473373117623913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_51_35_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/66407b9526c686fcd7e0bd67c4a0beea.jpg","text":"TemporaryFile(/tmp/multipartBody3644361359563937091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_51_05_29235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f850ef0a4d746558f9430c4ac4003d6.jpg","text":"TemporaryFile(/tmp/multipartBody5757001710442187710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106279,"filename":"image_07052026_14_52_06_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416851701","file1":"1416851698","file0":"1416851695","file4":"1416851707","file5":"1416851710","file3":"1416851704"},"map_files_photo_id_array":[{"photo_id":"1416851710","filename":"file5"},{"photo_id":"1416851701","filename":"file2"},{"photo_id":"1416851707","filename":"file4"},{"photo_id":"1416851698","filename":"file1"},{"photo_id":"1416851695","filename":"file0"},{"photo_id":"1416851704","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416851698":["hashtag1","hashtag2"]},{"1416851695":["hashtag1","hashtag2"]},{"1416851710":["hashtag1","hashtag2"]},{"1416851704":["hashtag1","hashtag2"]},{"1416851707":["hashtag1","hashtag2"]},{"1416851701":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416851698, 1416851695, 1416851710, 1416851704, 1416851707, 1416851701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80061650276184 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851696","1416851699","1416851711","1416851708","1416851702","1416851705"],"photo_ids_order":["1416851696","1416851699","1416851702","1416851705","1416851708","1416851711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d28adc5ed9d6633c35236f06016a17bc.jpg","text":"TemporaryFile(/tmp/multipartBody1202784008964651679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_23_35_30403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/39efc7c8a0fe40a70a2195a0ca802918.jpg","text":"TemporaryFile(/tmp/multipartBody5951911836272331066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_24_06_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a7a43fbbaf684d04c272da74a7cfac0.jpg","text":"TemporaryFile(/tmp/multipartBody6048973022603097288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_28_35_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e670bef684e8ba2d7875da3d3e103fc.jpg","text":"TemporaryFile(/tmp/multipartBody3684805382397881186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_25_36_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58c1f5711a947a7fa02288360eef8bd5.jpg","text":"TemporaryFile(/tmp/multipartBody3216018065011527130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_24_35_29267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb2c90891e763d3568339ba7e34f0874.jpg","text":"TemporaryFile(/tmp/multipartBody3442294650775635179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492106623,"filename":"image_07052026_01_25_05_30302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416851702","file1":"1416851699","file0":"1416851696","file4":"1416851708","file5":"1416851711","file3":"1416851705"},"map_files_photo_id_array":[{"photo_id":"1416851711","filename":"file5"},{"photo_id":"1416851702","filename":"file2"},{"photo_id":"1416851708","filename":"file4"},{"photo_id":"1416851699","filename":"file1"},{"photo_id":"1416851696","filename":"file0"},{"photo_id":"1416851705","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416851696":["hashtag1","hashtag2"]},{"1416851699":["hashtag1","hashtag2"]},{"1416851711":["hashtag1","hashtag2"]},{"1416851708":["hashtag1","hashtag2"]},{"1416851702":["hashtag1","hashtag2"]},{"1416851705":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416851696, 1416851699, 1416851711, 1416851708, 1416851702, 1416851705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.424604177474976 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:35:04.135907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/32/image_11052026_11_33_14_30159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/32/image_11052026_11_33_14_30159.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851714"],"photo_id":"1416851714","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2afc87df63f6ac063c68e920f69af06.jpg","text":"TemporaryFile(/tmp/multipartBody5543445708934799096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492165213,"filename":"image_11052026_11_33_14_30159.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416851714"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416851714"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.152832269668579 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:36:03.464747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/49/image_07052026_14_50_05_30262.jpg', '/home/pi/Desktop/images/07052026/14/49/image_07052026_14_49_35_30282.jpg', '/home/pi/Desktop/images/07052026/14/48/image_07052026_14_48_36_30258.jpg', '/home/pi/Desktop/images/07052026/14/46/image_07052026_14_47_05_29167.jpg', '/home/pi/Desktop/images/07052026/14/44/image_07052026_14_45_05_29244.jpg', '/home/pi/Desktop/images/07052026/14/44/image_07052026_14_44_36_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/49/image_07052026_14_50_05_30262.jpg
/home/pi/Desktop/images/07052026/14/49/image_07052026_14_49_35_30282.jpg
/home/pi/Desktop/images/07052026/14/48/image_07052026_14_48_36_30258.jpg
/home/pi/Desktop/images/07052026/14/46/image_07052026_14_47_05_29167.jpg
/home/pi/Desktop/images/07052026/14/44/image_07052026_14_45_05_29244.jpg
/home/pi/Desktop/images/07052026/14/44/image_07052026_14_44_36_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851720","1416851723","1416851717","1416851725","1416851721","1416851718"],"photo_ids_order":["1416851717","1416851718","1416851720","1416851721","1416851723","1416851725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5cc7468aa751cb5639166747d6a39a36.jpg","text":"TemporaryFile(/tmp/multipartBody5795141707007331232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_48_36_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/599b2687f88defce44f365250db144b9.jpg","text":"TemporaryFile(/tmp/multipartBody7981814099860380107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_45_05_29244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c79b5526e4d83f1f2b7a19b2f57f3a2.jpg","text":"TemporaryFile(/tmp/multipartBody940395286933116609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_50_05_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d918a71c2f23ed3f352cb20554fafc19.jpg","text":"TemporaryFile(/tmp/multipartBody7055454811134355135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_44_36_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c0c2782bd11b042c5694ea81c9648db.jpg","text":"TemporaryFile(/tmp/multipartBody778123961661309568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_47_05_29167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/107ddbef598cbcce9bad1a732fd39482.jpg","text":"TemporaryFile(/tmp/multipartBody857422503275440389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492225464,"filename":"image_07052026_14_49_35_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416851720","file1":"1416851718","file0":"1416851717","file4":"1416851723","file5":"1416851725","file3":"1416851721"},"map_files_photo_id_array":[{"photo_id":"1416851725","filename":"file5"},{"photo_id":"1416851720","filename":"file2"},{"photo_id":"1416851723","filename":"file4"},{"photo_id":"1416851718","filename":"file1"},{"photo_id":"1416851717","filename":"file0"},{"photo_id":"1416851721","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416851720":["hashtag1","hashtag2"]},{"1416851723":["hashtag1","hashtag2"]},{"1416851717":["hashtag1","hashtag2"]},{"1416851725":["hashtag1","hashtag2"]},{"1416851721":["hashtag1","hashtag2"]},{"1416851718":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416851720, 1416851723, 1416851717, 1416851725, 1416851721, 1416851718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65524411201477 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:37:03.717794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/34/image_11052026_11_35_13_29038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/34/image_11052026_11_35_13_29038.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851729"],"photo_id":"1416851729","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd16d18bc72b475a565424bc04a4c075.jpg","text":"TemporaryFile(/tmp/multipartBody743488362693564365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492284700,"filename":"image_11052026_11_35_13_29038.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416851729"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416851729"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.936711311340332 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:38:03.181173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/37/image_11052026_11_38_14_30135.jpg', '/home/pi/Desktop/images/11052026/11/37/image_11052026_11_37_44_30062.jpg', '/home/pi/Desktop/images/11052026/11/36/image_11052026_11_37_14_30205.jpg', '/home/pi/Desktop/images/11052026/11/36/image_11052026_11_36_44_30167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/37/image_11052026_11_38_14_30135.jpg
/home/pi/Desktop/images/11052026/11/37/image_11052026_11_37_44_30062.jpg
/home/pi/Desktop/images/11052026/11/36/image_11052026_11_37_14_30205.jpg
/home/pi/Desktop/images/11052026/11/36/image_11052026_11_36_44_30167.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851741","1416851743","1416851737","1416851739"],"photo_ids_order":["1416851737","1416851739","1416851741","1416851743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb7e0a4d3f63d21976ce157cf4de2f64.jpg","text":"TemporaryFile(/tmp/multipartBody5526513026255680921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492344654,"filename":"image_11052026_11_37_14_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1fb388792e78c63c43ea2953f367a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3015979524392189769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492344654,"filename":"image_11052026_11_36_44_30167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cdd153ddf74e848a423fd7f15074948e.jpg","text":"TemporaryFile(/tmp/multipartBody2139306115349910564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492344654,"filename":"image_11052026_11_38_14_30135.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b0f7793e90c9a7b691be30b4ef2924b.jpg","text":"TemporaryFile(/tmp/multipartBody6609483152163505784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492344654,"filename":"image_11052026_11_37_44_30062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416851741","file1":"1416851739","file0":"1416851737","file3":"1416851743"},"map_files_photo_id_array":[{"photo_id":"1416851741","filename":"file2"},{"photo_id":"1416851739","filename":"file1"},{"photo_id":"1416851737","filename":"file0"},{"photo_id":"1416851743","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416851741":["hashtag1","hashtag2"]},{"1416851743":["hashtag1","hashtag2"]},{"1416851737":["hashtag1","hashtag2"]},{"1416851739":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416851741, 1416851743, 1416851737, 1416851739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.307963132858276 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:39:04.621000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/28/image_07052026_01_29_06_30344.jpg', '/home/pi/Desktop/images/07052026/01/29/image_07052026_01_29_35_29300.jpg', '/home/pi/Desktop/images/07052026/01/29/image_07052026_01_30_05_30348.jpg', '/home/pi/Desktop/images/07052026/01/30/image_07052026_01_30_36_30252.jpg', '/home/pi/Desktop/images/07052026/01/31/image_07052026_01_31_35_30428.jpg', '/home/pi/Desktop/images/07052026/01/31/image_07052026_01_32_05_29372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/28/image_07052026_01_29_06_30344.jpg
/home/pi/Desktop/images/07052026/01/29/image_07052026_01_29_35_29300.jpg
/home/pi/Desktop/images/07052026/01/29/image_07052026_01_30_05_30348.jpg
/home/pi/Desktop/images/07052026/01/30/image_07052026_01_30_36_30252.jpg
/home/pi/Desktop/images/07052026/01/31/image_07052026_01_31_35_30428.jpg
/home/pi/Desktop/images/07052026/01/31/image_07052026_01_32_05_29372.jpg
2026-05-11 11:39:04.681104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/43/image_07052026_14_44_05_30240.jpg', '/home/pi/Desktop/images/07052026/14/42/image_07052026_14_42_36_30289.jpg', '/home/pi/Desktop/images/07052026/14/40/image_07052026_14_41_05_29150.jpg', '/home/pi/Desktop/images/07052026/14/40/image_07052026_14_40_36_30239.jpg', '/home/pi/Desktop/images/07052026/14/39/image_07052026_14_40_05_30223.jpg', '/home/pi/Desktop/images/07052026/14/39/image_07052026_14_39_35_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/43/image_07052026_14_44_05_30240.jpg
/home/pi/Desktop/images/07052026/14/42/image_07052026_14_42_36_30289.jpg
/home/pi/Desktop/images/07052026/14/40/image_07052026_14_41_05_29150.jpg
/home/pi/Desktop/images/07052026/14/40/image_07052026_14_40_36_30239.jpg
/home/pi/Desktop/images/07052026/14/39/image_07052026_14_40_05_30223.jpg
/home/pi/Desktop/images/07052026/14/39/image_07052026_14_39_35_30271.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9590516090393066 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851756","1416851759","1416851750","1416851753","1416851761","1416851748"],"photo_ids_order":["1416851748","1416851750","1416851753","1416851756","1416851759","1416851761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4171ba6fe561ede70990dd1debce75f2.jpg","text":"TemporaryFile(/tmp/multipartBody514012762069530356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_30_36_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06b480728b1b067aebf5f281795e1176.jpg","text":"TemporaryFile(/tmp/multipartBody148797653710125439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_31_35_30428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7d3be3a1428ee0df58a65c030956227.jpg","text":"TemporaryFile(/tmp/multipartBody5262135139500615976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_29_35_29300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8b34c1b368522ce568be46dab9a4452.jpg","text":"TemporaryFile(/tmp/multipartBody1912066835794574785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_30_05_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b706eea7463743928cbdf6931ac6d70e.jpg","text":"TemporaryFile(/tmp/multipartBody8564467142388029779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_32_05_29372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6ee982922148abd3e1716c21b6a708b.jpg","text":"TemporaryFile(/tmp/multipartBody1792671639118493026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492408045,"filename":"image_07052026_01_29_06_30344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416851753","file1":"1416851750","file0":"1416851748","file4":"1416851759","file5":"1416851761","file3":"1416851756"},"map_files_photo_id_array":[{"photo_id":"1416851761","filename":"file5"},{"photo_id":"1416851753","filename":"file2"},{"photo_id":"1416851759","filename":"file4"},{"photo_id":"1416851750","filename":"file1"},{"photo_id":"1416851748","filename":"file0"},{"photo_id":"1416851756","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416851756":["hashtag1","hashtag2"]},{"1416851759":["hashtag1","hashtag2"]},{"1416851750":["hashtag1","hashtag2"]},{"1416851753":["hashtag1","hashtag2"]},{"1416851761":["hashtag1","hashtag2"]},{"1416851748":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416851756, 1416851759, 1416851750, 1416851753, 1416851761, 1416851748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23084831237793 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:40:03.456013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/38/image_11052026_11_38_43_29129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/38/image_11052026_11_38_43_29129.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416851765"],"photo_id":"1416851765","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7fef625a80b7f2ddc77e04c72ef6231.jpg","text":"TemporaryFile(/tmp/multipartBody2353970960422394430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492464584,"filename":"image_11052026_11_38_43_29129.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416851765"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416851765"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.28652048110962 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:41:03.470287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/39/image_11052026_11_40_14_30215.jpg', '/home/pi/Desktop/images/11052026/11/38/image_11052026_11_39_14_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/39/image_11052026_11_40_14_30215.jpg
/home/pi/Desktop/images/11052026/11/38/image_11052026_11_39_14_30180.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8155255317687988 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:42:03.402078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/40/image_11052026_11_41_13_29107.jpg', '/home/pi/Desktop/images/11052026/11/40/image_11052026_11_40_44_30174.jpg', '/home/pi/Desktop/images/11052026/11/39/image_11052026_11_40_14_30215.jpg', '/home/pi/Desktop/images/11052026/11/38/image_11052026_11_39_14_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/40/image_11052026_11_41_13_29107.jpg
/home/pi/Desktop/images/11052026/11/40/image_11052026_11_40_44_30174.jpg
/home/pi/Desktop/images/11052026/11/39/image_11052026_11_40_14_30215.jpg
/home/pi/Desktop/images/11052026/11/38/image_11052026_11_39_14_30180.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416852845","1416852850","1416852846","1416852848"],"photo_ids_order":["1416852845","1416852846","1416852848","1416852850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c057b9d382d36b2490205bf48e45ad11.jpg","text":"TemporaryFile(/tmp/multipartBody8122008297720120256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492584993,"filename":"image_11052026_11_41_13_29107.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f05404a889440e00b9ca2b7bea6ee7a.jpg","text":"TemporaryFile(/tmp/multipartBody6664800436023614915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492584993,"filename":"image_11052026_11_39_14_30180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4b48a8e62d247384e59042db47d84b9.jpg","text":"TemporaryFile(/tmp/multipartBody4310726924522296389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492584993,"filename":"image_11052026_11_40_44_30174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ce4a086d56f7d0820df6f386b402bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2510339561629391264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492584993,"filename":"image_11052026_11_40_14_30215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416852848","file1":"1416852846","file0":"1416852845","file3":"1416852850"},"map_files_photo_id_array":[{"photo_id":"1416852848","filename":"file2"},{"photo_id":"1416852846","filename":"file1"},{"photo_id":"1416852845","filename":"file0"},{"photo_id":"1416852850","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416852845":["hashtag1","hashtag2"]},{"1416852850":["hashtag1","hashtag2"]},{"1416852846":["hashtag1","hashtag2"]},{"1416852848":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416852845, 1416852850, 1416852846, 1416852848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.174392461776733 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:43:03.846998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/41/image_11052026_11_41_44_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/41/image_11052026_11_41_44_30305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416853211"],"photo_id":"1416853211","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0a4e413b0d946cf9a1ba439790bb877.jpg","text":"TemporaryFile(/tmp/multipartBody1263650038520344816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492644819,"filename":"image_11052026_11_41_44_30305.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416853211"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416853211"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.759758710861206 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:44:03.576333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/43/image_07052026_14_44_05_30240.jpg', '/home/pi/Desktop/images/07052026/14/42/image_07052026_14_42_36_30289.jpg', '/home/pi/Desktop/images/07052026/14/40/image_07052026_14_41_05_29150.jpg', '/home/pi/Desktop/images/07052026/14/40/image_07052026_14_40_36_30239.jpg', '/home/pi/Desktop/images/07052026/14/39/image_07052026_14_40_05_30223.jpg', '/home/pi/Desktop/images/07052026/14/39/image_07052026_14_39_35_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/43/image_07052026_14_44_05_30240.jpg
/home/pi/Desktop/images/07052026/14/42/image_07052026_14_42_36_30289.jpg
/home/pi/Desktop/images/07052026/14/40/image_07052026_14_41_05_29150.jpg
/home/pi/Desktop/images/07052026/14/40/image_07052026_14_40_36_30239.jpg
/home/pi/Desktop/images/07052026/14/39/image_07052026_14_40_05_30223.jpg
/home/pi/Desktop/images/07052026/14/39/image_07052026_14_39_35_30271.jpg
2026-05-11 11:44:03.798384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/41/image_11052026_11_42_14_30155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/41/image_11052026_11_42_14_30155.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416853370"],"photo_id":"1416853370","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3144b72bebf3dcd74fe0b6dcfd8fe97f.jpg","text":"TemporaryFile(/tmp/multipartBody4889045048193293612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492704878,"filename":"image_11052026_11_42_14_30155.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416853370"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416853370"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.328609466552734 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416853381","1416853375","1416853383","1416853377","1416853371","1416853379"],"photo_ids_order":["1416853371","1416853375","1416853377","1416853379","1416853381","1416853383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d86bbe502b518db01d807595991d166.jpg","text":"TemporaryFile(/tmp/multipartBody6903004567622895423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_40_05_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c1a3fdc63bf54eaec2f86c4b469ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody2598314755847097149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_42_36_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5739d3c69cc7c536b46b7204dde67aa.jpg","text":"TemporaryFile(/tmp/multipartBody1374238787186612406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_39_35_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5598ee9c97ddb9896f99b9b591b0873d.jpg","text":"TemporaryFile(/tmp/multipartBody2168511919889053154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_41_05_29150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18bfd482e29067af21f6a5b3d0d183f5.jpg","text":"TemporaryFile(/tmp/multipartBody5106313242379623777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_44_05_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e911657c9b0e18c595f48a961becf6f.jpg","text":"TemporaryFile(/tmp/multipartBody6508842563998681498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492705814,"filename":"image_07052026_14_40_36_30239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416853377","file1":"1416853375","file0":"1416853371","file4":"1416853381","file5":"1416853383","file3":"1416853379"},"map_files_photo_id_array":[{"photo_id":"1416853383","filename":"file5"},{"photo_id":"1416853377","filename":"file2"},{"photo_id":"1416853381","filename":"file4"},{"photo_id":"1416853375","filename":"file1"},{"photo_id":"1416853371","filename":"file0"},{"photo_id":"1416853379","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416853381":["hashtag1","hashtag2"]},{"1416853375":["hashtag1","hashtag2"]},{"1416853383":["hashtag1","hashtag2"]},{"1416853377":["hashtag1","hashtag2"]},{"1416853371":["hashtag1","hashtag2"]},{"1416853379":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416853381, 1416853375, 1416853383, 1416853377, 1416853371, 1416853379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91974496841431 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:45:03.836226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/43/image_11052026_11_44_13_29014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/43/image_11052026_11_44_13_29014.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416853385"],"photo_id":"1416853385","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/103b217e6de639abb221b3afc3e74c57.jpg","text":"TemporaryFile(/tmp/multipartBody7186192868194580744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492764816,"filename":"image_11052026_11_44_13_29014.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416853385"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416853385"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.841359615325928 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:46:03.155659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/38/image_07052026_14_39_05_29176.jpg', '/home/pi/Desktop/images/07052026/14/35/image_07052026_14_35_35_30218.jpg', '/home/pi/Desktop/images/07052026/14/31/image_07052026_14_31_35_30326.jpg', '/home/pi/Desktop/images/07052026/14/30/image_07052026_14_31_05_29191.jpg', '/home/pi/Desktop/images/07052026/14/30/image_07052026_14_30_36_30213.jpg', '/home/pi/Desktop/images/07052026/14/29/image_07052026_14_30_05_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/38/image_07052026_14_39_05_29176.jpg
/home/pi/Desktop/images/07052026/14/35/image_07052026_14_35_35_30218.jpg
/home/pi/Desktop/images/07052026/14/31/image_07052026_14_31_35_30326.jpg
/home/pi/Desktop/images/07052026/14/30/image_07052026_14_31_05_29191.jpg
/home/pi/Desktop/images/07052026/14/30/image_07052026_14_30_36_30213.jpg
/home/pi/Desktop/images/07052026/14/29/image_07052026_14_30_05_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416853390","1416853732","1416853456","1416853392","1416853388","1416854033"],"photo_ids_order":["1416853388","1416853390","1416853392","1416853456","1416853732","1416854033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3605331ee7cd7509305fb8082b77f628.jpg","text":"TemporaryFile(/tmp/multipartBody2603066013273810221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_35_35_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d75b703fa4b1f83b2128cf3df3a1c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody4404849958197399103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_30_36_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63a33e3cd9f639266dc9eb03fb831b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6182433571743846470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_31_05_29191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4d9ccc06dba5f2f6dd6fc110ced02fd.jpg","text":"TemporaryFile(/tmp/multipartBody636774548038103625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_31_35_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5e532dfa429c70277a9e8a84f1a8eec.jpg","text":"TemporaryFile(/tmp/multipartBody1727791315954714110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_39_05_29176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7dcc2f3cc6c2cad3e61dba86b5053aa9.jpg","text":"TemporaryFile(/tmp/multipartBody875982443091317836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492825389,"filename":"image_07052026_14_30_05_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416853392","file1":"1416853390","file0":"1416853388","file4":"1416853732","file5":"1416854033","file3":"1416853456"},"map_files_photo_id_array":[{"photo_id":"1416854033","filename":"file5"},{"photo_id":"1416853392","filename":"file2"},{"photo_id":"1416853732","filename":"file4"},{"photo_id":"1416853390","filename":"file1"},{"photo_id":"1416853388","filename":"file0"},{"photo_id":"1416853456","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416853390":["hashtag1","hashtag2"]},{"1416853732":["hashtag1","hashtag2"]},{"1416853456":["hashtag1","hashtag2"]},{"1416853392":["hashtag1","hashtag2"]},{"1416853388":["hashtag1","hashtag2"]},{"1416854033":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416853390, 1416853732, 1416853456, 1416853392, 1416853388, 1416854033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.962849617004395 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:47:03.442409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/29/image_07052026_14_29_35_30118.jpg', '/home/pi/Desktop/images/07052026/14/28/image_07052026_14_28_36_30407.jpg', '/home/pi/Desktop/images/07052026/14/24/image_07052026_14_24_36_30362.jpg', '/home/pi/Desktop/images/07052026/14/21/image_07052026_14_21_35_30282.jpg', '/home/pi/Desktop/images/07052026/14/18/image_07052026_14_18_36_30352.jpg', '/home/pi/Desktop/images/07052026/14/17/image_07052026_14_18_05_30139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/29/image_07052026_14_29_35_30118.jpg
/home/pi/Desktop/images/07052026/14/28/image_07052026_14_28_36_30407.jpg
/home/pi/Desktop/images/07052026/14/24/image_07052026_14_24_36_30362.jpg
/home/pi/Desktop/images/07052026/14/21/image_07052026_14_21_35_30282.jpg
/home/pi/Desktop/images/07052026/14/18/image_07052026_14_18_36_30352.jpg
/home/pi/Desktop/images/07052026/14/17/image_07052026_14_18_05_30139.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416854368","1416854367","1416854370","1416854372","1416854369","1416854371"],"photo_ids_order":["1416854367","1416854368","1416854369","1416854370","1416854371","1416854372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc080be6e16e129ffd75a5bc4db0d1de.jpg","text":"TemporaryFile(/tmp/multipartBody2746917765230565568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_28_36_30407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93386e4428fc47c63b80e71c81950385.jpg","text":"TemporaryFile(/tmp/multipartBody8819452427194235814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_29_35_30118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ffc34dccca9800ae61320fef8010e83.jpg","text":"TemporaryFile(/tmp/multipartBody1349946154419136975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_21_35_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1aac3bb2f6e46caf408e74bfd103c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody9050129226423922759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_18_05_30139.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/839411750a564442aff47ac9e41f55b4.jpg","text":"TemporaryFile(/tmp/multipartBody6144175944830063400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_24_36_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1193a9046e36210000eae66a862eb817.jpg","text":"TemporaryFile(/tmp/multipartBody9151901865581038427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778492885527,"filename":"image_07052026_14_18_36_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416854369","file1":"1416854368","file0":"1416854367","file4":"1416854371","file5":"1416854372","file3":"1416854370"},"map_files_photo_id_array":[{"photo_id":"1416854372","filename":"file5"},{"photo_id":"1416854369","filename":"file2"},{"photo_id":"1416854371","filename":"file4"},{"photo_id":"1416854368","filename":"file1"},{"photo_id":"1416854367","filename":"file0"},{"photo_id":"1416854370","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416854368":["hashtag1","hashtag2"]},{"1416854367":["hashtag1","hashtag2"]},{"1416854370":["hashtag1","hashtag2"]},{"1416854372":["hashtag1","hashtag2"]},{"1416854369":["hashtag1","hashtag2"]},{"1416854371":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416854368, 1416854367, 1416854370, 1416854372, 1416854369, 1416854371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17127537727356 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:48:03.561898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/17/image_07052026_14_17_35_30215.jpg', '/home/pi/Desktop/images/07052026/14/16/image_07052026_14_17_05_30188.jpg', '/home/pi/Desktop/images/07052026/14/16/image_07052026_14_16_35_29124.jpg', '/home/pi/Desktop/images/07052026/14/15/image_07052026_14_16_06_30169.jpg', '/home/pi/Desktop/images/07052026/14/15/image_07052026_14_15_36_30315.jpg', '/home/pi/Desktop/images/07052026/14/14/image_07052026_14_15_05_30209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/17/image_07052026_14_17_35_30215.jpg
/home/pi/Desktop/images/07052026/14/16/image_07052026_14_17_05_30188.jpg
/home/pi/Desktop/images/07052026/14/16/image_07052026_14_16_35_29124.jpg
/home/pi/Desktop/images/07052026/14/15/image_07052026_14_16_06_30169.jpg
/home/pi/Desktop/images/07052026/14/15/image_07052026_14_15_36_30315.jpg
/home/pi/Desktop/images/07052026/14/14/image_07052026_14_15_05_30209.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! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 11:59:03.530180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/45/image_11052026_11_45_44_30343.jpg', '/home/pi/Desktop/images/11052026/11/48/image_11052026_11_48_44_30141.jpg', '/home/pi/Desktop/images/11052026/11/48/image_11052026_11_49_14_30230.jpg', '/home/pi/Desktop/images/11052026/11/57/image_11052026_11_57_44_30149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/45/image_11052026_11_45_44_30343.jpg
/home/pi/Desktop/images/11052026/11/48/image_11052026_11_48_44_30141.jpg
/home/pi/Desktop/images/11052026/11/48/image_11052026_11_49_14_30230.jpg
/home/pi/Desktop/images/11052026/11/57/image_11052026_11_57_44_30149.jpg
2026-05-11 11:59:03.776433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/58/image_11052026_11_59_14_30195.jpg', '/home/pi/Desktop/images/11052026/11/57/image_11052026_11_57_44_30149.jpg', '/home/pi/Desktop/images/11052026/11/50/image_11052026_11_50_44_30319.jpg', '/home/pi/Desktop/images/11052026/11/48/image_11052026_11_49_14_30230.jpg', '/home/pi/Desktop/images/11052026/11/48/image_11052026_11_48_44_30141.jpg', '/home/pi/Desktop/images/11052026/11/45/image_11052026_11_45_44_30343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/58/image_11052026_11_59_14_30195.jpg
/home/pi/Desktop/images/11052026/11/57/image_11052026_11_57_44_30149.jpg
/home/pi/Desktop/images/11052026/11/50/image_11052026_11_50_44_30319.jpg
/home/pi/Desktop/images/11052026/11/48/image_11052026_11_49_14_30230.jpg
/home/pi/Desktop/images/11052026/11/48/image_11052026_11_48_44_30141.jpg
/home/pi/Desktop/images/11052026/11/45/image_11052026_11_45_44_30343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416856134","1416856136","1416856129","1416856131"],"photo_ids_order":["1416856129","1416856131","1416856134","1416856136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fb3cb4d4ef917be805b09122f825984.jpg","text":"TemporaryFile(/tmp/multipartBody6932322971123423390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606000,"filename":"image_11052026_11_49_14_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bccaffd7bf6141db5e0b688ec1862dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7941489595937921483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606000,"filename":"image_11052026_11_57_44_30149.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6949a114354824697ded8cfece823ed.jpg","text":"TemporaryFile(/tmp/multipartBody1356934111591631300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606000,"filename":"image_11052026_11_45_44_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ccf3af548f09e34c66d01f13ab73a08.jpg","text":"TemporaryFile(/tmp/multipartBody4266713546599950000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606000,"filename":"image_11052026_11_48_44_30141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416856134","file1":"1416856131","file0":"1416856129","file3":"1416856136"},"map_files_photo_id_array":[{"photo_id":"1416856134","filename":"file2"},{"photo_id":"1416856131","filename":"file1"},{"photo_id":"1416856129","filename":"file0"},{"photo_id":"1416856136","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416856134":["hashtag1","hashtag2"]},{"1416856136":["hashtag1","hashtag2"]},{"1416856129":["hashtag1","hashtag2"]},{"1416856131":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416856134, 1416856136, 1416856129, 1416856131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.154067993164062 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416856140","1416856137","1416856130","1416856135","1416856138","1416856132"],"photo_ids_order":["1416856130","1416856132","1416856135","1416856137","1416856138","1416856140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ec9e31497c663de6afec86c7ff37f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5974710524065184449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_45_44_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6fadd351ffca11c3c399d213e1ceaed4.jpg","text":"TemporaryFile(/tmp/multipartBody2938804814405546164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_49_14_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a05e8edc94feeaf23081fc859443412.jpg","text":"TemporaryFile(/tmp/multipartBody3161436312760049690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_59_14_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aea3c68efdc6554ad06a291a5ca81e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4165339619799250627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_50_44_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f6e9c442fa2f7deefb4cb60566be1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4400850705926665048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_48_44_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89449f60c487d75958717ebabc9b8656.jpg","text":"TemporaryFile(/tmp/multipartBody1827941939073628824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493606034,"filename":"image_11052026_11_57_44_30149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416856135","file1":"1416856132","file0":"1416856130","file4":"1416856138","file5":"1416856140","file3":"1416856137"},"map_files_photo_id_array":[{"photo_id":"1416856140","filename":"file5"},{"photo_id":"1416856135","filename":"file2"},{"photo_id":"1416856138","filename":"file4"},{"photo_id":"1416856132","filename":"file1"},{"photo_id":"1416856130","filename":"file0"},{"photo_id":"1416856137","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416856140":["hashtag1","hashtag2"]},{"1416856137":["hashtag1","hashtag2"]},{"1416856130":["hashtag1","hashtag2"]},{"1416856135":["hashtag1","hashtag2"]},{"1416856138":["hashtag1","hashtag2"]},{"1416856132":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416856140, 1416856137, 1416856130, 1416856135, 1416856138, 1416856132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63208723068237 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:00:03.148474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/11/59/image_11052026_12_00_14_30187.jpg', '/home/pi/Desktop/images/11052026/11/59/image_11052026_11_59_44_30308.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/11/59/image_11052026_12_00_14_30187.jpg
/home/pi/Desktop/images/11052026/11/59/image_11052026_11_59_44_30308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416856143","1416856148"],"photo_ids_order":["1416856143","1416856148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a364d9baf25a62a72435fa4f66e11501.jpg","text":"TemporaryFile(/tmp/multipartBody4240094790022401133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493664323,"filename":"image_11052026_12_00_14_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18f9537a293d45f32519206b484b3725.jpg","text":"TemporaryFile(/tmp/multipartBody610890444281482039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493664323,"filename":"image_11052026_11_59_44_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416856148","file0":"1416856143"},"map_files_photo_id_array":[{"photo_id":"1416856148","filename":"file1"},{"photo_id":"1416856143","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416856143":["hashtag1","hashtag2"]},{"1416856148":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416856143, 1416856148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.646794080734253 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:01:04.235078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/17/image_07052026_14_17_35_30215.jpg', '/home/pi/Desktop/images/07052026/14/16/image_07052026_14_17_05_30188.jpg', '/home/pi/Desktop/images/07052026/14/16/image_07052026_14_16_35_29124.jpg', '/home/pi/Desktop/images/07052026/14/15/image_07052026_14_16_06_30169.jpg', '/home/pi/Desktop/images/07052026/14/15/image_07052026_14_15_36_30315.jpg', '/home/pi/Desktop/images/07052026/14/14/image_07052026_14_15_05_30209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/17/image_07052026_14_17_35_30215.jpg
/home/pi/Desktop/images/07052026/14/16/image_07052026_14_17_05_30188.jpg
/home/pi/Desktop/images/07052026/14/16/image_07052026_14_16_35_29124.jpg
/home/pi/Desktop/images/07052026/14/15/image_07052026_14_16_06_30169.jpg
/home/pi/Desktop/images/07052026/14/15/image_07052026_14_15_36_30315.jpg
/home/pi/Desktop/images/07052026/14/14/image_07052026_14_15_05_30209.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416857210","1416857207","1416857215","1416857209","1416857211","1416857208"],"photo_ids_order":["1416857207","1416857208","1416857209","1416857210","1416857211","1416857215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bd94c44349714fe71fb61f7635f825b.jpg","text":"TemporaryFile(/tmp/multipartBody6541327588209834786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_16_06_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aca55f162d28e18009a18c9384172f31.jpg","text":"TemporaryFile(/tmp/multipartBody6440513189643233817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_17_35_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ebf9964ff4b8725e9c127a03aa948f25.jpg","text":"TemporaryFile(/tmp/multipartBody7048649153316436678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_15_05_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf8caf3881982456e026e34640a1239e.jpg","text":"TemporaryFile(/tmp/multipartBody6797509848300196603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_16_35_29124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a7c6eb41051bd4022e4f0086fb1ef57.jpg","text":"TemporaryFile(/tmp/multipartBody8334494313001711543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_15_36_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d0acecbe39d81c353c56b71c9dd4cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4199147019490459981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493726250,"filename":"image_07052026_14_17_05_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416857209","file1":"1416857208","file0":"1416857207","file4":"1416857211","file5":"1416857215","file3":"1416857210"},"map_files_photo_id_array":[{"photo_id":"1416857215","filename":"file5"},{"photo_id":"1416857209","filename":"file2"},{"photo_id":"1416857211","filename":"file4"},{"photo_id":"1416857208","filename":"file1"},{"photo_id":"1416857207","filename":"file0"},{"photo_id":"1416857210","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416857210":["hashtag1","hashtag2"]},{"1416857207":["hashtag1","hashtag2"]},{"1416857215":["hashtag1","hashtag2"]},{"1416857209":["hashtag1","hashtag2"]},{"1416857211":["hashtag1","hashtag2"]},{"1416857208":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416857210, 1416857207, 1416857215, 1416857209, 1416857211, 1416857208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54375958442688 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:02:02.884935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/13/image_07052026_14_14_05_29280.jpg', '/home/pi/Desktop/images/07052026/14/12/image_07052026_14_12_35_30113.jpg', '/home/pi/Desktop/images/07052026/14/11/image_07052026_14_12_05_29195.jpg', '/home/pi/Desktop/images/07052026/14/08/image_07052026_14_08_35_29277.jpg', '/home/pi/Desktop/images/07052026/14/07/image_07052026_14_08_06_30189.jpg', '/home/pi/Desktop/images/07052026/14/07/image_07052026_14_07_36_30358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/13/image_07052026_14_14_05_29280.jpg
/home/pi/Desktop/images/07052026/14/12/image_07052026_14_12_35_30113.jpg
/home/pi/Desktop/images/07052026/14/11/image_07052026_14_12_05_29195.jpg
/home/pi/Desktop/images/07052026/14/08/image_07052026_14_08_35_29277.jpg
/home/pi/Desktop/images/07052026/14/07/image_07052026_14_08_06_30189.jpg
/home/pi/Desktop/images/07052026/14/07/image_07052026_14_07_36_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416857607","1416857636","1416857630","1416857578","1416857632","1416857634"],"photo_ids_order":["1416857578","1416857607","1416857630","1416857632","1416857634","1416857636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcdc8d03a67ef55ced084e089e92a012.jpg","text":"TemporaryFile(/tmp/multipartBody4426592694678029922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_12_35_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ec4b42181078c691c1d35098ecccecd.jpg","text":"TemporaryFile(/tmp/multipartBody5460162136785821724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_07_36_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff14509ce0f496e2105d088e6f3f6a47.jpg","text":"TemporaryFile(/tmp/multipartBody9048024567949454658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_12_05_29195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ecc6a5409a53960b9bd58f39c2f89b2.jpg","text":"TemporaryFile(/tmp/multipartBody6933016962708941993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_14_05_29280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f9efa54c5bc9f6dd4ea3b4de642af67.jpg","text":"TemporaryFile(/tmp/multipartBody8302805553179411169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_08_35_29277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f212e37d9389b43f88fb3af80b407d2.jpg","text":"TemporaryFile(/tmp/multipartBody5350434713445917286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493784978,"filename":"image_07052026_14_08_06_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416857630","file1":"1416857607","file0":"1416857578","file4":"1416857634","file5":"1416857636","file3":"1416857632"},"map_files_photo_id_array":[{"photo_id":"1416857636","filename":"file5"},{"photo_id":"1416857630","filename":"file2"},{"photo_id":"1416857634","filename":"file4"},{"photo_id":"1416857607","filename":"file1"},{"photo_id":"1416857578","filename":"file0"},{"photo_id":"1416857632","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416857607":["hashtag1","hashtag2"]},{"1416857636":["hashtag1","hashtag2"]},{"1416857630":["hashtag1","hashtag2"]},{"1416857578":["hashtag1","hashtag2"]},{"1416857632":["hashtag1","hashtag2"]},{"1416857634":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416857607, 1416857636, 1416857630, 1416857578, 1416857632, 1416857634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.091212034225464 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:03:04.131396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/06/image_07052026_14_07_05_30225.jpg', '/home/pi/Desktop/images/07052026/14/06/image_07052026_14_06_35_29241.jpg', '/home/pi/Desktop/images/07052026/14/05/image_07052026_14_06_06_30222.jpg', '/home/pi/Desktop/images/07052026/14/05/image_07052026_14_05_36_30240.jpg', '/home/pi/Desktop/images/07052026/14/04/image_07052026_14_05_05_30182.jpg', '/home/pi/Desktop/images/07052026/14/04/image_07052026_14_04_35_30141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/06/image_07052026_14_07_05_30225.jpg
/home/pi/Desktop/images/07052026/14/06/image_07052026_14_06_35_29241.jpg
/home/pi/Desktop/images/07052026/14/05/image_07052026_14_06_06_30222.jpg
/home/pi/Desktop/images/07052026/14/05/image_07052026_14_05_36_30240.jpg
/home/pi/Desktop/images/07052026/14/04/image_07052026_14_05_05_30182.jpg
/home/pi/Desktop/images/07052026/14/04/image_07052026_14_04_35_30141.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416857642","1416857639","1416857641","1416857644","1416857640","1416857643"],"photo_ids_order":["1416857639","1416857640","1416857641","1416857642","1416857643","1416857644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0897a58c60a6a54f30e7b0c135d031a3.jpg","text":"TemporaryFile(/tmp/multipartBody2078317577226324023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_05_36_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/282f38ea27629e3aba878c8eefbc2e91.jpg","text":"TemporaryFile(/tmp/multipartBody8488804707474385999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_07_05_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15701f21f03a12b411ac5522648bd01a.jpg","text":"TemporaryFile(/tmp/multipartBody4298596501226747634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_06_06_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f83fe18ed73f3ca280864a075b8a242.jpg","text":"TemporaryFile(/tmp/multipartBody8253677575300376473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_04_35_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76ad5ff484098668885fa00997c43729.jpg","text":"TemporaryFile(/tmp/multipartBody2946685555045077625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_06_35_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a1624b4dd2447e6aa78d7e9fd85276a.jpg","text":"TemporaryFile(/tmp/multipartBody5693470110641841748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493846312,"filename":"image_07052026_14_05_05_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416857641","file1":"1416857640","file0":"1416857639","file4":"1416857643","file5":"1416857644","file3":"1416857642"},"map_files_photo_id_array":[{"photo_id":"1416857644","filename":"file5"},{"photo_id":"1416857641","filename":"file2"},{"photo_id":"1416857643","filename":"file4"},{"photo_id":"1416857640","filename":"file1"},{"photo_id":"1416857639","filename":"file0"},{"photo_id":"1416857642","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416857642":["hashtag1","hashtag2"]},{"1416857639":["hashtag1","hashtag2"]},{"1416857641":["hashtag1","hashtag2"]},{"1416857644":["hashtag1","hashtag2"]},{"1416857640":["hashtag1","hashtag2"]},{"1416857643":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416857642, 1416857639, 1416857641, 1416857644, 1416857640, 1416857643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.311342000961304 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:04:03.121943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/34/image_07052026_01_34_35_30310.jpg', '/home/pi/Desktop/images/07052026/01/34/image_07052026_01_35_06_30256.jpg', '/home/pi/Desktop/images/07052026/01/35/image_07052026_01_36_05_30399.jpg', '/home/pi/Desktop/images/07052026/01/36/image_07052026_01_36_36_30396.jpg', '/home/pi/Desktop/images/07052026/01/37/image_07052026_01_38_06_30312.jpg', '/home/pi/Desktop/images/07052026/01/38/image_07052026_01_38_35_29325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/34/image_07052026_01_34_35_30310.jpg
/home/pi/Desktop/images/07052026/01/34/image_07052026_01_35_06_30256.jpg
/home/pi/Desktop/images/07052026/01/35/image_07052026_01_36_05_30399.jpg
/home/pi/Desktop/images/07052026/01/36/image_07052026_01_36_36_30396.jpg
/home/pi/Desktop/images/07052026/01/37/image_07052026_01_38_06_30312.jpg
/home/pi/Desktop/images/07052026/01/38/image_07052026_01_38_35_29325.jpg
2026-05-11 12:04:03.015124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/03/image_07052026_14_04_05_29273.jpg', '/home/pi/Desktop/images/07052026/14/03/image_07052026_14_03_36_30388.jpg', '/home/pi/Desktop/images/07052026/14/02/image_07052026_14_03_05_30287.jpg', '/home/pi/Desktop/images/07052026/14/02/image_07052026_14_02_35_30213.jpg', '/home/pi/Desktop/images/07052026/14/01/image_07052026_14_01_36_30328.jpg', '/home/pi/Desktop/images/07052026/14/00/image_07052026_14_01_05_30240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/03/image_07052026_14_04_05_29273.jpg
/home/pi/Desktop/images/07052026/14/03/image_07052026_14_03_36_30388.jpg
/home/pi/Desktop/images/07052026/14/02/image_07052026_14_03_05_30287.jpg
/home/pi/Desktop/images/07052026/14/02/image_07052026_14_02_35_30213.jpg
/home/pi/Desktop/images/07052026/14/01/image_07052026_14_01_36_30328.jpg
/home/pi/Desktop/images/07052026/14/00/image_07052026_14_01_05_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858211","1416857674","1416857647","1416858208","1416857650","1416857997"],"photo_ids_order":["1416857647","1416857650","1416857674","1416857997","1416858208","1416858211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56a1d0c992b2adcba0b397850535603a.jpg","text":"TemporaryFile(/tmp/multipartBody2400405006037925259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_01_05_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b8f0d1dc76a19cf2515180c1cf8351c.jpg","text":"TemporaryFile(/tmp/multipartBody5210589275888097941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_03_05_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44543326c9465e931fd3193b3ef3d863.jpg","text":"TemporaryFile(/tmp/multipartBody3034691519420599983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_04_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/497050f6b7a349ee65b062cb3054872f.jpg","text":"TemporaryFile(/tmp/multipartBody6004356855919174182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_01_36_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d09595c259a2289c5d0f212c1a63f18e.jpg","text":"TemporaryFile(/tmp/multipartBody289958144396769067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_03_36_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6331ae6ced46ae9904d3fa6190216f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4384906615932937140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905573,"filename":"image_07052026_14_02_35_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416857674","file1":"1416857650","file0":"1416857647","file4":"1416858208","file5":"1416858211","file3":"1416857997"},"map_files_photo_id_array":[{"photo_id":"1416858211","filename":"file5"},{"photo_id":"1416857674","filename":"file2"},{"photo_id":"1416858208","filename":"file4"},{"photo_id":"1416857650","filename":"file1"},{"photo_id":"1416857647","filename":"file0"},{"photo_id":"1416857997","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858211":["hashtag1","hashtag2"]},{"1416857674":["hashtag1","hashtag2"]},{"1416857647":["hashtag1","hashtag2"]},{"1416858208":["hashtag1","hashtag2"]},{"1416857650":["hashtag1","hashtag2"]},{"1416857997":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858211, 1416857674, 1416857647, 1416858208, 1416857650, 1416857997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.793116092681885 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858212","1416858209","1416857651","1416857648","1416858001","1416857687"],"photo_ids_order":["1416857648","1416857651","1416857687","1416858001","1416858209","1416858212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/880b58de413b2f09caa137b9c5b5b58e.jpg","text":"TemporaryFile(/tmp/multipartBody483772531409880573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_38_35_29325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38f272dbadccba6a4daee53c254c0ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2075854183085405900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_38_06_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aba8902d5209c375e95dddb7d02e4a49.jpg","text":"TemporaryFile(/tmp/multipartBody2427111251990437606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_35_06_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c771f0326d897d2e658a949f0de35c5.jpg","text":"TemporaryFile(/tmp/multipartBody4758698267991019402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_34_35_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/153aa4f6794469350e1ebf66fdd6f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody4019252932799634900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_36_36_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80572cf87ed1658024f057f3029212ce.jpg","text":"TemporaryFile(/tmp/multipartBody1636543925812783214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493905998,"filename":"image_07052026_01_36_05_30399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416857687","file1":"1416857651","file0":"1416857648","file4":"1416858209","file5":"1416858212","file3":"1416858001"},"map_files_photo_id_array":[{"photo_id":"1416858212","filename":"file5"},{"photo_id":"1416857687","filename":"file2"},{"photo_id":"1416858209","filename":"file4"},{"photo_id":"1416857651","filename":"file1"},{"photo_id":"1416857648","filename":"file0"},{"photo_id":"1416858001","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858212":["hashtag1","hashtag2"]},{"1416858209":["hashtag1","hashtag2"]},{"1416857651":["hashtag1","hashtag2"]},{"1416857648":["hashtag1","hashtag2"]},{"1416858001":["hashtag1","hashtag2"]},{"1416857687":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858212, 1416858209, 1416857651, 1416857648, 1416858001, 1416857687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.265013694763184 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:05:04.252876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/04/image_11052026_12_05_14_30250.jpg', '/home/pi/Desktop/images/11052026/12/00/image_11052026_12_00_44_30133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/04/image_11052026_12_05_14_30250.jpg
/home/pi/Desktop/images/11052026/12/00/image_11052026_12_00_44_30133.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858404","1416858371"],"photo_ids_order":["1416858371","1416858404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11885e85c27a754bfbdb71ec6fb6c4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8733701970192745741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493965536,"filename":"image_11052026_12_00_44_30133.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcb40648b6c65d52ae898ceb888b6b17.jpg","text":"TemporaryFile(/tmp/multipartBody5909912922171435776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778493965536,"filename":"image_11052026_12_05_14_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416858404","file0":"1416858371"},"map_files_photo_id_array":[{"photo_id":"1416858404","filename":"file1"},{"photo_id":"1416858371","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416858404":["hashtag1","hashtag2"]},{"1416858371":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416858404, 1416858371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.521074771881104 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:06:03.281256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/14/00/image_07052026_14_00_35_30199.jpg', '/home/pi/Desktop/images/07052026/13/59/image_07052026_13_59_36_30287.jpg', '/home/pi/Desktop/images/07052026/13/58/image_07052026_13_59_05_30318.jpg', '/home/pi/Desktop/images/07052026/13/57/image_07052026_13_58_05_29225.jpg', '/home/pi/Desktop/images/07052026/13/57/image_07052026_13_57_36_30291.jpg', '/home/pi/Desktop/images/07052026/13/56/image_07052026_13_57_05_30278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/14/00/image_07052026_14_00_35_30199.jpg
/home/pi/Desktop/images/07052026/13/59/image_07052026_13_59_36_30287.jpg
/home/pi/Desktop/images/07052026/13/58/image_07052026_13_59_05_30318.jpg
/home/pi/Desktop/images/07052026/13/57/image_07052026_13_58_05_29225.jpg
/home/pi/Desktop/images/07052026/13/57/image_07052026_13_57_36_30291.jpg
/home/pi/Desktop/images/07052026/13/56/image_07052026_13_57_05_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858431","1416858434","1416858433","1416858436","1416858438","1416858440"],"photo_ids_order":["1416858431","1416858433","1416858434","1416858436","1416858438","1416858440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9ffbe9984350608c682fc43d5a65e58.jpg","text":"TemporaryFile(/tmp/multipartBody3704324418197605300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_14_00_35_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f05984b57a08e4d1e93d347e3440cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3111728559948597946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_13_59_05_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/def87248fb7c7941de268f52672ebe9a.jpg","text":"TemporaryFile(/tmp/multipartBody5126640543678545027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_13_59_36_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82e691d419b20f1ad014197068d144fa.jpg","text":"TemporaryFile(/tmp/multipartBody6975310395698844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_13_58_05_29225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eee43cf85afec4e149b622f702b8bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody4258117915060313438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_13_57_36_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99b5ddb50df4310f1e516ca9355601e3.jpg","text":"TemporaryFile(/tmp/multipartBody8574079729090831984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494025468,"filename":"image_07052026_13_57_05_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416858434","file1":"1416858433","file0":"1416858431","file4":"1416858438","file5":"1416858440","file3":"1416858436"},"map_files_photo_id_array":[{"photo_id":"1416858440","filename":"file5"},{"photo_id":"1416858434","filename":"file2"},{"photo_id":"1416858438","filename":"file4"},{"photo_id":"1416858433","filename":"file1"},{"photo_id":"1416858431","filename":"file0"},{"photo_id":"1416858436","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858431":["hashtag1","hashtag2"]},{"1416858434":["hashtag1","hashtag2"]},{"1416858433":["hashtag1","hashtag2"]},{"1416858436":["hashtag1","hashtag2"]},{"1416858438":["hashtag1","hashtag2"]},{"1416858440":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858431, 1416858434, 1416858433, 1416858436, 1416858438, 1416858440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81063437461853 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:07:03.689677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/05/image_11052026_12_05_44_30155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/05/image_11052026_12_05_44_30155.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858443"],"photo_id":"1416858443","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/166af72f8c34ac56c7d575d2e787047e.jpg","text":"TemporaryFile(/tmp/multipartBody5339919508177418085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494084749,"filename":"image_11052026_12_05_44_30155.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416858443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416858443"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.385432243347168 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:08:03.262267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/06/image_11052026_12_06_44_30216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/06/image_11052026_12_06_44_30216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858446"],"photo_id":"1416858446","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6397fd18cae823de63ee5666f929973.jpg","text":"TemporaryFile(/tmp/multipartBody2370617712258867097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494144279,"filename":"image_11052026_12_06_44_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416858446"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416858446"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.889148473739624 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:09:04.790408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/07/image_11052026_12_07_44_30130.jpg', '/home/pi/Desktop/images/11052026/12/07/image_11052026_12_08_14_30130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/07/image_11052026_12_07_44_30130.jpg
/home/pi/Desktop/images/11052026/12/07/image_11052026_12_08_14_30130.jpg
2026-05-11 12:09:04.799612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/07/image_11052026_12_08_14_30130.jpg', '/home/pi/Desktop/images/11052026/12/07/image_11052026_12_07_44_30130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/07/image_11052026_12_08_14_30130.jpg
/home/pi/Desktop/images/11052026/12/07/image_11052026_12_07_44_30130.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.308647632598877 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858454","1416858453"],"photo_ids_order":["1416858453","1416858454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02c18f8feb2af17875a3dfbcc8b93bec.jpg","text":"TemporaryFile(/tmp/multipartBody5647631207220100797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494206306,"filename":"image_11052026_12_08_14_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84d63cf59d8b26832234e8026cc8a9e8.jpg","text":"TemporaryFile(/tmp/multipartBody1041611553640221672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494206306,"filename":"image_11052026_12_07_44_30130.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416858454","file0":"1416858453"},"map_files_photo_id_array":[{"photo_id":"1416858454","filename":"file1"},{"photo_id":"1416858453","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416858454":["hashtag1","hashtag2"]},{"1416858453":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416858454, 1416858453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.308568239212036 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:10:03.584753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/56/image_07052026_13_56_35_30230.jpg', '/home/pi/Desktop/images/07052026/13/55/image_07052026_13_56_05_29201.jpg', '/home/pi/Desktop/images/07052026/13/55/image_07052026_13_55_36_30295.jpg', '/home/pi/Desktop/images/07052026/13/52/image_07052026_13_53_05_30154.jpg', '/home/pi/Desktop/images/07052026/13/52/image_07052026_13_52_35_30149.jpg', '/home/pi/Desktop/images/07052026/13/51/image_07052026_13_52_05_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/56/image_07052026_13_56_35_30230.jpg
/home/pi/Desktop/images/07052026/13/55/image_07052026_13_56_05_29201.jpg
/home/pi/Desktop/images/07052026/13/55/image_07052026_13_55_36_30295.jpg
/home/pi/Desktop/images/07052026/13/52/image_07052026_13_53_05_30154.jpg
/home/pi/Desktop/images/07052026/13/52/image_07052026_13_52_35_30149.jpg
/home/pi/Desktop/images/07052026/13/51/image_07052026_13_52_05_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858466","1416858460","1416858462","1416858468","1416858464","1416858458"],"photo_ids_order":["1416858458","1416858460","1416858462","1416858464","1416858466","1416858468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb205c5c47d1358c1dc63d6f39b892cf.jpg","text":"TemporaryFile(/tmp/multipartBody3395096988080872021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_52_35_30149.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f4d8aaf5b0a955faa9e6b840530f568.jpg","text":"TemporaryFile(/tmp/multipartBody9213553008555297813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_56_05_29201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b94e5a5a6244aad6240ca842dec0f952.jpg","text":"TemporaryFile(/tmp/multipartBody601326392249675739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_55_36_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7161df5b13e82d0ae376d396df6fa587.jpg","text":"TemporaryFile(/tmp/multipartBody6557404063038211755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_52_05_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12ee1c92c9a76f16b958a3820cbd4abe.jpg","text":"TemporaryFile(/tmp/multipartBody8129907834307635377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_53_05_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bda852445618911c279ce90c81e2949.jpg","text":"TemporaryFile(/tmp/multipartBody1255639409568859660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494265994,"filename":"image_07052026_13_56_35_30230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416858462","file1":"1416858460","file0":"1416858458","file4":"1416858466","file5":"1416858468","file3":"1416858464"},"map_files_photo_id_array":[{"photo_id":"1416858468","filename":"file5"},{"photo_id":"1416858462","filename":"file2"},{"photo_id":"1416858466","filename":"file4"},{"photo_id":"1416858460","filename":"file1"},{"photo_id":"1416858458","filename":"file0"},{"photo_id":"1416858464","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858466":["hashtag1","hashtag2"]},{"1416858460":["hashtag1","hashtag2"]},{"1416858462":["hashtag1","hashtag2"]},{"1416858468":["hashtag1","hashtag2"]},{"1416858464":["hashtag1","hashtag2"]},{"1416858458":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858466, 1416858460, 1416858462, 1416858468, 1416858464, 1416858458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81389021873474 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:11:03.783319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/51/image_07052026_13_51_35_29099.jpg', '/home/pi/Desktop/images/07052026/13/50/image_07052026_13_51_06_30278.jpg', '/home/pi/Desktop/images/07052026/13/49/image_07052026_13_49_35_29134.jpg', '/home/pi/Desktop/images/07052026/13/48/image_07052026_13_49_06_30263.jpg', '/home/pi/Desktop/images/07052026/13/47/image_07052026_13_48_05_30200.jpg', '/home/pi/Desktop/images/07052026/13/47/image_07052026_13_47_35_30341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/51/image_07052026_13_51_35_29099.jpg
/home/pi/Desktop/images/07052026/13/50/image_07052026_13_51_06_30278.jpg
/home/pi/Desktop/images/07052026/13/49/image_07052026_13_49_35_29134.jpg
/home/pi/Desktop/images/07052026/13/48/image_07052026_13_49_06_30263.jpg
/home/pi/Desktop/images/07052026/13/47/image_07052026_13_48_05_30200.jpg
/home/pi/Desktop/images/07052026/13/47/image_07052026_13_47_35_30341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858478","1416858475","1416858480","1416858477","1416858471","1416858473"],"photo_ids_order":["1416858471","1416858473","1416858475","1416858477","1416858478","1416858480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45b1dbb66ff8f15e84051299f1509946.jpg","text":"TemporaryFile(/tmp/multipartBody3591561369274731142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_48_05_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb97081139a8b5567428d15ce6aa7fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6356988236049340794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_49_35_29134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7f8199895182196207f9d4eb91ea55b.jpg","text":"TemporaryFile(/tmp/multipartBody4961296308764527142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_47_35_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9c5dc420057a9c92027e474fa92c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1571999090151625900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_49_06_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32b50461d6616a85cb967e5352f78e05.jpg","text":"TemporaryFile(/tmp/multipartBody1748980810112461571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_51_35_29099.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/288a354b36a965081b5b07780420763d.jpg","text":"TemporaryFile(/tmp/multipartBody105687417862637741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494325789,"filename":"image_07052026_13_51_06_30278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416858475","file1":"1416858473","file0":"1416858471","file4":"1416858478","file5":"1416858480","file3":"1416858477"},"map_files_photo_id_array":[{"photo_id":"1416858480","filename":"file5"},{"photo_id":"1416858475","filename":"file2"},{"photo_id":"1416858478","filename":"file4"},{"photo_id":"1416858473","filename":"file1"},{"photo_id":"1416858471","filename":"file0"},{"photo_id":"1416858477","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858478":["hashtag1","hashtag2"]},{"1416858475":["hashtag1","hashtag2"]},{"1416858480":["hashtag1","hashtag2"]},{"1416858477":["hashtag1","hashtag2"]},{"1416858471":["hashtag1","hashtag2"]},{"1416858473":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858478, 1416858475, 1416858480, 1416858477, 1416858471, 1416858473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90509581565857 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:12:03.100136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/46/image_07052026_13_46_36_30264.jpg', '/home/pi/Desktop/images/07052026/13/45/image_07052026_13_46_05_30312.jpg', '/home/pi/Desktop/images/07052026/13/44/image_07052026_13_45_05_29174.jpg', '/home/pi/Desktop/images/07052026/13/44/image_07052026_13_44_36_30218.jpg', '/home/pi/Desktop/images/07052026/13/43/image_07052026_13_44_05_30173.jpg', '/home/pi/Desktop/images/07052026/13/43/image_07052026_13_43_35_30232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/46/image_07052026_13_46_36_30264.jpg
/home/pi/Desktop/images/07052026/13/45/image_07052026_13_46_05_30312.jpg
/home/pi/Desktop/images/07052026/13/44/image_07052026_13_45_05_29174.jpg
/home/pi/Desktop/images/07052026/13/44/image_07052026_13_44_36_30218.jpg
/home/pi/Desktop/images/07052026/13/43/image_07052026_13_44_05_30173.jpg
/home/pi/Desktop/images/07052026/13/43/image_07052026_13_43_35_30232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416858490","1416858484","1416858492","1416858486","1416858494","1416858488"],"photo_ids_order":["1416858484","1416858486","1416858488","1416858490","1416858492","1416858494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0e49682e966bb094f8ea8556ff95560.jpg","text":"TemporaryFile(/tmp/multipartBody7409026833218223795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_44_36_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8124eb8cf84b872657c803fa6ae1d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody4043730939944907220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_46_36_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4755704b800bc59e3c2b1066922a1127.jpg","text":"TemporaryFile(/tmp/multipartBody1315437961601831106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_44_05_30173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ebcae38ddc8d4ea32b4f221c1fc29f48.jpg","text":"TemporaryFile(/tmp/multipartBody1316177811732383068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_46_05_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8c4ae350d26fef887f511d646f47823.jpg","text":"TemporaryFile(/tmp/multipartBody7174800300107965445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_43_35_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b622fba69b891d6aa0d6298088b1d64.jpg","text":"TemporaryFile(/tmp/multipartBody4088479390548541868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494385158,"filename":"image_07052026_13_45_05_29174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416858488","file1":"1416858486","file0":"1416858484","file4":"1416858492","file5":"1416858494","file3":"1416858490"},"map_files_photo_id_array":[{"photo_id":"1416858494","filename":"file5"},{"photo_id":"1416858488","filename":"file2"},{"photo_id":"1416858492","filename":"file4"},{"photo_id":"1416858486","filename":"file1"},{"photo_id":"1416858484","filename":"file0"},{"photo_id":"1416858490","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416858490":["hashtag1","hashtag2"]},{"1416858484":["hashtag1","hashtag2"]},{"1416858492":["hashtag1","hashtag2"]},{"1416858486":["hashtag1","hashtag2"]},{"1416858494":["hashtag1","hashtag2"]},{"1416858488":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416858490, 1416858484, 1416858492, 1416858486, 1416858494, 1416858488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02359580993652 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:13:04.259529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/42/image_07052026_13_43_05_30179.jpg', '/home/pi/Desktop/images/07052026/13/42/image_07052026_13_42_35_29066.jpg', '/home/pi/Desktop/images/07052026/13/41/image_07052026_13_42_06_30232.jpg', '/home/pi/Desktop/images/07052026/13/41/image_07052026_13_41_36_30266.jpg', '/home/pi/Desktop/images/07052026/13/40/image_07052026_13_41_05_30287.jpg', '/home/pi/Desktop/images/07052026/13/40/image_07052026_13_40_35_29154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/42/image_07052026_13_43_05_30179.jpg
/home/pi/Desktop/images/07052026/13/42/image_07052026_13_42_35_29066.jpg
/home/pi/Desktop/images/07052026/13/41/image_07052026_13_42_06_30232.jpg
/home/pi/Desktop/images/07052026/13/41/image_07052026_13_41_36_30266.jpg
/home/pi/Desktop/images/07052026/13/40/image_07052026_13_41_05_30287.jpg
/home/pi/Desktop/images/07052026/13/40/image_07052026_13_40_35_29154.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859321","1416859197","1416859065","1416859320","1416859322","1416859319"],"photo_ids_order":["1416859065","1416859197","1416859319","1416859320","1416859321","1416859322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37680fb1d088fda0c25245768144c470.jpg","text":"TemporaryFile(/tmp/multipartBody8149274406388273695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_41_05_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5001294dee6b029a45b12f90d95df4c.jpg","text":"TemporaryFile(/tmp/multipartBody8384457553578257539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_42_35_29066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a28b2e1265987492de68fa793a33b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5789351448841462227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_43_05_30179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e1a9fcdc8c5fd6609d5efc5192690c5.jpg","text":"TemporaryFile(/tmp/multipartBody6069628296086955139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_41_36_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d44f5173cc5d826240933fb7f567405.jpg","text":"TemporaryFile(/tmp/multipartBody2227054130816428234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_40_35_29154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18e1a94e15dbc0deb496e1e9a63236aa.jpg","text":"TemporaryFile(/tmp/multipartBody5869324527491076334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494446321,"filename":"image_07052026_13_42_06_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859319","file1":"1416859197","file0":"1416859065","file4":"1416859321","file5":"1416859322","file3":"1416859320"},"map_files_photo_id_array":[{"photo_id":"1416859322","filename":"file5"},{"photo_id":"1416859319","filename":"file2"},{"photo_id":"1416859321","filename":"file4"},{"photo_id":"1416859197","filename":"file1"},{"photo_id":"1416859065","filename":"file0"},{"photo_id":"1416859320","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859321":["hashtag1","hashtag2"]},{"1416859197":["hashtag1","hashtag2"]},{"1416859065":["hashtag1","hashtag2"]},{"1416859320":["hashtag1","hashtag2"]},{"1416859322":["hashtag1","hashtag2"]},{"1416859319":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859321, 1416859197, 1416859065, 1416859320, 1416859322, 1416859319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20227074623108 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:14:03.823920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/38/image_07052026_01_39_05_30345.jpg', '/home/pi/Desktop/images/07052026/01/39/image_07052026_01_39_35_29294.jpg', '/home/pi/Desktop/images/07052026/01/39/image_07052026_01_40_05_30369.jpg', '/home/pi/Desktop/images/07052026/01/41/image_07052026_01_41_35_30385.jpg', '/home/pi/Desktop/images/07052026/01/41/image_07052026_01_42_06_30381.jpg', '/home/pi/Desktop/images/07052026/01/42/image_07052026_01_42_35_29283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/38/image_07052026_01_39_05_30345.jpg
/home/pi/Desktop/images/07052026/01/39/image_07052026_01_39_35_29294.jpg
/home/pi/Desktop/images/07052026/01/39/image_07052026_01_40_05_30369.jpg
/home/pi/Desktop/images/07052026/01/41/image_07052026_01_41_35_30385.jpg
/home/pi/Desktop/images/07052026/01/41/image_07052026_01_42_06_30381.jpg
/home/pi/Desktop/images/07052026/01/42/image_07052026_01_42_35_29283.jpg
2026-05-11 12:14:03.851540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/39/image_07052026_13_40_06_30227.jpg', '/home/pi/Desktop/images/07052026/13/39/image_07052026_13_39_36_30339.jpg', '/home/pi/Desktop/images/07052026/13/38/image_07052026_13_39_05_30186.jpg', '/home/pi/Desktop/images/07052026/13/37/image_07052026_13_38_05_29209.jpg', '/home/pi/Desktop/images/07052026/13/36/image_07052026_13_37_05_30217.jpg', '/home/pi/Desktop/images/07052026/13/36/image_07052026_13_36_35_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/39/image_07052026_13_40_06_30227.jpg
/home/pi/Desktop/images/07052026/13/39/image_07052026_13_39_36_30339.jpg
/home/pi/Desktop/images/07052026/13/38/image_07052026_13_39_05_30186.jpg
/home/pi/Desktop/images/07052026/13/37/image_07052026_13_38_05_29209.jpg
/home/pi/Desktop/images/07052026/13/36/image_07052026_13_37_05_30217.jpg
/home/pi/Desktop/images/07052026/13/36/image_07052026_13_36_35_30170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859675","1416859332","1416859335","1416859329","1416859418","1416859325"],"photo_ids_order":["1416859325","1416859329","1416859332","1416859335","1416859418","1416859675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb1eb4a565749c335e74bc268c4e3c16.jpg","text":"TemporaryFile(/tmp/multipartBody2434111489056118587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_36_35_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b349c705d0e4fa0ca6535d99a3d8ca03.jpg","text":"TemporaryFile(/tmp/multipartBody444091957903113482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_39_05_30186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2b989a5544fc232b8eefeaf572b2e86.jpg","text":"TemporaryFile(/tmp/multipartBody666259366095152925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_38_05_29209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcf60939e7d61d8c7855d30c5e6648bf.jpg","text":"TemporaryFile(/tmp/multipartBody4958921815212627289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_39_36_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9905cd16fd27aeee619b9a1e0ffb93b3.jpg","text":"TemporaryFile(/tmp/multipartBody3172665575044139493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_37_05_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c46af71533029c5f8974825971bd44a.jpg","text":"TemporaryFile(/tmp/multipartBody585522882754126029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506438,"filename":"image_07052026_13_40_06_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859332","file1":"1416859329","file0":"1416859325","file4":"1416859418","file5":"1416859675","file3":"1416859335"},"map_files_photo_id_array":[{"photo_id":"1416859675","filename":"file5"},{"photo_id":"1416859332","filename":"file2"},{"photo_id":"1416859418","filename":"file4"},{"photo_id":"1416859329","filename":"file1"},{"photo_id":"1416859325","filename":"file0"},{"photo_id":"1416859335","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859675":["hashtag1","hashtag2"]},{"1416859332":["hashtag1","hashtag2"]},{"1416859335":["hashtag1","hashtag2"]},{"1416859329":["hashtag1","hashtag2"]},{"1416859418":["hashtag1","hashtag2"]},{"1416859325":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859675, 1416859332, 1416859335, 1416859329, 1416859418, 1416859325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59841799736023 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859333","1416859336","1416859330","1416859473","1416859326","1416859676"],"photo_ids_order":["1416859326","1416859330","1416859333","1416859336","1416859473","1416859676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d26cd4158385de44b9d01658b92ff38c.jpg","text":"TemporaryFile(/tmp/multipartBody8906534674702771049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_40_05_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3004f0e63a2615a644538d1a472abfdc.jpg","text":"TemporaryFile(/tmp/multipartBody1297382895304310561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_41_35_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54693306dff87926b35cf83a1c6ee8e9.jpg","text":"TemporaryFile(/tmp/multipartBody3810763161130334735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_39_35_29294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a8e8733095bad90200b3d5c258c2dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2193303634914553353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_42_06_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/927b531e28ccf1a6c83341c3528d9619.jpg","text":"TemporaryFile(/tmp/multipartBody7398169168602166886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_39_05_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62236b23f20a5afa84ded628a0d716bd.jpg","text":"TemporaryFile(/tmp/multipartBody5425893943339822701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494506993,"filename":"image_07052026_01_42_35_29283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859333","file1":"1416859330","file0":"1416859326","file4":"1416859473","file5":"1416859676","file3":"1416859336"},"map_files_photo_id_array":[{"photo_id":"1416859676","filename":"file5"},{"photo_id":"1416859333","filename":"file2"},{"photo_id":"1416859473","filename":"file4"},{"photo_id":"1416859330","filename":"file1"},{"photo_id":"1416859326","filename":"file0"},{"photo_id":"1416859336","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859333":["hashtag1","hashtag2"]},{"1416859336":["hashtag1","hashtag2"]},{"1416859330":["hashtag1","hashtag2"]},{"1416859473":["hashtag1","hashtag2"]},{"1416859326":["hashtag1","hashtag2"]},{"1416859676":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859333, 1416859336, 1416859330, 1416859473, 1416859326, 1416859676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.351332664489746 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:15:04.219191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/35/image_07052026_13_35_36_30050.jpg', '/home/pi/Desktop/images/07052026/13/34/image_07052026_13_35_06_30172.jpg', '/home/pi/Desktop/images/07052026/13/34/image_07052026_13_34_35_30245.jpg', '/home/pi/Desktop/images/07052026/13/32/image_07052026_13_33_06_30229.jpg', '/home/pi/Desktop/images/07052026/13/32/image_07052026_13_32_35_30202.jpg', '/home/pi/Desktop/images/07052026/13/31/image_07052026_13_32_05_30221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/35/image_07052026_13_35_36_30050.jpg
/home/pi/Desktop/images/07052026/13/34/image_07052026_13_35_06_30172.jpg
/home/pi/Desktop/images/07052026/13/34/image_07052026_13_34_35_30245.jpg
/home/pi/Desktop/images/07052026/13/32/image_07052026_13_33_06_30229.jpg
/home/pi/Desktop/images/07052026/13/32/image_07052026_13_32_35_30202.jpg
/home/pi/Desktop/images/07052026/13/31/image_07052026_13_32_05_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859795","1416859797","1416859800","1416859796","1416859799","1416859798"],"photo_ids_order":["1416859795","1416859796","1416859797","1416859798","1416859799","1416859800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6878bd10fd5a4ff70ce1ac88441dae75.jpg","text":"TemporaryFile(/tmp/multipartBody5970563583232784452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_35_36_30050.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ba53655c3524ad37c22489e247acbce.jpg","text":"TemporaryFile(/tmp/multipartBody2176180372441261076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_34_35_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30862db1bddd2ca56d043d5f3d6af1a9.jpg","text":"TemporaryFile(/tmp/multipartBody7979054607080191971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_32_05_30221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f63a8b399b74cde66d3d1290879a90e.jpg","text":"TemporaryFile(/tmp/multipartBody156540884080343359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_35_06_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c119a17f47f036c2a1a0d943e9e237c.jpg","text":"TemporaryFile(/tmp/multipartBody1577685077262731587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_32_35_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb8f1e07f1f85bed672e26c36afdd0be.jpg","text":"TemporaryFile(/tmp/multipartBody8772071060734482277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494566102,"filename":"image_07052026_13_33_06_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859797","file1":"1416859796","file0":"1416859795","file4":"1416859799","file5":"1416859800","file3":"1416859798"},"map_files_photo_id_array":[{"photo_id":"1416859800","filename":"file5"},{"photo_id":"1416859797","filename":"file2"},{"photo_id":"1416859799","filename":"file4"},{"photo_id":"1416859796","filename":"file1"},{"photo_id":"1416859795","filename":"file0"},{"photo_id":"1416859798","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859795":["hashtag1","hashtag2"]},{"1416859797":["hashtag1","hashtag2"]},{"1416859800":["hashtag1","hashtag2"]},{"1416859796":["hashtag1","hashtag2"]},{"1416859799":["hashtag1","hashtag2"]},{"1416859798":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859795, 1416859797, 1416859800, 1416859796, 1416859799, 1416859798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80446267127991 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:16:03.531222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/31/image_07052026_13_31_35_30214.jpg', '/home/pi/Desktop/images/07052026/13/30/image_07052026_13_31_05_29205.jpg', '/home/pi/Desktop/images/07052026/13/30/image_07052026_13_30_36_30192.jpg', '/home/pi/Desktop/images/07052026/13/29/image_07052026_13_30_05_30266.jpg', '/home/pi/Desktop/images/07052026/13/29/image_07052026_13_29_35_30217.jpg', '/home/pi/Desktop/images/07052026/13/28/image_07052026_13_29_05_29123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/31/image_07052026_13_31_35_30214.jpg
/home/pi/Desktop/images/07052026/13/30/image_07052026_13_31_05_29205.jpg
/home/pi/Desktop/images/07052026/13/30/image_07052026_13_30_36_30192.jpg
/home/pi/Desktop/images/07052026/13/29/image_07052026_13_30_05_30266.jpg
/home/pi/Desktop/images/07052026/13/29/image_07052026_13_29_35_30217.jpg
/home/pi/Desktop/images/07052026/13/28/image_07052026_13_29_05_29123.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859813","1416859807","1416859809","1416859803","1416859811","1416859805"],"photo_ids_order":["1416859803","1416859805","1416859807","1416859809","1416859811","1416859813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d538deebd248cddd1e3c6bf38e30c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3040427546475410661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_29_05_29123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/816614d129505cb0d93a6b318e0f71ec.jpg","text":"TemporaryFile(/tmp/multipartBody3416790433164282359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_30_36_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16673b35692b444da0ca8d3dfbcd33ea.jpg","text":"TemporaryFile(/tmp/multipartBody8651583776602029780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_30_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1eecea5f12b54af674c8f5b4ada5b893.jpg","text":"TemporaryFile(/tmp/multipartBody6506570873433364716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_31_35_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16d1996e5d9fd765e1e93a5a1d64cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody1712819016030961612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_29_35_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74e73a11eb9379e7a9188593c2132ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8644659869496904607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494625468,"filename":"image_07052026_13_31_05_29205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859807","file1":"1416859805","file0":"1416859803","file4":"1416859811","file5":"1416859813","file3":"1416859809"},"map_files_photo_id_array":[{"photo_id":"1416859813","filename":"file5"},{"photo_id":"1416859807","filename":"file2"},{"photo_id":"1416859811","filename":"file4"},{"photo_id":"1416859805","filename":"file1"},{"photo_id":"1416859803","filename":"file0"},{"photo_id":"1416859809","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859813":["hashtag1","hashtag2"]},{"1416859807":["hashtag1","hashtag2"]},{"1416859809":["hashtag1","hashtag2"]},{"1416859803":["hashtag1","hashtag2"]},{"1416859811":["hashtag1","hashtag2"]},{"1416859805":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859813, 1416859807, 1416859809, 1416859803, 1416859811, 1416859805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.257421016693115 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:17:04.152249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/16/image_11052026_12_16_44_29144.jpg', '/home/pi/Desktop/images/11052026/12/15/image_11052026_12_16_14_30216.jpg', '/home/pi/Desktop/images/11052026/12/08/image_11052026_12_08_43_29186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/16/image_11052026_12_16_44_29144.jpg
/home/pi/Desktop/images/11052026/12/15/image_11052026_12_16_14_30216.jpg
/home/pi/Desktop/images/11052026/12/08/image_11052026_12_08_43_29186.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0153083801269531 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:18:03.283605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/16/image_11052026_12_16_44_29144.jpg', '/home/pi/Desktop/images/11052026/12/15/image_11052026_12_16_14_30216.jpg', '/home/pi/Desktop/images/11052026/12/08/image_11052026_12_08_43_29186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/16/image_11052026_12_16_44_29144.jpg
/home/pi/Desktop/images/11052026/12/15/image_11052026_12_16_14_30216.jpg
/home/pi/Desktop/images/11052026/12/08/image_11052026_12_08_43_29186.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859825","1416859827","1416859829"],"photo_ids_order":["1416859825","1416859827","1416859829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1893c5c95d728784570e553e27db81ab.jpg","text":"TemporaryFile(/tmp/multipartBody7385017627347027395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494744990,"filename":"image_11052026_12_16_44_29144.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8fb0b6b198f8692959d61418231775f.jpg","text":"TemporaryFile(/tmp/multipartBody6635895617387476123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494744990,"filename":"image_11052026_12_16_14_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b05fecffbce3246ef35cd83d54a76b48.jpg","text":"TemporaryFile(/tmp/multipartBody221531655056185065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494744990,"filename":"image_11052026_12_08_43_29186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859829","file1":"1416859827","file0":"1416859825"},"map_files_photo_id_array":[{"photo_id":"1416859829","filename":"file2"},{"photo_id":"1416859827","filename":"file1"},{"photo_id":"1416859825","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416859825":["hashtag1","hashtag2"]},{"1416859827":["hashtag1","hashtag2"]},{"1416859829":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416859825, 1416859827, 1416859829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.593817710876465 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:19:03.753170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/16/image_11052026_12_17_14_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/16/image_11052026_12_17_14_30182.jpg
2026-05-11 12:19:04.035373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/18/image_11052026_12_19_14_30210.jpg', '/home/pi/Desktop/images/11052026/12/18/image_11052026_12_18_43_29218.jpg', '/home/pi/Desktop/images/11052026/12/16/image_11052026_12_17_14_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/18/image_11052026_12_19_14_30210.jpg
/home/pi/Desktop/images/11052026/12/18/image_11052026_12_18_43_29218.jpg
/home/pi/Desktop/images/11052026/12/16/image_11052026_12_17_14_30182.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8749887943267822 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859834","1416859833","1416859835"],"photo_ids_order":["1416859833","1416859834","1416859835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e858235f21c6c55d8e278f6107f349c.jpg","text":"TemporaryFile(/tmp/multipartBody8642614203273777713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494805496,"filename":"image_11052026_12_18_43_29218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f930b5d38f5e430d71b098cf51a0e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4821745857778727912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494805496,"filename":"image_11052026_12_19_14_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb6158cb48808a3d0942b848651980fa.jpg","text":"TemporaryFile(/tmp/multipartBody1484586003735552177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494805496,"filename":"image_11052026_12_17_14_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859835","file1":"1416859834","file0":"1416859833"},"map_files_photo_id_array":[{"photo_id":"1416859835","filename":"file2"},{"photo_id":"1416859834","filename":"file1"},{"photo_id":"1416859833","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416859834":["hashtag1","hashtag2"]},{"1416859833":["hashtag1","hashtag2"]},{"1416859835":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416859834, 1416859833, 1416859835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.88960337638855 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:20:03.278190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/28/image_07052026_13_28_36_30229.jpg', '/home/pi/Desktop/images/07052026/13/27/image_07052026_13_27_35_30334.jpg', '/home/pi/Desktop/images/07052026/13/26/image_07052026_13_26_36_30399.jpg', '/home/pi/Desktop/images/07052026/13/25/image_07052026_13_26_05_30267.jpg', '/home/pi/Desktop/images/07052026/13/25/image_07052026_13_25_35_30273.jpg', '/home/pi/Desktop/images/07052026/13/24/image_07052026_13_25_05_29199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/28/image_07052026_13_28_36_30229.jpg
/home/pi/Desktop/images/07052026/13/27/image_07052026_13_27_35_30334.jpg
/home/pi/Desktop/images/07052026/13/26/image_07052026_13_26_36_30399.jpg
/home/pi/Desktop/images/07052026/13/25/image_07052026_13_26_05_30267.jpg
/home/pi/Desktop/images/07052026/13/25/image_07052026_13_25_35_30273.jpg
/home/pi/Desktop/images/07052026/13/24/image_07052026_13_25_05_29199.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859849","1416859843","1416859845","1416859839","1416859841","1416859847"],"photo_ids_order":["1416859839","1416859841","1416859843","1416859845","1416859847","1416859849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b0e2c4e45547bba632204c17c646792.jpg","text":"TemporaryFile(/tmp/multipartBody2720710406831366089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_25_05_29199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8331e275f7f5428ddb21b398516a97d8.jpg","text":"TemporaryFile(/tmp/multipartBody4981008416237774437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_26_36_30399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c6d30071cca89d9ecf61d34398c2a24.jpg","text":"TemporaryFile(/tmp/multipartBody6238029630481057922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_26_05_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67b6408105c629682dc0291e89cfe41e.jpg","text":"TemporaryFile(/tmp/multipartBody1965304080587929603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_28_36_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6694fa347ac0cbcb906356274f0bf40a.jpg","text":"TemporaryFile(/tmp/multipartBody1517890667468251850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_27_35_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d91ae804173d3a9057bb2fec73cd38d.jpg","text":"TemporaryFile(/tmp/multipartBody5545470855648498140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494865655,"filename":"image_07052026_13_25_35_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859843","file1":"1416859841","file0":"1416859839","file4":"1416859847","file5":"1416859849","file3":"1416859845"},"map_files_photo_id_array":[{"photo_id":"1416859849","filename":"file5"},{"photo_id":"1416859843","filename":"file2"},{"photo_id":"1416859847","filename":"file4"},{"photo_id":"1416859841","filename":"file1"},{"photo_id":"1416859839","filename":"file0"},{"photo_id":"1416859845","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859849":["hashtag1","hashtag2"]},{"1416859843":["hashtag1","hashtag2"]},{"1416859845":["hashtag1","hashtag2"]},{"1416859839":["hashtag1","hashtag2"]},{"1416859841":["hashtag1","hashtag2"]},{"1416859847":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859849, 1416859843, 1416859845, 1416859839, 1416859841, 1416859847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72158479690552 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:21:03.711907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/20/image_11052026_12_21_13_29128.jpg', '/home/pi/Desktop/images/11052026/12/19/image_11052026_12_20_14_30192.jpg', '/home/pi/Desktop/images/11052026/12/19/image_11052026_12_19_44_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/20/image_11052026_12_21_13_29128.jpg
/home/pi/Desktop/images/11052026/12/19/image_11052026_12_20_14_30192.jpg
/home/pi/Desktop/images/11052026/12/19/image_11052026_12_19_44_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859852","1416859851","1416859853"],"photo_ids_order":["1416859851","1416859852","1416859853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c92a43d38a9ccf96eb85fba32f5722aa.jpg","text":"TemporaryFile(/tmp/multipartBody3844123721921607218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494925320,"filename":"image_11052026_12_20_14_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75335030ebb5ec4c2921873b46753dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5929823022237114750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494925320,"filename":"image_11052026_12_21_13_29128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/10b604e6d19fcaa6c29e001b191e541d.jpg","text":"TemporaryFile(/tmp/multipartBody3279756628130544926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494925320,"filename":"image_11052026_12_19_44_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859853","file1":"1416859852","file0":"1416859851"},"map_files_photo_id_array":[{"photo_id":"1416859853","filename":"file2"},{"photo_id":"1416859852","filename":"file1"},{"photo_id":"1416859851","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416859852":["hashtag1","hashtag2"]},{"1416859851":["hashtag1","hashtag2"]},{"1416859853":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416859852, 1416859851, 1416859853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.14214324951172 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:22:03.091294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/24/image_07052026_13_24_36_30229.jpg', '/home/pi/Desktop/images/07052026/13/22/image_07052026_13_22_36_30346.jpg', '/home/pi/Desktop/images/07052026/13/20/image_07052026_13_20_36_30299.jpg', '/home/pi/Desktop/images/07052026/13/19/image_07052026_13_20_05_30240.jpg', '/home/pi/Desktop/images/07052026/13/19/image_07052026_13_19_35_30312.jpg', '/home/pi/Desktop/images/07052026/13/18/image_07052026_13_19_05_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/24/image_07052026_13_24_36_30229.jpg
/home/pi/Desktop/images/07052026/13/22/image_07052026_13_22_36_30346.jpg
/home/pi/Desktop/images/07052026/13/20/image_07052026_13_20_36_30299.jpg
/home/pi/Desktop/images/07052026/13/19/image_07052026_13_20_05_30240.jpg
/home/pi/Desktop/images/07052026/13/19/image_07052026_13_19_35_30312.jpg
/home/pi/Desktop/images/07052026/13/18/image_07052026_13_19_05_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859861","1416859858","1416859856","1416859865","1416859859","1416859864"],"photo_ids_order":["1416859856","1416859858","1416859859","1416859861","1416859864","1416859865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf7c7ebf0ab3ae8960dfc12db6c85a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8058499219715512258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_20_05_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d49db1b569c21984c59b7ec42a3476b.jpg","text":"TemporaryFile(/tmp/multipartBody3639241261265668487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_22_36_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/afe2161d9def2462ae2d1d46795d9a71.jpg","text":"TemporaryFile(/tmp/multipartBody1123308083431397640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_24_36_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb6c6f84fc791939c99eb2821a625db8.jpg","text":"TemporaryFile(/tmp/multipartBody3383513366300632290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_19_05_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1da9b06f996eda0f232968e3fc49e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody7094750274744235031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_20_36_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5248a5cd33080f9e22baa9102240e1d1.jpg","text":"TemporaryFile(/tmp/multipartBody5468576279277313697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778494985445,"filename":"image_07052026_13_19_35_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859859","file1":"1416859858","file0":"1416859856","file4":"1416859864","file5":"1416859865","file3":"1416859861"},"map_files_photo_id_array":[{"photo_id":"1416859865","filename":"file5"},{"photo_id":"1416859859","filename":"file2"},{"photo_id":"1416859864","filename":"file4"},{"photo_id":"1416859858","filename":"file1"},{"photo_id":"1416859856","filename":"file0"},{"photo_id":"1416859861","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859861":["hashtag1","hashtag2"]},{"1416859858":["hashtag1","hashtag2"]},{"1416859856":["hashtag1","hashtag2"]},{"1416859865":["hashtag1","hashtag2"]},{"1416859859":["hashtag1","hashtag2"]},{"1416859864":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859861, 1416859858, 1416859856, 1416859865, 1416859859, 1416859864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9656982421875 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:23:04.271467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/22/image_11052026_12_23_14_30201.jpg', '/home/pi/Desktop/images/11052026/12/21/image_11052026_12_22_14_30196.jpg', '/home/pi/Desktop/images/11052026/12/21/image_11052026_12_21_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/22/image_11052026_12_23_14_30201.jpg
/home/pi/Desktop/images/11052026/12/21/image_11052026_12_22_14_30196.jpg
/home/pi/Desktop/images/11052026/12/21/image_11052026_12_21_44_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859869","1416859868","1416859870"],"photo_ids_order":["1416859868","1416859869","1416859870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aba57dd46d70e8bb8bc78b598535bf75.jpg","text":"TemporaryFile(/tmp/multipartBody1746270142300661752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495046052,"filename":"image_11052026_12_22_14_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b573d3a4a60880d40f7ab9dcac52fb9f.jpg","text":"TemporaryFile(/tmp/multipartBody7518820110406432495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495046052,"filename":"image_11052026_12_23_14_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c8398bc3fcf646e730e7386f2a5db6c.jpg","text":"TemporaryFile(/tmp/multipartBody8592364488809644955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495046052,"filename":"image_11052026_12_21_44_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859870","file1":"1416859869","file0":"1416859868"},"map_files_photo_id_array":[{"photo_id":"1416859870","filename":"file2"},{"photo_id":"1416859869","filename":"file1"},{"photo_id":"1416859868","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416859869":["hashtag1","hashtag2"]},{"1416859868":["hashtag1","hashtag2"]},{"1416859870":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416859869, 1416859868, 1416859870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.99810481071472 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:24:03.894507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/18/image_07052026_13_18_36_30244.jpg', '/home/pi/Desktop/images/07052026/13/17/image_07052026_13_18_05_30235.jpg', '/home/pi/Desktop/images/07052026/13/17/image_07052026_13_17_35_30234.jpg', '/home/pi/Desktop/images/07052026/13/16/image_07052026_13_17_05_29240.jpg', '/home/pi/Desktop/images/07052026/13/16/image_07052026_13_16_36_30374.jpg', '/home/pi/Desktop/images/07052026/13/13/image_07052026_13_13_35_30263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/18/image_07052026_13_18_36_30244.jpg
/home/pi/Desktop/images/07052026/13/17/image_07052026_13_18_05_30235.jpg
/home/pi/Desktop/images/07052026/13/17/image_07052026_13_17_35_30234.jpg
/home/pi/Desktop/images/07052026/13/16/image_07052026_13_17_05_29240.jpg
/home/pi/Desktop/images/07052026/13/16/image_07052026_13_16_36_30374.jpg
/home/pi/Desktop/images/07052026/13/13/image_07052026_13_13_35_30263.jpg
2026-05-11 12:24:03.951598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/45/image_07052026_01_46_05_30366.jpg', '/home/pi/Desktop/images/07052026/01/46/image_07052026_01_46_36_30345.jpg', '/home/pi/Desktop/images/07052026/01/51/image_07052026_01_51_35_29371.jpg', '/home/pi/Desktop/images/07052026/01/51/image_07052026_01_52_05_30376.jpg', '/home/pi/Desktop/images/07052026/01/52/image_07052026_01_52_36_30405.jpg', '/home/pi/Desktop/images/07052026/01/52/image_07052026_01_53_05_29206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/45/image_07052026_01_46_05_30366.jpg
/home/pi/Desktop/images/07052026/01/46/image_07052026_01_46_36_30345.jpg
/home/pi/Desktop/images/07052026/01/51/image_07052026_01_51_35_29371.jpg
/home/pi/Desktop/images/07052026/01/51/image_07052026_01_52_05_30376.jpg
/home/pi/Desktop/images/07052026/01/52/image_07052026_01_52_36_30405.jpg
/home/pi/Desktop/images/07052026/01/52/image_07052026_01_53_05_29206.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.1050760746002197 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859876","1416859892","1416859886","1416859889","1416859883","1416859879"],"photo_ids_order":["1416859876","1416859879","1416859883","1416859886","1416859889","1416859892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16df523578722d1796e398d08d95c032.jpg","text":"TemporaryFile(/tmp/multipartBody131160635854074303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_18_36_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea84021eb0db48ac18c61e95b3060ba0.jpg","text":"TemporaryFile(/tmp/multipartBody3274864760496792272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_13_35_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f72f0656b7d9b4d75e946703264b3730.jpg","text":"TemporaryFile(/tmp/multipartBody5993529781011679063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_17_05_29240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b212c22e3aadc12bc12c26df53fe225.jpg","text":"TemporaryFile(/tmp/multipartBody2698401279292914989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_16_36_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b730318dcb52d9cf10369a3cff3bf40.jpg","text":"TemporaryFile(/tmp/multipartBody8692973027210390561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_17_35_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b25667f4a4cbf8445d5c398fe95291e.jpg","text":"TemporaryFile(/tmp/multipartBody5753308561475893145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495107585,"filename":"image_07052026_13_18_05_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859883","file1":"1416859879","file0":"1416859876","file4":"1416859889","file5":"1416859892","file3":"1416859886"},"map_files_photo_id_array":[{"photo_id":"1416859892","filename":"file5"},{"photo_id":"1416859883","filename":"file2"},{"photo_id":"1416859889","filename":"file4"},{"photo_id":"1416859879","filename":"file1"},{"photo_id":"1416859876","filename":"file0"},{"photo_id":"1416859886","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859876":["hashtag1","hashtag2"]},{"1416859892":["hashtag1","hashtag2"]},{"1416859886":["hashtag1","hashtag2"]},{"1416859889":["hashtag1","hashtag2"]},{"1416859883":["hashtag1","hashtag2"]},{"1416859879":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859876, 1416859892, 1416859886, 1416859889, 1416859883, 1416859879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0613579750061 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:25:04.167328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/23/image_11052026_12_24_14_30130.jpg', '/home/pi/Desktop/images/11052026/12/23/image_11052026_12_23_43_29179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/23/image_11052026_12_24_14_30130.jpg
/home/pi/Desktop/images/11052026/12/23/image_11052026_12_23_43_29179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859896","1416859897"],"photo_ids_order":["1416859896","1416859897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fe91cbdf82729394cfbfc14e668b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody7812706011904154679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495165283,"filename":"image_11052026_12_24_14_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f923e83416656f41098b9720f5bff5d7.jpg","text":"TemporaryFile(/tmp/multipartBody2854149840014899787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495165283,"filename":"image_11052026_12_23_43_29179.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416859897","file0":"1416859896"},"map_files_photo_id_array":[{"photo_id":"1416859897","filename":"file1"},{"photo_id":"1416859896","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416859896":["hashtag1","hashtag2"]},{"1416859897":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416859896, 1416859897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.397865056991577 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:26:02.653315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/24/image_11052026_12_24_44_30218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/24/image_11052026_12_24_44_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859899"],"photo_id":"1416859899","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bb18f31c3e5d133ca07c9c92af89239.jpg","text":"TemporaryFile(/tmp/multipartBody1472875339800946732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495223745,"filename":"image_11052026_12_24_44_30218.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416859899"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416859899"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.941986560821533 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:27:04.006891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/12/image_07052026_13_13_05_29143.jpg', '/home/pi/Desktop/images/07052026/13/12/image_07052026_13_12_36_30378.jpg', '/home/pi/Desktop/images/07052026/13/11/image_07052026_13_12_05_30393.jpg', '/home/pi/Desktop/images/07052026/13/11/image_07052026_13_11_35_29119.jpg', '/home/pi/Desktop/images/07052026/13/10/image_07052026_13_11_06_30279.jpg', '/home/pi/Desktop/images/07052026/13/09/image_07052026_13_10_05_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/12/image_07052026_13_13_05_29143.jpg
/home/pi/Desktop/images/07052026/13/12/image_07052026_13_12_36_30378.jpg
/home/pi/Desktop/images/07052026/13/11/image_07052026_13_12_05_30393.jpg
/home/pi/Desktop/images/07052026/13/11/image_07052026_13_11_35_29119.jpg
/home/pi/Desktop/images/07052026/13/10/image_07052026_13_11_06_30279.jpg
/home/pi/Desktop/images/07052026/13/09/image_07052026_13_10_05_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859909","1416859911","1416859914","1416859917","1416859907","1416859916"],"photo_ids_order":["1416859907","1416859909","1416859911","1416859914","1416859916","1416859917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9427e76cff4faf440c6d470be54990a.jpg","text":"TemporaryFile(/tmp/multipartBody7229331872067966908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_12_36_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/722b2c94c79fcacb3818ed74e8117210.jpg","text":"TemporaryFile(/tmp/multipartBody1667761173453966043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_12_05_30393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/257a2372dc8505d9da0cc9ebbd49ce27.jpg","text":"TemporaryFile(/tmp/multipartBody6358377969714881102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_11_35_29119.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4234dc49efa8a97bed68dee2a6184136.jpg","text":"TemporaryFile(/tmp/multipartBody466903409217201828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_10_05_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69e857be7a086257e195df955e28fbfb.jpg","text":"TemporaryFile(/tmp/multipartBody714100352608698355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_13_05_29143.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae50fa6f7a75bc22c0f3f48bab35f595.jpg","text":"TemporaryFile(/tmp/multipartBody6359683066082314680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495286551,"filename":"image_07052026_13_11_06_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416859911","file1":"1416859909","file0":"1416859907","file4":"1416859916","file5":"1416859917","file3":"1416859914"},"map_files_photo_id_array":[{"photo_id":"1416859917","filename":"file5"},{"photo_id":"1416859911","filename":"file2"},{"photo_id":"1416859916","filename":"file4"},{"photo_id":"1416859909","filename":"file1"},{"photo_id":"1416859907","filename":"file0"},{"photo_id":"1416859914","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416859909":["hashtag1","hashtag2"]},{"1416859911":["hashtag1","hashtag2"]},{"1416859914":["hashtag1","hashtag2"]},{"1416859917":["hashtag1","hashtag2"]},{"1416859907":["hashtag1","hashtag2"]},{"1416859916":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416859909, 1416859911, 1416859914, 1416859917, 1416859907, 1416859916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57691025733948 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:28:03.776436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/24/image_11052026_12_25_14_30192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/24/image_11052026_12_25_14_30192.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416859919"],"photo_id":"1416859919","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/60273d5d4a7a536a56cb3f2cb07a754b.jpg","text":"TemporaryFile(/tmp/multipartBody6909127410337517507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495344944,"filename":"image_11052026_12_25_14_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416859919"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416859919"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.310234308242798 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:29:04.516087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/26/image_11052026_12_27_14_30143.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/26/image_11052026_12_27_14_30143.jpg
2026-05-11 12:29:04.323283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/45/image_07052026_01_46_05_30366.jpg', '/home/pi/Desktop/images/07052026/01/46/image_07052026_01_46_36_30345.jpg', '/home/pi/Desktop/images/07052026/01/51/image_07052026_01_51_35_29371.jpg', '/home/pi/Desktop/images/07052026/01/51/image_07052026_01_52_05_30376.jpg', '/home/pi/Desktop/images/07052026/01/52/image_07052026_01_52_36_30405.jpg', '/home/pi/Desktop/images/07052026/01/52/image_07052026_01_53_05_29206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/45/image_07052026_01_46_05_30366.jpg
/home/pi/Desktop/images/07052026/01/46/image_07052026_01_46_36_30345.jpg
/home/pi/Desktop/images/07052026/01/51/image_07052026_01_51_35_29371.jpg
/home/pi/Desktop/images/07052026/01/51/image_07052026_01_52_05_30376.jpg
/home/pi/Desktop/images/07052026/01/52/image_07052026_01_52_36_30405.jpg
/home/pi/Desktop/images/07052026/01/52/image_07052026_01_53_05_29206.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416860901"],"photo_id":"1416860901","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d31a9741dfde26a0787273e86503d118.jpg","text":"TemporaryFile(/tmp/multipartBody8891925899613318363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495405643,"filename":"image_11052026_12_27_14_30143.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416860901"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416860901"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.62082576751709 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416860909","1416860902","1416860911","1416860904","1416860913","1416860907"],"photo_ids_order":["1416860902","1416860904","1416860907","1416860909","1416860911","1416860913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/287337c6fbcb20842601dba59be51031.jpg","text":"TemporaryFile(/tmp/multipartBody3532804828773640898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_52_05_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c17f334eeb3987a1dbe1c9ca15c80d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8318330550197701810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_46_05_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8125e3570ccc931452c76a475183615.jpg","text":"TemporaryFile(/tmp/multipartBody6766102404145044369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_52_36_30405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/756c0a688e06d278d6550a48bfc15982.jpg","text":"TemporaryFile(/tmp/multipartBody6264338234011175414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_46_36_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29a3c3f5e317e00b64655dc76bcef98d.jpg","text":"TemporaryFile(/tmp/multipartBody2067098509117396662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_53_05_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3c33bcbf0cf43b0a4a8fe8adc816b49.jpg","text":"TemporaryFile(/tmp/multipartBody8158443215801556890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495407104,"filename":"image_07052026_01_51_35_29371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416860907","file1":"1416860904","file0":"1416860902","file4":"1416860911","file5":"1416860913","file3":"1416860909"},"map_files_photo_id_array":[{"photo_id":"1416860913","filename":"file5"},{"photo_id":"1416860907","filename":"file2"},{"photo_id":"1416860911","filename":"file4"},{"photo_id":"1416860904","filename":"file1"},{"photo_id":"1416860902","filename":"file0"},{"photo_id":"1416860909","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416860909":["hashtag1","hashtag2"]},{"1416860902":["hashtag1","hashtag2"]},{"1416860911":["hashtag1","hashtag2"]},{"1416860904":["hashtag1","hashtag2"]},{"1416860913":["hashtag1","hashtag2"]},{"1416860907":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416860909, 1416860902, 1416860911, 1416860904, 1416860913, 1416860907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46807646751404 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:30:02.906256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/08/image_07052026_13_09_06_30276.jpg', '/home/pi/Desktop/images/07052026/13/08/image_07052026_13_08_35_30383.jpg', '/home/pi/Desktop/images/07052026/13/07/image_07052026_13_08_05_29241.jpg', '/home/pi/Desktop/images/07052026/13/02/image_07052026_13_02_35_30214.jpg', '/home/pi/Desktop/images/07052026/13/01/image_07052026_13_02_05_29208.jpg', '/home/pi/Desktop/images/07052026/13/01/image_07052026_13_01_36_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/08/image_07052026_13_09_06_30276.jpg
/home/pi/Desktop/images/07052026/13/08/image_07052026_13_08_35_30383.jpg
/home/pi/Desktop/images/07052026/13/07/image_07052026_13_08_05_29241.jpg
/home/pi/Desktop/images/07052026/13/02/image_07052026_13_02_35_30214.jpg
/home/pi/Desktop/images/07052026/13/01/image_07052026_13_02_05_29208.jpg
/home/pi/Desktop/images/07052026/13/01/image_07052026_13_01_36_30305.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9834215641021729 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:31:04.452014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/29/image_11052026_12_29_44_29147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/29/image_11052026_12_29_44_29147.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861308"],"photo_id":"1416861308","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6026684f8118eb44fcdf458ec797a3f.jpg","text":"TemporaryFile(/tmp/multipartBody49887626618636120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495525464,"filename":"image_11052026_12_29_44_29147.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416861308"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416861308"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.365037202835083 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:32:02.868794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/13/08/image_07052026_13_09_06_30276.jpg', '/home/pi/Desktop/images/07052026/13/08/image_07052026_13_08_35_30383.jpg', '/home/pi/Desktop/images/07052026/13/07/image_07052026_13_08_05_29241.jpg', '/home/pi/Desktop/images/07052026/13/02/image_07052026_13_02_35_30214.jpg', '/home/pi/Desktop/images/07052026/13/01/image_07052026_13_02_05_29208.jpg', '/home/pi/Desktop/images/07052026/13/01/image_07052026_13_01_36_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/13/08/image_07052026_13_09_06_30276.jpg
/home/pi/Desktop/images/07052026/13/08/image_07052026_13_08_35_30383.jpg
/home/pi/Desktop/images/07052026/13/07/image_07052026_13_08_05_29241.jpg
/home/pi/Desktop/images/07052026/13/02/image_07052026_13_02_35_30214.jpg
/home/pi/Desktop/images/07052026/13/01/image_07052026_13_02_05_29208.jpg
/home/pi/Desktop/images/07052026/13/01/image_07052026_13_01_36_30305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861316","1416861319","1416861315","1416861318","1416861320","1416861317"],"photo_ids_order":["1416861315","1416861316","1416861317","1416861318","1416861319","1416861320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d956ced55c7d75124ce4927395309374.jpg","text":"TemporaryFile(/tmp/multipartBody7821030003378189619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_08_35_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2df4f553491c0b1d865761603a2bd52.jpg","text":"TemporaryFile(/tmp/multipartBody7901661606632900595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_02_05_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd095cc3b0d52c337d220313921cda26.jpg","text":"TemporaryFile(/tmp/multipartBody4635158800739488025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_09_06_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e52a32e30b39115f47127e4e2cdd9fd.jpg","text":"TemporaryFile(/tmp/multipartBody2457781672195752198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_02_35_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9db30cc9e4382cebadf04fcc00255423.jpg","text":"TemporaryFile(/tmp/multipartBody4170932310988225313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_01_36_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0b9db114ef0f7919a5c2a5426a252b2.jpg","text":"TemporaryFile(/tmp/multipartBody8216949690493274846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495585003,"filename":"image_07052026_13_08_05_29241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416861317","file1":"1416861316","file0":"1416861315","file4":"1416861319","file5":"1416861320","file3":"1416861318"},"map_files_photo_id_array":[{"photo_id":"1416861320","filename":"file5"},{"photo_id":"1416861317","filename":"file2"},{"photo_id":"1416861319","filename":"file4"},{"photo_id":"1416861316","filename":"file1"},{"photo_id":"1416861315","filename":"file0"},{"photo_id":"1416861318","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416861316":["hashtag1","hashtag2"]},{"1416861319":["hashtag1","hashtag2"]},{"1416861315":["hashtag1","hashtag2"]},{"1416861318":["hashtag1","hashtag2"]},{"1416861320":["hashtag1","hashtag2"]},{"1416861317":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416861316, 1416861319, 1416861315, 1416861318, 1416861320, 1416861317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24256992340088 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:33:04.013061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/31/image_11052026_12_32_14_30283.jpg', '/home/pi/Desktop/images/11052026/12/30/image_11052026_12_30_44_30145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/31/image_11052026_12_32_14_30283.jpg
/home/pi/Desktop/images/11052026/12/30/image_11052026_12_30_44_30145.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861322","1416861324"],"photo_ids_order":["1416861322","1416861324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b02f6863a441f7966673f5ef2036df16.jpg","text":"TemporaryFile(/tmp/multipartBody7667996651537291707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495645282,"filename":"image_11052026_12_32_14_30283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37fb47db79293f0fddb3e74209c95659.jpg","text":"TemporaryFile(/tmp/multipartBody4489380872589442260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495645282,"filename":"image_11052026_12_30_44_30145.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416861324","file0":"1416861322"},"map_files_photo_id_array":[{"photo_id":"1416861324","filename":"file1"},{"photo_id":"1416861322","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416861322":["hashtag1","hashtag2"]},{"1416861324":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416861322, 1416861324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.85999035835266 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:34:03.976342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/32/image_11052026_12_33_14_30204.jpg', '/home/pi/Desktop/images/11052026/12/32/image_11052026_12_32_44_29126.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/32/image_11052026_12_33_14_30204.jpg
/home/pi/Desktop/images/11052026/12/32/image_11052026_12_32_44_29126.jpg
2026-05-11 12:34:04.101527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/32/image_11052026_12_32_44_29126.jpg', '/home/pi/Desktop/images/11052026/12/32/image_11052026_12_33_14_30204.jpg', '/home/pi/Desktop/images/11052026/12/33/image_11052026_12_33_44_30228.jpg', '/home/pi/Desktop/images/11052026/12/33/image_11052026_12_34_14_30250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/32/image_11052026_12_32_44_29126.jpg
/home/pi/Desktop/images/11052026/12/32/image_11052026_12_33_14_30204.jpg
/home/pi/Desktop/images/11052026/12/33/image_11052026_12_33_44_30228.jpg
/home/pi/Desktop/images/11052026/12/33/image_11052026_12_34_14_30250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861331","1416861333"],"photo_ids_order":["1416861331","1416861333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd2fddfb9530e8ba7a4aabb0b5aebb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3015137198209516967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495705432,"filename":"image_11052026_12_33_14_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c62972e352fdd75f2f1f26e2e2e9ee5e.jpg","text":"TemporaryFile(/tmp/multipartBody1855756922541143832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495705432,"filename":"image_11052026_12_32_44_29126.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416861333","file0":"1416861331"},"map_files_photo_id_array":[{"photo_id":"1416861333","filename":"file1"},{"photo_id":"1416861331","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416861331":["hashtag1","hashtag2"]},{"1416861333":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416861331, 1416861333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.234678983688354 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861334","1416861336","1416861332","1416861335"],"photo_ids_order":["1416861332","1416861334","1416861335","1416861336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e8983e7e77795c4689b7251ddb6117a.jpg","text":"TemporaryFile(/tmp/multipartBody921456788356445137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495706061,"filename":"image_11052026_12_33_14_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/818d3a1985b956af955051ff88047dda.jpg","text":"TemporaryFile(/tmp/multipartBody6957478115917135255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495706061,"filename":"image_11052026_12_34_14_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae7dd78e6d0b8808b662227babcc7bec.jpg","text":"TemporaryFile(/tmp/multipartBody5366673987340049373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495706061,"filename":"image_11052026_12_32_44_29126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f8f70300781bb5e150fbdb88538524c.jpg","text":"TemporaryFile(/tmp/multipartBody4012282406798543258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495706061,"filename":"image_11052026_12_33_44_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416861335","file1":"1416861334","file0":"1416861332","file3":"1416861336"},"map_files_photo_id_array":[{"photo_id":"1416861335","filename":"file2"},{"photo_id":"1416861334","filename":"file1"},{"photo_id":"1416861332","filename":"file0"},{"photo_id":"1416861336","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416861334":["hashtag1","hashtag2"]},{"1416861336":["hashtag1","hashtag2"]},{"1416861332":["hashtag1","hashtag2"]},{"1416861335":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416861334, 1416861336, 1416861332, 1416861335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.335237503051758 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:35:04.403691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/34/image_11052026_12_34_44_30181.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/34/image_11052026_12_34_44_30181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861338"],"photo_id":"1416861338","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/731df6cb1853e13a484c25ba9f972878.jpg","text":"TemporaryFile(/tmp/multipartBody1511542139061612830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495765417,"filename":"image_11052026_12_34_44_30181.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416861338"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416861338"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.903867483139038 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:36:03.612487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/58/image_07052026_12_59_05_30187.jpg', '/home/pi/Desktop/images/07052026/12/57/image_07052026_12_58_06_30238.jpg', '/home/pi/Desktop/images/07052026/12/57/image_07052026_12_57_36_30358.jpg', '/home/pi/Desktop/images/07052026/12/56/image_07052026_12_57_05_30308.jpg', '/home/pi/Desktop/images/07052026/12/46/image_07052026_12_46_35_29351.jpg', '/home/pi/Desktop/images/07052026/12/41/image_07052026_12_41_35_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/58/image_07052026_12_59_05_30187.jpg
/home/pi/Desktop/images/07052026/12/57/image_07052026_12_58_06_30238.jpg
/home/pi/Desktop/images/07052026/12/57/image_07052026_12_57_36_30358.jpg
/home/pi/Desktop/images/07052026/12/56/image_07052026_12_57_05_30308.jpg
/home/pi/Desktop/images/07052026/12/46/image_07052026_12_46_35_29351.jpg
/home/pi/Desktop/images/07052026/12/41/image_07052026_12_41_35_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861349","1416861346","1416861351","1416861348","1416861350","1416861347"],"photo_ids_order":["1416861346","1416861347","1416861348","1416861349","1416861350","1416861351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f602eae1631578a4901306460894634e.jpg","text":"TemporaryFile(/tmp/multipartBody7275551128837057208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_57_05_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67033021e43f40a143256a4b2fbf56b0.jpg","text":"TemporaryFile(/tmp/multipartBody7462455610495569846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_59_05_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/277187f0d853a4f6ec9431626a0ee1d8.jpg","text":"TemporaryFile(/tmp/multipartBody7812099799558404328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_41_35_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6f63d5ba531a80204b5d6836f97220f.jpg","text":"TemporaryFile(/tmp/multipartBody2298415613868755034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_57_36_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da6d190b07693123d7de4c8c9cc8326e.jpg","text":"TemporaryFile(/tmp/multipartBody5294795175425190312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_46_35_29351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b5051e07fea1e9907a693b922ce6aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8244691503039463015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495826011,"filename":"image_07052026_12_58_06_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416861348","file1":"1416861347","file0":"1416861346","file4":"1416861350","file5":"1416861351","file3":"1416861349"},"map_files_photo_id_array":[{"photo_id":"1416861351","filename":"file5"},{"photo_id":"1416861348","filename":"file2"},{"photo_id":"1416861350","filename":"file4"},{"photo_id":"1416861347","filename":"file1"},{"photo_id":"1416861346","filename":"file0"},{"photo_id":"1416861349","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416861349":["hashtag1","hashtag2"]},{"1416861346":["hashtag1","hashtag2"]},{"1416861351":["hashtag1","hashtag2"]},{"1416861348":["hashtag1","hashtag2"]},{"1416861350":["hashtag1","hashtag2"]},{"1416861347":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416861349, 1416861346, 1416861351, 1416861348, 1416861350, 1416861347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43736028671265 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:37:04.142984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/36/image_11052026_12_37_14_30315.jpg', '/home/pi/Desktop/images/11052026/12/35/image_11052026_12_36_14_30267.jpg', '/home/pi/Desktop/images/11052026/12/35/image_11052026_12_35_44_30207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/36/image_11052026_12_37_14_30315.jpg
/home/pi/Desktop/images/11052026/12/35/image_11052026_12_36_14_30267.jpg
/home/pi/Desktop/images/11052026/12/35/image_11052026_12_35_44_30207.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861361","1416861364","1416861358"],"photo_ids_order":["1416861358","1416861361","1416861364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ef27ebdc90e159ec7882dc80093398d.jpg","text":"TemporaryFile(/tmp/multipartBody8597331625353769286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495885511,"filename":"image_11052026_12_36_14_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12e699bef7d900de38c80765bd13097f.jpg","text":"TemporaryFile(/tmp/multipartBody1222429730192454062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495885511,"filename":"image_11052026_12_35_44_30207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8e22120ccd93711a82fff4f8047904e.jpg","text":"TemporaryFile(/tmp/multipartBody4380607844671499205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495885511,"filename":"image_11052026_12_37_14_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416861364","file1":"1416861361","file0":"1416861358"},"map_files_photo_id_array":[{"photo_id":"1416861364","filename":"file2"},{"photo_id":"1416861361","filename":"file1"},{"photo_id":"1416861358","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416861361":["hashtag1","hashtag2"]},{"1416861364":["hashtag1","hashtag2"]},{"1416861358":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416861361, 1416861364, 1416861358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.60122537612915 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:38:03.685945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/37/image_11052026_12_37_44_29202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/37/image_11052026_12_37_44_29202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861369"],"photo_id":"1416861369","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9613b71a599d65838d6a0717dd58248.jpg","text":"TemporaryFile(/tmp/multipartBody5494464089533487709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778495944768,"filename":"image_11052026_12_37_44_29202.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416861369"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416861369"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.014164209365845 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:39:04.015603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/01/53/image_07052026_01_54_06_30398.jpg', '/home/pi/Desktop/images/07052026/02/00/image_07052026_02_01_05_30343.jpg', '/home/pi/Desktop/images/07052026/02/01/image_07052026_02_01_36_30347.jpg', '/home/pi/Desktop/images/07052026/02/01/image_07052026_02_02_05_29240.jpg', '/home/pi/Desktop/images/07052026/02/02/image_07052026_02_03_06_30442.jpg', '/home/pi/Desktop/images/07052026/02/03/image_07052026_02_04_05_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/01/53/image_07052026_01_54_06_30398.jpg
/home/pi/Desktop/images/07052026/02/00/image_07052026_02_01_05_30343.jpg
/home/pi/Desktop/images/07052026/02/01/image_07052026_02_01_36_30347.jpg
/home/pi/Desktop/images/07052026/02/01/image_07052026_02_02_05_29240.jpg
/home/pi/Desktop/images/07052026/02/02/image_07052026_02_03_06_30442.jpg
/home/pi/Desktop/images/07052026/02/03/image_07052026_02_04_05_30329.jpg
2026-05-11 12:39:04.553027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/39/image_07052026_12_40_06_30323.jpg', '/home/pi/Desktop/images/07052026/12/39/image_07052026_12_39_35_30432.jpg', '/home/pi/Desktop/images/07052026/12/38/image_07052026_12_39_05_29231.jpg', '/home/pi/Desktop/images/07052026/12/38/image_07052026_12_38_36_30389.jpg', '/home/pi/Desktop/images/07052026/12/37/image_07052026_12_38_05_30301.jpg', '/home/pi/Desktop/images/07052026/12/36/image_07052026_12_37_06_30183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/39/image_07052026_12_40_06_30323.jpg
/home/pi/Desktop/images/07052026/12/39/image_07052026_12_39_35_30432.jpg
/home/pi/Desktop/images/07052026/12/38/image_07052026_12_39_05_29231.jpg
/home/pi/Desktop/images/07052026/12/38/image_07052026_12_38_36_30389.jpg
/home/pi/Desktop/images/07052026/12/37/image_07052026_12_38_05_30301.jpg
/home/pi/Desktop/images/07052026/12/36/image_07052026_12_37_06_30183.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6065242290496826 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416861372","1416861380","1416861374","1416862040","1416861377","1416861697"],"photo_ids_order":["1416861372","1416861374","1416861377","1416861380","1416861697","1416862040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cdd94c0c75e6b4f2bd1773f9054b386a.jpg","text":"TemporaryFile(/tmp/multipartBody5299241306502650322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_01_54_06_30398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47ed7e2f3aede5e4f5fd47db0367b822.jpg","text":"TemporaryFile(/tmp/multipartBody3543342947699945582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_02_02_05_29240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/10b32bca95721f0f2de9ff56c582e5e0.jpg","text":"TemporaryFile(/tmp/multipartBody711270852759575909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_02_01_05_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3362a211202ee81cd0b8805a1475b55f.jpg","text":"TemporaryFile(/tmp/multipartBody2181474409407443189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_02_04_05_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8433690c5517d5e2315d918c719e9104.jpg","text":"TemporaryFile(/tmp/multipartBody8348349823462243394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_02_01_36_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e383b7921213f4920d14ba520a13cc91.jpg","text":"TemporaryFile(/tmp/multipartBody6963022770823750004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496007118,"filename":"image_07052026_02_03_06_30442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416861377","file1":"1416861374","file0":"1416861372","file4":"1416861697","file5":"1416862040","file3":"1416861380"},"map_files_photo_id_array":[{"photo_id":"1416862040","filename":"file5"},{"photo_id":"1416861377","filename":"file2"},{"photo_id":"1416861697","filename":"file4"},{"photo_id":"1416861374","filename":"file1"},{"photo_id":"1416861372","filename":"file0"},{"photo_id":"1416861380","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416861372":["hashtag1","hashtag2"]},{"1416861380":["hashtag1","hashtag2"]},{"1416861374":["hashtag1","hashtag2"]},{"1416862040":["hashtag1","hashtag2"]},{"1416861377":["hashtag1","hashtag2"]},{"1416861697":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416861372, 1416861380, 1416861374, 1416862040, 1416861377, 1416861697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39312791824341 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:40:02.940843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/39/image_07052026_12_40_06_30323.jpg', '/home/pi/Desktop/images/07052026/12/39/image_07052026_12_39_35_30432.jpg', '/home/pi/Desktop/images/07052026/12/38/image_07052026_12_39_05_29231.jpg', '/home/pi/Desktop/images/07052026/12/38/image_07052026_12_38_36_30389.jpg', '/home/pi/Desktop/images/07052026/12/37/image_07052026_12_38_05_30301.jpg', '/home/pi/Desktop/images/07052026/12/36/image_07052026_12_37_06_30183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/39/image_07052026_12_40_06_30323.jpg
/home/pi/Desktop/images/07052026/12/39/image_07052026_12_39_35_30432.jpg
/home/pi/Desktop/images/07052026/12/38/image_07052026_12_39_05_29231.jpg
/home/pi/Desktop/images/07052026/12/38/image_07052026_12_38_36_30389.jpg
/home/pi/Desktop/images/07052026/12/37/image_07052026_12_38_05_30301.jpg
/home/pi/Desktop/images/07052026/12/36/image_07052026_12_37_06_30183.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862408","1416862405","1416862404","1416862407","1416862406","1416862409"],"photo_ids_order":["1416862404","1416862405","1416862406","1416862407","1416862408","1416862409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/296c5ecae4e393d756b44e3888bd98d1.jpg","text":"TemporaryFile(/tmp/multipartBody8264652672251956247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_38_05_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a71b376b38955461e774b45652deb52.jpg","text":"TemporaryFile(/tmp/multipartBody7092967502149196087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_39_35_30432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0e637c9b2718855eabfcc7dd21e1b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6789127716645312185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_40_06_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95b31ee22226076727fe83665d0b771e.jpg","text":"TemporaryFile(/tmp/multipartBody8060929629652008899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_38_36_30389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69ffd5d0348f42ccfebc43e0a39544c9.jpg","text":"TemporaryFile(/tmp/multipartBody6753559185778087333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_39_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5449f755fd23f73b76bc80d4c3b4747.jpg","text":"TemporaryFile(/tmp/multipartBody1991123482670388055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496065071,"filename":"image_07052026_12_37_06_30183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416862406","file1":"1416862405","file0":"1416862404","file4":"1416862408","file5":"1416862409","file3":"1416862407"},"map_files_photo_id_array":[{"photo_id":"1416862409","filename":"file5"},{"photo_id":"1416862406","filename":"file2"},{"photo_id":"1416862408","filename":"file4"},{"photo_id":"1416862405","filename":"file1"},{"photo_id":"1416862404","filename":"file0"},{"photo_id":"1416862407","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416862408":["hashtag1","hashtag2"]},{"1416862405":["hashtag1","hashtag2"]},{"1416862404":["hashtag1","hashtag2"]},{"1416862407":["hashtag1","hashtag2"]},{"1416862406":["hashtag1","hashtag2"]},{"1416862409":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416862408, 1416862405, 1416862404, 1416862407, 1416862406, 1416862409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68515753746033 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:41:04.385413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/40/image_11052026_12_40_44_30256.jpg', '/home/pi/Desktop/images/11052026/12/37/image_11052026_12_38_14_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/40/image_11052026_12_40_44_30256.jpg
/home/pi/Desktop/images/11052026/12/37/image_11052026_12_38_14_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862784","1416862786"],"photo_ids_order":["1416862784","1416862786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e7f7d1c5b7c8bb7868d6993f1893e81.jpg","text":"TemporaryFile(/tmp/multipartBody8677172453836437813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496125614,"filename":"image_11052026_12_40_44_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4315bfdf30e06af492b2c46a648568dd.jpg","text":"TemporaryFile(/tmp/multipartBody7568255172874283937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496125614,"filename":"image_11052026_12_38_14_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416862786","file0":"1416862784"},"map_files_photo_id_array":[{"photo_id":"1416862786","filename":"file1"},{"photo_id":"1416862784","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416862784":["hashtag1","hashtag2"]},{"1416862786":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416862784, 1416862786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.522989988327026 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:42:03.673292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/33/image_07052026_12_34_05_30274.jpg', '/home/pi/Desktop/images/07052026/12/30/image_07052026_12_30_35_30271.jpg', '/home/pi/Desktop/images/07052026/12/29/image_07052026_12_30_05_29205.jpg', '/home/pi/Desktop/images/07052026/12/28/image_07052026_12_29_05_30228.jpg', '/home/pi/Desktop/images/07052026/12/28/image_07052026_12_28_35_30246.jpg', '/home/pi/Desktop/images/07052026/12/27/image_07052026_12_27_36_30338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/33/image_07052026_12_34_05_30274.jpg
/home/pi/Desktop/images/07052026/12/30/image_07052026_12_30_35_30271.jpg
/home/pi/Desktop/images/07052026/12/29/image_07052026_12_30_05_29205.jpg
/home/pi/Desktop/images/07052026/12/28/image_07052026_12_29_05_30228.jpg
/home/pi/Desktop/images/07052026/12/28/image_07052026_12_28_35_30246.jpg
/home/pi/Desktop/images/07052026/12/27/image_07052026_12_27_36_30338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862857","1416862860","1416862856","1416862859","1416862861","1416862858"],"photo_ids_order":["1416862856","1416862857","1416862858","1416862859","1416862860","1416862861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94ce3585b5a4498ca48fffa1a4f13ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2404478467862045472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_30_35_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a86a293ba2015d2e826772ae62643c82.jpg","text":"TemporaryFile(/tmp/multipartBody4901131474708304587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_28_35_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb986c2908a9196ac8300ef37720d49f.jpg","text":"TemporaryFile(/tmp/multipartBody2592818204829188499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_34_05_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d26b6acc9cef1f89e1beddf6032c7cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2866513384381769791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_29_05_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24939badbe7109ff6736e45e71e6bfce.jpg","text":"TemporaryFile(/tmp/multipartBody1105362500928213663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_27_36_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2423b798da606b9b8a655796b9c5adfe.jpg","text":"TemporaryFile(/tmp/multipartBody9031511228638203163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496186147,"filename":"image_07052026_12_30_05_29205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416862858","file1":"1416862857","file0":"1416862856","file4":"1416862860","file5":"1416862861","file3":"1416862859"},"map_files_photo_id_array":[{"photo_id":"1416862861","filename":"file5"},{"photo_id":"1416862858","filename":"file2"},{"photo_id":"1416862860","filename":"file4"},{"photo_id":"1416862857","filename":"file1"},{"photo_id":"1416862856","filename":"file0"},{"photo_id":"1416862859","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416862857":["hashtag1","hashtag2"]},{"1416862860":["hashtag1","hashtag2"]},{"1416862856":["hashtag1","hashtag2"]},{"1416862859":["hashtag1","hashtag2"]},{"1416862861":["hashtag1","hashtag2"]},{"1416862858":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416862857, 1416862860, 1416862856, 1416862859, 1416862861, 1416862858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.601916790008545 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:43:03.622218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/41/image_11052026_12_42_14_30046.jpg', '/home/pi/Desktop/images/11052026/12/40/image_11052026_12_41_14_30334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/41/image_11052026_12_42_14_30046.jpg
/home/pi/Desktop/images/11052026/12/40/image_11052026_12_41_14_30334.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862865","1416862864"],"photo_ids_order":["1416862864","1416862865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0faed4fe10e6f771c59d55d1acdf3ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5123633683010972893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496244898,"filename":"image_11052026_12_41_14_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b113f5438c7a1dec8feef1b73de5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7423058520186777031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496244898,"filename":"image_11052026_12_42_14_30046.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416862865","file0":"1416862864"},"map_files_photo_id_array":[{"photo_id":"1416862865","filename":"file1"},{"photo_id":"1416862864","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416862865":["hashtag1","hashtag2"]},{"1416862864":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416862865, 1416862864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.711398601531982 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:44:03.845270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/42/image_11052026_12_43_14_30240.jpg', '/home/pi/Desktop/images/11052026/12/42/image_11052026_12_42_44_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/42/image_11052026_12_43_14_30240.jpg
/home/pi/Desktop/images/11052026/12/42/image_11052026_12_42_44_30231.jpg
2026-05-11 12:44:04.040745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/42/image_11052026_12_42_44_30231.jpg', '/home/pi/Desktop/images/11052026/12/42/image_11052026_12_43_14_30240.jpg', '/home/pi/Desktop/images/11052026/12/43/image_11052026_12_43_44_30136.jpg', '/home/pi/Desktop/images/11052026/12/43/image_11052026_12_44_14_30089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/42/image_11052026_12_42_44_30231.jpg
/home/pi/Desktop/images/11052026/12/42/image_11052026_12_43_14_30240.jpg
/home/pi/Desktop/images/11052026/12/43/image_11052026_12_43_44_30136.jpg
/home/pi/Desktop/images/11052026/12/43/image_11052026_12_44_14_30089.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862872","1416862874"],"photo_ids_order":["1416862872","1416862874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fc0144999c172aced6cad898c4f4218.jpg","text":"TemporaryFile(/tmp/multipartBody8823728504186234261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305182,"filename":"image_11052026_12_43_14_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/146992f38c277098306b1fae44fb1380.jpg","text":"TemporaryFile(/tmp/multipartBody8534468434612489649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305182,"filename":"image_11052026_12_42_44_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416862874","file0":"1416862872"},"map_files_photo_id_array":[{"photo_id":"1416862874","filename":"file1"},{"photo_id":"1416862872","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416862872":["hashtag1","hashtag2"]},{"1416862874":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416862872, 1416862874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.03096866607666 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416862875","1416862878","1416862877","1416862873"],"photo_ids_order":["1416862873","1416862875","1416862877","1416862878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2fdb0923257e01badc75314836fa0e9.jpg","text":"TemporaryFile(/tmp/multipartBody6040390971005745804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305728,"filename":"image_11052026_12_43_14_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5d5e4d404e8f2bc2015e13571b22c56.jpg","text":"TemporaryFile(/tmp/multipartBody1131046953146885939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305728,"filename":"image_11052026_12_44_14_30089.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88b17282cc582e806db3bbfbec3f97bd.jpg","text":"TemporaryFile(/tmp/multipartBody7454436569391816241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305728,"filename":"image_11052026_12_43_44_30136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0e8c06d1d1253e8d5460d81de132f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4365608244329516749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496305728,"filename":"image_11052026_12_42_44_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416862877","file1":"1416862875","file0":"1416862873","file3":"1416862878"},"map_files_photo_id_array":[{"photo_id":"1416862877","filename":"file2"},{"photo_id":"1416862875","filename":"file1"},{"photo_id":"1416862873","filename":"file0"},{"photo_id":"1416862878","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416862875":["hashtag1","hashtag2"]},{"1416862878":["hashtag1","hashtag2"]},{"1416862877":["hashtag1","hashtag2"]},{"1416862873":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416862875, 1416862878, 1416862877, 1416862873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.750815391540527 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:45:03.795332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/25/image_07052026_12_26_05_29216.jpg', '/home/pi/Desktop/images/07052026/12/25/image_07052026_12_25_36_30307.jpg', '/home/pi/Desktop/images/07052026/12/24/image_07052026_12_25_05_30091.jpg', '/home/pi/Desktop/images/07052026/12/24/image_07052026_12_24_35_30162.jpg', '/home/pi/Desktop/images/07052026/12/23/image_07052026_12_24_05_30253.jpg', '/home/pi/Desktop/images/07052026/12/23/image_07052026_12_23_35_29142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/25/image_07052026_12_26_05_29216.jpg
/home/pi/Desktop/images/07052026/12/25/image_07052026_12_25_36_30307.jpg
/home/pi/Desktop/images/07052026/12/24/image_07052026_12_25_05_30091.jpg
/home/pi/Desktop/images/07052026/12/24/image_07052026_12_24_35_30162.jpg
/home/pi/Desktop/images/07052026/12/23/image_07052026_12_24_05_30253.jpg
/home/pi/Desktop/images/07052026/12/23/image_07052026_12_23_35_29142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863556","1416863564","1416863558","1416863560","1416863554","1416863562"],"photo_ids_order":["1416863554","1416863556","1416863558","1416863560","1416863562","1416863564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dd4a45a210796ad20d79e8cd244dfad.jpg","text":"TemporaryFile(/tmp/multipartBody8606445845690243242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_25_36_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c707bf8559b9e5160a53f675da6f57cc.jpg","text":"TemporaryFile(/tmp/multipartBody1826044816358801136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_23_35_29142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/971c6db695cdea5bf6a15aeeb88cfd33.jpg","text":"TemporaryFile(/tmp/multipartBody3726696491692153373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_25_05_30091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f95ff44d2c8e0cc0e9efb17c3d5fdef.jpg","text":"TemporaryFile(/tmp/multipartBody3546447486130157962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_24_35_30162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b63e4f58c4566c7772458840482cebe.jpg","text":"TemporaryFile(/tmp/multipartBody4596556894272946210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_26_05_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb71338c7333a3dfec98ff499e524ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8254926289188204689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496365973,"filename":"image_07052026_12_24_05_30253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863558","file1":"1416863556","file0":"1416863554","file4":"1416863562","file5":"1416863564","file3":"1416863560"},"map_files_photo_id_array":[{"photo_id":"1416863564","filename":"file5"},{"photo_id":"1416863558","filename":"file2"},{"photo_id":"1416863562","filename":"file4"},{"photo_id":"1416863556","filename":"file1"},{"photo_id":"1416863554","filename":"file0"},{"photo_id":"1416863560","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416863556":["hashtag1","hashtag2"]},{"1416863564":["hashtag1","hashtag2"]},{"1416863558":["hashtag1","hashtag2"]},{"1416863560":["hashtag1","hashtag2"]},{"1416863554":["hashtag1","hashtag2"]},{"1416863562":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416863556, 1416863564, 1416863558, 1416863560, 1416863554, 1416863562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11847448348999 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:46:03.353099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/44/image_11052026_12_45_13_29054.jpg', '/home/pi/Desktop/images/11052026/12/44/image_11052026_12_44_44_30112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/44/image_11052026_12_45_13_29054.jpg
/home/pi/Desktop/images/11052026/12/44/image_11052026_12_44_44_30112.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8487148284912109 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:47:03.603139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/46/image_11052026_12_46_44_30229.jpg', '/home/pi/Desktop/images/11052026/12/45/image_11052026_12_46_14_30070.jpg', '/home/pi/Desktop/images/11052026/12/45/image_11052026_12_45_44_30102.jpg', '/home/pi/Desktop/images/11052026/12/44/image_11052026_12_45_13_29054.jpg', '/home/pi/Desktop/images/11052026/12/44/image_11052026_12_44_44_30112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/46/image_11052026_12_46_44_30229.jpg
/home/pi/Desktop/images/11052026/12/45/image_11052026_12_46_14_30070.jpg
/home/pi/Desktop/images/11052026/12/45/image_11052026_12_45_44_30102.jpg
/home/pi/Desktop/images/11052026/12/44/image_11052026_12_45_13_29054.jpg
/home/pi/Desktop/images/11052026/12/44/image_11052026_12_44_44_30112.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863862","1416863859","1416863864","1416863861","1416863866"],"photo_ids_order":["1416863859","1416863861","1416863862","1416863864","1416863866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24a2b8b42d643cb668fd128ec5909456.jpg","text":"TemporaryFile(/tmp/multipartBody3425324734699754850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496485308,"filename":"image_11052026_12_45_44_30102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e423248c5da8fdb32e9b66b52696c6b4.jpg","text":"TemporaryFile(/tmp/multipartBody753386855630760684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496485308,"filename":"image_11052026_12_46_44_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bb74c85a644f34d51396deabe164c56.jpg","text":"TemporaryFile(/tmp/multipartBody894616172138288988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496485308,"filename":"image_11052026_12_45_13_29054.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e7ccf1f4ed0292556d19b2504653ce43.jpg","text":"TemporaryFile(/tmp/multipartBody747163205024451791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496485308,"filename":"image_11052026_12_46_14_30070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d33967e5189bb8f7a1a4f31ba5d1f43a.jpg","text":"TemporaryFile(/tmp/multipartBody1672171539085812872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496485308,"filename":"image_11052026_12_44_44_30112.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863862","file1":"1416863861","file0":"1416863859","file4":"1416863866","file3":"1416863864"},"map_files_photo_id_array":[{"photo_id":"1416863862","filename":"file2"},{"photo_id":"1416863866","filename":"file4"},{"photo_id":"1416863861","filename":"file1"},{"photo_id":"1416863859","filename":"file0"},{"photo_id":"1416863864","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416863862":["hashtag1","hashtag2"]},{"1416863859":["hashtag1","hashtag2"]},{"1416863864":["hashtag1","hashtag2"]},{"1416863861":["hashtag1","hashtag2"]},{"1416863866":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416863862, 1416863859, 1416863864, 1416863861, 1416863866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.021626472473145 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:48:02.816489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/22/image_07052026_12_23_06_30091.jpg', '/home/pi/Desktop/images/07052026/12/22/image_07052026_12_22_36_30238.jpg', '/home/pi/Desktop/images/07052026/12/21/image_07052026_12_22_05_30331.jpg', '/home/pi/Desktop/images/07052026/12/20/image_07052026_12_20_35_30306.jpg', '/home/pi/Desktop/images/07052026/12/19/image_07052026_12_20_05_29296.jpg', '/home/pi/Desktop/images/07052026/12/19/image_07052026_12_19_36_30394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/22/image_07052026_12_23_06_30091.jpg
/home/pi/Desktop/images/07052026/12/22/image_07052026_12_22_36_30238.jpg
/home/pi/Desktop/images/07052026/12/21/image_07052026_12_22_05_30331.jpg
/home/pi/Desktop/images/07052026/12/20/image_07052026_12_20_35_30306.jpg
/home/pi/Desktop/images/07052026/12/19/image_07052026_12_20_05_29296.jpg
/home/pi/Desktop/images/07052026/12/19/image_07052026_12_19_36_30394.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863871","1416863870","1416863873","1416863875","1416863872","1416863874"],"photo_ids_order":["1416863870","1416863871","1416863872","1416863873","1416863874","1416863875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e46e4279980cab9e67629b7114676c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5136466081995944418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_22_36_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55e57c952eb99246ce7a80711c064841.jpg","text":"TemporaryFile(/tmp/multipartBody388304156003512314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_23_06_30091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a4c9b57ad6198dcfb0ff6417b3b713d.jpg","text":"TemporaryFile(/tmp/multipartBody964667517516918276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_20_35_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bad1b0c7c094aa54d8e5908f2b13e51a.jpg","text":"TemporaryFile(/tmp/multipartBody487163101036246471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_19_36_30394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c768b3a965e3933cb146fc5cf1213de.jpg","text":"TemporaryFile(/tmp/multipartBody2629111788191951763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_22_05_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7090a3853153ca85217442066c01c95.jpg","text":"TemporaryFile(/tmp/multipartBody7949348884855820086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496545134,"filename":"image_07052026_12_20_05_29296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863872","file1":"1416863871","file0":"1416863870","file4":"1416863874","file5":"1416863875","file3":"1416863873"},"map_files_photo_id_array":[{"photo_id":"1416863875","filename":"file5"},{"photo_id":"1416863872","filename":"file2"},{"photo_id":"1416863874","filename":"file4"},{"photo_id":"1416863871","filename":"file1"},{"photo_id":"1416863870","filename":"file0"},{"photo_id":"1416863873","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416863871":["hashtag1","hashtag2"]},{"1416863870":["hashtag1","hashtag2"]},{"1416863873":["hashtag1","hashtag2"]},{"1416863875":["hashtag1","hashtag2"]},{"1416863872":["hashtag1","hashtag2"]},{"1416863874":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416863871, 1416863870, 1416863873, 1416863875, 1416863872, 1416863874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20682644844055 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:49:04.602664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/18/image_07052026_12_18_35_30152.jpg', '/home/pi/Desktop/images/07052026/12/17/image_07052026_12_17_36_30334.jpg', '/home/pi/Desktop/images/07052026/12/16/image_07052026_12_17_05_30322.jpg', '/home/pi/Desktop/images/07052026/12/16/image_07052026_12_16_35_29249.jpg', '/home/pi/Desktop/images/07052026/12/15/image_07052026_12_15_36_30381.jpg', '/home/pi/Desktop/images/07052026/12/13/image_07052026_12_13_35_30327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/18/image_07052026_12_18_35_30152.jpg
/home/pi/Desktop/images/07052026/12/17/image_07052026_12_17_36_30334.jpg
/home/pi/Desktop/images/07052026/12/16/image_07052026_12_17_05_30322.jpg
/home/pi/Desktop/images/07052026/12/16/image_07052026_12_16_35_29249.jpg
/home/pi/Desktop/images/07052026/12/15/image_07052026_12_15_36_30381.jpg
/home/pi/Desktop/images/07052026/12/13/image_07052026_12_13_35_30327.jpg
2026-05-11 12:49:04.825723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/47/image_11052026_12_47_44_30089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/47/image_11052026_12_47_44_30089.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9274845123291016 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863882","1416863885","1416863888","1416863884","1416863878","1416863880"],"photo_ids_order":["1416863878","1416863880","1416863882","1416863884","1416863885","1416863888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b535e9a5103f009f9af68a6802d2b041.jpg","text":"TemporaryFile(/tmp/multipartBody218317366271992536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_17_05_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/147a3df21c2a19fe4b2c1300282da687.jpg","text":"TemporaryFile(/tmp/multipartBody2524713235818662697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_15_36_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4822866957be549114159dcd45dffe7f.jpg","text":"TemporaryFile(/tmp/multipartBody7224741684395590289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_13_35_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ca3e086e69b25895c1673e63e92f305.jpg","text":"TemporaryFile(/tmp/multipartBody7230755170986350550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_16_35_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca4c6bb7fb38b032fb1918f2abcc3d06.jpg","text":"TemporaryFile(/tmp/multipartBody6905111948225596479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_18_35_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2276191238ea458a2b18b3fbc34d8119.jpg","text":"TemporaryFile(/tmp/multipartBody2221126619599066019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496607090,"filename":"image_07052026_12_17_36_30334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863882","file1":"1416863880","file0":"1416863878","file4":"1416863885","file5":"1416863888","file3":"1416863884"},"map_files_photo_id_array":[{"photo_id":"1416863888","filename":"file5"},{"photo_id":"1416863882","filename":"file2"},{"photo_id":"1416863885","filename":"file4"},{"photo_id":"1416863880","filename":"file1"},{"photo_id":"1416863878","filename":"file0"},{"photo_id":"1416863884","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416863882":["hashtag1","hashtag2"]},{"1416863885":["hashtag1","hashtag2"]},{"1416863888":["hashtag1","hashtag2"]},{"1416863884":["hashtag1","hashtag2"]},{"1416863878":["hashtag1","hashtag2"]},{"1416863880":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416863882, 1416863885, 1416863888, 1416863884, 1416863878, 1416863880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31751751899719 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:50:03.232409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/47/image_11052026_12_47_44_30089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/47/image_11052026_12_47_44_30089.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863896"],"photo_id":"1416863896","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/033214d92c79c8ba69025b5927dad5ae.jpg","text":"TemporaryFile(/tmp/multipartBody470027312334939238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496664368,"filename":"image_11052026_12_47_44_30089.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416863896"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416863896"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.494811296463013 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:51:03.359680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg', '/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg
/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.1573922634124756 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:52:02.896861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/50/image_11052026_12_51_14_30171.jpg', '/home/pi/Desktop/images/11052026/12/48/image_11052026_12_49_14_30140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/50/image_11052026_12_51_14_30171.jpg
/home/pi/Desktop/images/11052026/12/48/image_11052026_12_49_14_30140.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863910","1416863911"],"photo_ids_order":["1416863910","1416863911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43040184aecfa9504f2787bbd9996ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2591439636639834922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496784221,"filename":"image_11052026_12_51_14_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a32fa423a0a928513dc20f1293a88d73.jpg","text":"TemporaryFile(/tmp/multipartBody8432672746182282782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496784221,"filename":"image_11052026_12_49_14_30140.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416863911","file0":"1416863910"},"map_files_photo_id_array":[{"photo_id":"1416863911","filename":"file1"},{"photo_id":"1416863910","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416863910":["hashtag1","hashtag2"]},{"1416863911":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416863910, 1416863911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.392402410507202 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:53:04.129926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg', '/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.854095458984375 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:54:03.971412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.jpg', '/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg', '/home/pi/Desktop/images/11052026/12/52/image_11052026_12_52_44_30194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.jpg
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg
/home/pi/Desktop/images/11052026/12/52/image_11052026_12_52_44_30194.jpg
2026-05-11 12:54:03.999526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/52/image_11052026_12_52_44_30194.jpg', '/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg', '/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/52/image_11052026_12_52_44_30194.jpg
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_52_14_30117.jpg
/home/pi/Desktop/images/11052026/12/51/image_11052026_12_51_44_30115.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863925","1416863921","1416863923"],"photo_ids_order":["1416863921","1416863923","1416863925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/01b54a668e9310ebd9811c044da2dde6.jpg","text":"TemporaryFile(/tmp/multipartBody3166943221876315671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905517,"filename":"image_11052026_12_52_44_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ee1d4ec318cd6029cdebcd770228992.jpg","text":"TemporaryFile(/tmp/multipartBody4043767798659749666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905517,"filename":"image_11052026_12_51_44_30115.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de9613392cf027b9fb609f3c06cdc30b.jpg","text":"TemporaryFile(/tmp/multipartBody7078981414328625280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905517,"filename":"image_11052026_12_52_14_30117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863925","file1":"1416863923","file0":"1416863921"},"map_files_photo_id_array":[{"photo_id":"1416863925","filename":"file2"},{"photo_id":"1416863923","filename":"file1"},{"photo_id":"1416863921","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416863925":["hashtag1","hashtag2"]},{"1416863921":["hashtag1","hashtag2"]},{"1416863923":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416863925, 1416863921, 1416863923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.643946170806885 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416863922","1416863924","1416863926"],"photo_ids_order":["1416863922","1416863924","1416863926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f29815862e6020128273cef44e1ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody4701480057505380014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905622,"filename":"image_11052026_12_52_44_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2909884d261e4b9e79269c7dc00a7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6046742846568098320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905622,"filename":"image_11052026_12_52_14_30117.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/acb00f6d8ef7c0267dc7e6509e2170a3.jpg","text":"TemporaryFile(/tmp/multipartBody1568676466037367518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778496905622,"filename":"image_11052026_12_51_44_30115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416863926","file1":"1416863924","file0":"1416863922"},"map_files_photo_id_array":[{"photo_id":"1416863926","filename":"file2"},{"photo_id":"1416863924","filename":"file1"},{"photo_id":"1416863922","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416863922":["hashtag1","hashtag2"]},{"1416863924":["hashtag1","hashtag2"]},{"1416863926":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416863922, 1416863924, 1416863926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.903809785842896 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 12:59:03.604774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/57/image_11052026_12_58_14_30223.jpg', '/home/pi/Desktop/images/11052026/12/56/image_11052026_12_57_13_29069.jpg', '/home/pi/Desktop/images/11052026/12/56/image_11052026_12_56_44_30039.jpg', '/home/pi/Desktop/images/11052026/12/54/image_11052026_12_54_44_30140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/57/image_11052026_12_58_14_30223.jpg
/home/pi/Desktop/images/11052026/12/56/image_11052026_12_57_13_29069.jpg
/home/pi/Desktop/images/11052026/12/56/image_11052026_12_56_44_30039.jpg
/home/pi/Desktop/images/11052026/12/54/image_11052026_12_54_44_30140.jpg
2026-05-11 12:59:03.976672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/54/image_11052026_12_54_44_30140.jpg', '/home/pi/Desktop/images/11052026/12/56/image_11052026_12_56_44_30039.jpg', '/home/pi/Desktop/images/11052026/12/56/image_11052026_12_57_13_29069.jpg', '/home/pi/Desktop/images/11052026/12/57/image_11052026_12_58_14_30223.jpg', '/home/pi/Desktop/images/11052026/12/58/image_11052026_12_58_44_30113.jpg', '/home/pi/Desktop/images/11052026/12/58/image_11052026_12_59_14_30160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/54/image_11052026_12_54_44_30140.jpg
/home/pi/Desktop/images/11052026/12/56/image_11052026_12_56_44_30039.jpg
/home/pi/Desktop/images/11052026/12/56/image_11052026_12_57_13_29069.jpg
/home/pi/Desktop/images/11052026/12/57/image_11052026_12_58_14_30223.jpg
/home/pi/Desktop/images/11052026/12/58/image_11052026_12_58_44_30113.jpg
/home/pi/Desktop/images/11052026/12/58/image_11052026_12_59_14_30160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416865214","1416865216","1416865210","1416865218"],"photo_ids_order":["1416865210","1416865214","1416865216","1416865218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53e6c822dcafc3fa139962e6b6ebc979.jpg","text":"TemporaryFile(/tmp/multipartBody2790084929574153750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497205588,"filename":"image_11052026_12_57_13_29069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cfbea8f348cf423d7a693b54fa0502f.jpg","text":"TemporaryFile(/tmp/multipartBody432694901465300917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497205588,"filename":"image_11052026_12_56_44_30039.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b5b4ead653f0abc475e5c4635bca500.jpg","text":"TemporaryFile(/tmp/multipartBody2730639070718496472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497205588,"filename":"image_11052026_12_58_14_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c9d0ab4c1d081afcc64627c808f7516.jpg","text":"TemporaryFile(/tmp/multipartBody258005589185387397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497205588,"filename":"image_11052026_12_54_44_30140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416865216","file1":"1416865214","file0":"1416865210","file3":"1416865218"},"map_files_photo_id_array":[{"photo_id":"1416865216","filename":"file2"},{"photo_id":"1416865214","filename":"file1"},{"photo_id":"1416865210","filename":"file0"},{"photo_id":"1416865218","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416865214":["hashtag1","hashtag2"]},{"1416865216":["hashtag1","hashtag2"]},{"1416865210":["hashtag1","hashtag2"]},{"1416865218":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416865214, 1416865216, 1416865210, 1416865218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.99715614318848 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416865217","1416865211","1416865213","1416865219","1416865221","1416865215"],"photo_ids_order":["1416865211","1416865213","1416865215","1416865217","1416865219","1416865221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da279b6e723c86cb6ac7881b994a062f.jpg","text":"TemporaryFile(/tmp/multipartBody8874772754672399385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_58_14_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81ef28a650d84753bec039e19f8a1b80.jpg","text":"TemporaryFile(/tmp/multipartBody2650151686811557613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_54_44_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/536b6c3148f093f675e5db5b0d885842.jpg","text":"TemporaryFile(/tmp/multipartBody4088807775991102793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_56_44_30039.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f061190791225d1e7fa16bb1498d224b.jpg","text":"TemporaryFile(/tmp/multipartBody3708970834073767171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_58_44_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6131465e3bb14024c0e2ba71142e5a74.jpg","text":"TemporaryFile(/tmp/multipartBody2213826572086048174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_59_14_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c216c4212ec8b874b835adc1b03b7ae.jpg","text":"TemporaryFile(/tmp/multipartBody9196737154861238976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497206200,"filename":"image_11052026_12_57_13_29069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416865215","file1":"1416865213","file0":"1416865211","file4":"1416865219","file5":"1416865221","file3":"1416865217"},"map_files_photo_id_array":[{"photo_id":"1416865221","filename":"file5"},{"photo_id":"1416865215","filename":"file2"},{"photo_id":"1416865219","filename":"file4"},{"photo_id":"1416865213","filename":"file1"},{"photo_id":"1416865211","filename":"file0"},{"photo_id":"1416865217","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416865217":["hashtag1","hashtag2"]},{"1416865211":["hashtag1","hashtag2"]},{"1416865213":["hashtag1","hashtag2"]},{"1416865219":["hashtag1","hashtag2"]},{"1416865221":["hashtag1","hashtag2"]},{"1416865215":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416865217, 1416865211, 1416865213, 1416865219, 1416865221, 1416865215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49218988418579 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:00:03.378183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/12/59/image_11052026_12_59_44_30093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/12/59/image_11052026_12_59_44_30093.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416865225"],"photo_id":"1416865225","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/081064ef4b34919c46a3fdb55027fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody122884638185394664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497264419,"filename":"image_11052026_12_59_44_30093.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416865225"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416865225"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.284869909286499 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:01:03.561739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg', '/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg
/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7395246028900146 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:02:03.137731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/00/image_11052026_13_00_44_30035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/00/image_11052026_13_00_44_30035.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416865805"],"photo_id":"1416865805","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24f486a7838307db938e1f72c06385eb.jpg","text":"TemporaryFile(/tmp/multipartBody3453009544503698465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497384242,"filename":"image_11052026_13_00_44_30035.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416865805"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416865805"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.438281774520874 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:03:04.366387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/01/image_11052026_13_01_44_30205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/01/image_11052026_13_01_44_30205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416865812"],"photo_id":"1416865812","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d98a3a44431dbe82d86420cbc91d1dc6.jpg","text":"TemporaryFile(/tmp/multipartBody45073919559403814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497445415,"filename":"image_11052026_13_01_44_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416865812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416865812"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.924281120300293 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:04:02.958089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/04/image_07052026_02_04_36_30383.jpg', '/home/pi/Desktop/images/07052026/02/05/image_07052026_02_05_35_30218.jpg', '/home/pi/Desktop/images/07052026/02/06/image_07052026_02_07_05_30382.jpg', '/home/pi/Desktop/images/07052026/02/07/image_07052026_02_07_36_30486.jpg', '/home/pi/Desktop/images/07052026/02/07/image_07052026_02_08_05_29284.jpg', '/home/pi/Desktop/images/07052026/02/08/image_07052026_02_08_35_30343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/04/image_07052026_02_04_36_30383.jpg
/home/pi/Desktop/images/07052026/02/05/image_07052026_02_05_35_30218.jpg
/home/pi/Desktop/images/07052026/02/06/image_07052026_02_07_05_30382.jpg
/home/pi/Desktop/images/07052026/02/07/image_07052026_02_07_36_30486.jpg
/home/pi/Desktop/images/07052026/02/07/image_07052026_02_08_05_29284.jpg
/home/pi/Desktop/images/07052026/02/08/image_07052026_02_08_35_30343.jpg
2026-05-11 13:04:02.949900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg', '/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg', '/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg', '/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/11/image_07052026_12_12_06_30289.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_10_05_30273.jpg
/home/pi/Desktop/images/07052026/12/09/image_07052026_12_09_35_29210.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_09_06_30288.jpg
/home/pi/Desktop/images/07052026/12/08/image_07052026_12_08_36_30264.jpg
/home/pi/Desktop/images/07052026/12/07/image_07052026_12_08_05_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416866753","1416866747","1416866741","1416866750","1416866744","1416866738"],"photo_ids_order":["1416866738","1416866741","1416866744","1416866747","1416866750","1416866753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f10b2ee77a1eaf65423b582781236cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6157423848171491689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_08_05_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8812e11c1de34cb148f5ac7b965f685f.jpg","text":"TemporaryFile(/tmp/multipartBody1711574732814850986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_09_06_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1154482da2d6919f4e11c9133cc19b69.jpg","text":"TemporaryFile(/tmp/multipartBody8257535172510031318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_10_05_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8519091d8e324feecd4ed8fba4177f11.jpg","text":"TemporaryFile(/tmp/multipartBody3600369898487266248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_08_36_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c12557ee968fda01a92213654380fc8e.jpg","text":"TemporaryFile(/tmp/multipartBody8315312195733930095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_09_35_29210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb47cf4ec59b6fcd6affe02167b113a8.jpg","text":"TemporaryFile(/tmp/multipartBody5742470436689354050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497509001,"filename":"image_07052026_12_12_06_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416866744","file1":"1416866741","file0":"1416866738","file4":"1416866750","file5":"1416866753","file3":"1416866747"},"map_files_photo_id_array":[{"photo_id":"1416866753","filename":"file5"},{"photo_id":"1416866744","filename":"file2"},{"photo_id":"1416866750","filename":"file4"},{"photo_id":"1416866741","filename":"file1"},{"photo_id":"1416866738","filename":"file0"},{"photo_id":"1416866747","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416866753":["hashtag1","hashtag2"]},{"1416866747":["hashtag1","hashtag2"]},{"1416866741":["hashtag1","hashtag2"]},{"1416866750":["hashtag1","hashtag2"]},{"1416866744":["hashtag1","hashtag2"]},{"1416866738":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416866753, 1416866747, 1416866741, 1416866750, 1416866744, 1416866738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.191596031188965 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416866754","1416866742","1416866751","1416866745","1416866739","1416866748"],"photo_ids_order":["1416866739","1416866742","1416866745","1416866748","1416866751","1416866754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f840abef0451596ba5c455b41d9a482.jpg","text":"TemporaryFile(/tmp/multipartBody5042109497133867497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_08_35_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e065acf82e75d0f54774ba836c38d515.jpg","text":"TemporaryFile(/tmp/multipartBody702564729522627994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_05_35_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f634117b312777eeeae4d787e6671c5c.jpg","text":"TemporaryFile(/tmp/multipartBody2291579183526853591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_08_05_29284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5f835e539bbae806be374c00e3be927.jpg","text":"TemporaryFile(/tmp/multipartBody5947038802326880078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_07_05_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2383f90bfa2bc918995c902b081be3c3.jpg","text":"TemporaryFile(/tmp/multipartBody3172675905473894873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_04_36_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5702bcb97b924ee6f092f8f5c42286c9.jpg","text":"TemporaryFile(/tmp/multipartBody594584710547676868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497510235,"filename":"image_07052026_02_07_36_30486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416866745","file1":"1416866742","file0":"1416866739","file4":"1416866751","file5":"1416866754","file3":"1416866748"},"map_files_photo_id_array":[{"photo_id":"1416866754","filename":"file5"},{"photo_id":"1416866745","filename":"file2"},{"photo_id":"1416866751","filename":"file4"},{"photo_id":"1416866742","filename":"file1"},{"photo_id":"1416866739","filename":"file0"},{"photo_id":"1416866748","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416866754":["hashtag1","hashtag2"]},{"1416866742":["hashtag1","hashtag2"]},{"1416866751":["hashtag1","hashtag2"]},{"1416866745":["hashtag1","hashtag2"]},{"1416866739":["hashtag1","hashtag2"]},{"1416866748":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416866754, 1416866742, 1416866751, 1416866745, 1416866739, 1416866748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.482343673706055 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:05:04.495357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/04/image_11052026_13_05_14_30347.jpg', '/home/pi/Desktop/images/11052026/13/04/image_11052026_13_04_44_29242.jpg', '/home/pi/Desktop/images/11052026/13/03/image_11052026_13_04_14_30197.jpg', '/home/pi/Desktop/images/11052026/13/03/image_11052026_13_03_44_30092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/04/image_11052026_13_05_14_30347.jpg
/home/pi/Desktop/images/11052026/13/04/image_11052026_13_04_44_29242.jpg
/home/pi/Desktop/images/11052026/13/03/image_11052026_13_04_14_30197.jpg
/home/pi/Desktop/images/11052026/13/03/image_11052026_13_03_44_30092.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867142","1416866761","1416866851","1416867156"],"photo_ids_order":["1416866761","1416866851","1416867142","1416867156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a78fb06ad19825dd63ab6595f7fc78a.jpg","text":"TemporaryFile(/tmp/multipartBody607896778558265458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497566689,"filename":"image_11052026_13_04_14_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e9c9285d2649e621e962d2f9bacf216.jpg","text":"TemporaryFile(/tmp/multipartBody2873874836629505182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497566689,"filename":"image_11052026_13_05_14_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf0d9eedb7086c889d5f7e78470a2684.jpg","text":"TemporaryFile(/tmp/multipartBody8170939439487377566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497566689,"filename":"image_11052026_13_04_44_29242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f15d98e24e3f62f4e43a1449d3a7218c.jpg","text":"TemporaryFile(/tmp/multipartBody1578428339215659643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497566689,"filename":"image_11052026_13_03_44_30092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867142","file1":"1416866851","file0":"1416866761","file3":"1416867156"},"map_files_photo_id_array":[{"photo_id":"1416867142","filename":"file2"},{"photo_id":"1416866851","filename":"file1"},{"photo_id":"1416866761","filename":"file0"},{"photo_id":"1416867156","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416867142":["hashtag1","hashtag2"]},{"1416866761":["hashtag1","hashtag2"]},{"1416866851":["hashtag1","hashtag2"]},{"1416867156":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416867142, 1416866761, 1416866851, 1416867156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.202438831329346 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:06:02.816590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/03/image_07052026_12_04_05_30274.jpg', '/home/pi/Desktop/images/07052026/12/03/image_07052026_12_03_35_29248.jpg', '/home/pi/Desktop/images/07052026/12/02/image_07052026_12_03_06_30276.jpg', '/home/pi/Desktop/images/07052026/12/02/image_07052026_12_02_35_30242.jpg', '/home/pi/Desktop/images/07052026/12/01/image_07052026_12_02_05_30357.jpg', '/home/pi/Desktop/images/07052026/12/00/image_07052026_12_01_06_30258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/03/image_07052026_12_04_05_30274.jpg
/home/pi/Desktop/images/07052026/12/03/image_07052026_12_03_35_29248.jpg
/home/pi/Desktop/images/07052026/12/02/image_07052026_12_03_06_30276.jpg
/home/pi/Desktop/images/07052026/12/02/image_07052026_12_02_35_30242.jpg
/home/pi/Desktop/images/07052026/12/01/image_07052026_12_02_05_30357.jpg
/home/pi/Desktop/images/07052026/12/00/image_07052026_12_01_06_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867253","1416867256","1416867258","1416867260","1416867254","1416867251"],"photo_ids_order":["1416867251","1416867253","1416867254","1416867256","1416867258","1416867260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba4ccd48806abe7b0f93150fb9f1e88f.jpg","text":"TemporaryFile(/tmp/multipartBody8578333543609257339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_03_35_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc67a9ce5208f26aca2bb9ae8ed46e35.jpg","text":"TemporaryFile(/tmp/multipartBody6365402467605117533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_02_35_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2a079145605952a20fbe74fff2c011c.jpg","text":"TemporaryFile(/tmp/multipartBody7702732082244964624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_02_05_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba96e25ced9593e33dcb41c4238ca1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3512844646835776246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_01_06_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91be5ee79e89005367b1bd726f30b808.jpg","text":"TemporaryFile(/tmp/multipartBody1773779814570777957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_03_06_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b03de9c89eebc9f1d5e9a4f4ef2ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody4943783849773720096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497626265,"filename":"image_07052026_12_04_05_30274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867254","file1":"1416867253","file0":"1416867251","file4":"1416867258","file5":"1416867260","file3":"1416867256"},"map_files_photo_id_array":[{"photo_id":"1416867260","filename":"file5"},{"photo_id":"1416867254","filename":"file2"},{"photo_id":"1416867258","filename":"file4"},{"photo_id":"1416867253","filename":"file1"},{"photo_id":"1416867251","filename":"file0"},{"photo_id":"1416867256","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416867253":["hashtag1","hashtag2"]},{"1416867256":["hashtag1","hashtag2"]},{"1416867258":["hashtag1","hashtag2"]},{"1416867260":["hashtag1","hashtag2"]},{"1416867254":["hashtag1","hashtag2"]},{"1416867251":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416867253, 1416867256, 1416867258, 1416867260, 1416867254, 1416867251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46121025085449 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:07:04.341130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/05/image_11052026_13_06_13_29182.jpg', '/home/pi/Desktop/images/11052026/13/05/image_11052026_13_05_44_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/05/image_11052026_13_06_13_29182.jpg
/home/pi/Desktop/images/11052026/13/05/image_11052026_13_05_44_30275.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3383164405822754 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:08:03.063793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/07/image_11052026_13_08_14_30125.jpg', '/home/pi/Desktop/images/11052026/13/07/image_11052026_13_07_44_30121.jpg', '/home/pi/Desktop/images/11052026/13/06/image_11052026_13_07_14_30253.jpg', '/home/pi/Desktop/images/11052026/13/06/image_11052026_13_06_44_30284.jpg', '/home/pi/Desktop/images/11052026/13/05/image_11052026_13_06_13_29182.jpg', '/home/pi/Desktop/images/11052026/13/05/image_11052026_13_05_44_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/07/image_11052026_13_08_14_30125.jpg
/home/pi/Desktop/images/11052026/13/07/image_11052026_13_07_44_30121.jpg
/home/pi/Desktop/images/11052026/13/06/image_11052026_13_07_14_30253.jpg
/home/pi/Desktop/images/11052026/13/06/image_11052026_13_06_44_30284.jpg
/home/pi/Desktop/images/11052026/13/05/image_11052026_13_06_13_29182.jpg
/home/pi/Desktop/images/11052026/13/05/image_11052026_13_05_44_30275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867273","1416867267","1416867275","1416867269","1416867266","1416867271"],"photo_ids_order":["1416867266","1416867267","1416867269","1416867271","1416867273","1416867275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e7480a8053b3d6f787151db74af9772.jpg","text":"TemporaryFile(/tmp/multipartBody7444940473046980044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_06_13_29182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8df6e627476bf7b8ea5992b229b505a3.jpg","text":"TemporaryFile(/tmp/multipartBody3288965737971965252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_07_44_30121.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58935da19d74827e99b5c2fb30ba961f.jpg","text":"TemporaryFile(/tmp/multipartBody4884792953843123794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_05_44_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9721b001f51e314019283cc47c20f60e.jpg","text":"TemporaryFile(/tmp/multipartBody8610649305459115271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_07_14_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c36c8828b1bdbea9538a7af3dbc69046.jpg","text":"TemporaryFile(/tmp/multipartBody8488747215530482723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_08_14_30125.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a0461b65e03c2bf787ebd7deb074a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7214127086066727817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497746729,"filename":"image_11052026_13_06_44_30284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867269","file1":"1416867267","file0":"1416867266","file4":"1416867273","file5":"1416867275","file3":"1416867271"},"map_files_photo_id_array":[{"photo_id":"1416867275","filename":"file5"},{"photo_id":"1416867269","filename":"file2"},{"photo_id":"1416867273","filename":"file4"},{"photo_id":"1416867267","filename":"file1"},{"photo_id":"1416867266","filename":"file0"},{"photo_id":"1416867271","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416867273":["hashtag1","hashtag2"]},{"1416867267":["hashtag1","hashtag2"]},{"1416867275":["hashtag1","hashtag2"]},{"1416867269":["hashtag1","hashtag2"]},{"1416867266":["hashtag1","hashtag2"]},{"1416867271":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416867273, 1416867267, 1416867275, 1416867269, 1416867266, 1416867271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9745876789093 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:09:04.502194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/12/00/image_07052026_12_00_35_30281.jpg', '/home/pi/Desktop/images/07052026/11/59/image_07052026_12_00_05_30266.jpg', '/home/pi/Desktop/images/07052026/11/59/image_07052026_11_59_35_29057.jpg', '/home/pi/Desktop/images/07052026/11/58/image_07052026_11_59_06_30191.jpg', '/home/pi/Desktop/images/07052026/11/58/image_07052026_11_58_36_30295.jpg', '/home/pi/Desktop/images/07052026/11/53/image_07052026_11_54_05_30220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/12/00/image_07052026_12_00_35_30281.jpg
/home/pi/Desktop/images/07052026/11/59/image_07052026_12_00_05_30266.jpg
/home/pi/Desktop/images/07052026/11/59/image_07052026_11_59_35_29057.jpg
/home/pi/Desktop/images/07052026/11/58/image_07052026_11_59_06_30191.jpg
/home/pi/Desktop/images/07052026/11/58/image_07052026_11_58_36_30295.jpg
/home/pi/Desktop/images/07052026/11/53/image_07052026_11_54_05_30220.jpg
2026-05-11 13:09:04.650250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/08/image_07052026_02_09_06_30362.jpg', '/home/pi/Desktop/images/07052026/02/09/image_07052026_02_09_35_29367.jpg', '/home/pi/Desktop/images/07052026/02/09/image_07052026_02_10_05_30322.jpg', '/home/pi/Desktop/images/07052026/02/11/image_07052026_02_12_06_30277.jpg', '/home/pi/Desktop/images/07052026/02/12/image_07052026_02_12_35_29335.jpg', '/home/pi/Desktop/images/07052026/02/15/image_07052026_02_15_35_30406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/08/image_07052026_02_09_06_30362.jpg
/home/pi/Desktop/images/07052026/02/09/image_07052026_02_09_35_29367.jpg
/home/pi/Desktop/images/07052026/02/09/image_07052026_02_10_05_30322.jpg
/home/pi/Desktop/images/07052026/02/11/image_07052026_02_12_06_30277.jpg
/home/pi/Desktop/images/07052026/02/12/image_07052026_02_12_35_29335.jpg
/home/pi/Desktop/images/07052026/02/15/image_07052026_02_15_35_30406.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.808577299118042 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867288","1416867285","1416867279","1416867281","1416867278","1416867283"],"photo_ids_order":["1416867278","1416867279","1416867281","1416867283","1416867285","1416867288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a409b85274c901fd70c3ba9881b69f9.jpg","text":"TemporaryFile(/tmp/multipartBody3383238841448737255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_11_54_05_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2e71040dffe5145fc5eabec90f7924c.jpg","text":"TemporaryFile(/tmp/multipartBody1146594577351051719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_11_58_36_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1daa35267e532db63a380c522dbf1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5393776236437300376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_12_00_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06c023e3d23019aceefa327993f7a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8776803624200726065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_11_59_35_29057.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9afec3bdb934391cbcfc0b43fbdb51a.jpg","text":"TemporaryFile(/tmp/multipartBody6565775676878149380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_12_00_35_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e5777b91e632b9e6f73238358764df9.jpg","text":"TemporaryFile(/tmp/multipartBody827097959933834404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497811564,"filename":"image_07052026_11_59_06_30191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867281","file1":"1416867279","file0":"1416867278","file4":"1416867285","file5":"1416867288","file3":"1416867283"},"map_files_photo_id_array":[{"photo_id":"1416867288","filename":"file5"},{"photo_id":"1416867281","filename":"file2"},{"photo_id":"1416867285","filename":"file4"},{"photo_id":"1416867279","filename":"file1"},{"photo_id":"1416867278","filename":"file0"},{"photo_id":"1416867283","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416867288":["hashtag1","hashtag2"]},{"1416867285":["hashtag1","hashtag2"]},{"1416867279":["hashtag1","hashtag2"]},{"1416867281":["hashtag1","hashtag2"]},{"1416867278":["hashtag1","hashtag2"]},{"1416867283":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416867288, 1416867285, 1416867279, 1416867281, 1416867278, 1416867283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.72726082801819 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:10:03.166411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/08/image_11052026_13_09_13_29124.jpg', '/home/pi/Desktop/images/11052026/13/08/image_11052026_13_08_44_30030.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/08/image_11052026_13_09_13_29124.jpg
/home/pi/Desktop/images/11052026/13/08/image_11052026_13_08_44_30030.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867291","1416867292"],"photo_ids_order":["1416867291","1416867292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aedb6fdd247f77a24e33908ee482a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody8444911346560854986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497864689,"filename":"image_11052026_13_09_13_29124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30fdcae41e43230a994b66473ecdc2d7.jpg","text":"TemporaryFile(/tmp/multipartBody8669553622962401000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497864689,"filename":"image_11052026_13_08_44_30030.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416867292","file0":"1416867291"},"map_files_photo_id_array":[{"photo_id":"1416867292","filename":"file1"},{"photo_id":"1416867291","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416867291":["hashtag1","hashtag2"]},{"1416867292":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416867291, 1416867292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.202945709228516 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:11:03.672361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/10/image_11052026_13_11_14_30241.jpg', '/home/pi/Desktop/images/11052026/13/10/image_11052026_13_10_44_30267.jpg', '/home/pi/Desktop/images/11052026/13/09/image_11052026_13_09_44_30212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/10/image_11052026_13_11_14_30241.jpg
/home/pi/Desktop/images/11052026/13/10/image_11052026_13_10_44_30267.jpg
/home/pi/Desktop/images/11052026/13/09/image_11052026_13_09_44_30212.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867304","1416867306","1416867302"],"photo_ids_order":["1416867302","1416867304","1416867306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c82097a2f890aa90b0cb8e40b94e7d29.jpg","text":"TemporaryFile(/tmp/multipartBody3183489313166108914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497925860,"filename":"image_11052026_13_10_44_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c71e8fc431bde18bf413963df0a402b.jpg","text":"TemporaryFile(/tmp/multipartBody2129032420142564211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497925860,"filename":"image_11052026_13_09_44_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42250913a525a7915d4d7d366fd9c3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3354879320137728476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778497925860,"filename":"image_11052026_13_11_14_30241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867306","file1":"1416867304","file0":"1416867302"},"map_files_photo_id_array":[{"photo_id":"1416867306","filename":"file2"},{"photo_id":"1416867304","filename":"file1"},{"photo_id":"1416867302","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416867304":["hashtag1","hashtag2"]},{"1416867306":["hashtag1","hashtag2"]},{"1416867302":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416867304, 1416867306, 1416867302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.7368586063385 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:12:02.958919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/53/image_07052026_11_53_35_30164.jpg', '/home/pi/Desktop/images/07052026/11/52/image_07052026_11_53_05_29247.jpg', '/home/pi/Desktop/images/07052026/11/52/image_07052026_11_52_36_30371.jpg', '/home/pi/Desktop/images/07052026/11/51/image_07052026_11_52_05_30256.jpg', '/home/pi/Desktop/images/07052026/11/49/image_07052026_11_50_05_30175.jpg', '/home/pi/Desktop/images/07052026/11/48/image_07052026_11_48_36_30353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/53/image_07052026_11_53_35_30164.jpg
/home/pi/Desktop/images/07052026/11/52/image_07052026_11_53_05_29247.jpg
/home/pi/Desktop/images/07052026/11/52/image_07052026_11_52_36_30371.jpg
/home/pi/Desktop/images/07052026/11/51/image_07052026_11_52_05_30256.jpg
/home/pi/Desktop/images/07052026/11/49/image_07052026_11_50_05_30175.jpg
/home/pi/Desktop/images/07052026/11/48/image_07052026_11_48_36_30353.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.264436960220337 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:13:04.308272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/53/image_07052026_11_53_35_30164.jpg', '/home/pi/Desktop/images/07052026/11/52/image_07052026_11_53_05_29247.jpg', '/home/pi/Desktop/images/07052026/11/52/image_07052026_11_52_36_30371.jpg', '/home/pi/Desktop/images/07052026/11/51/image_07052026_11_52_05_30256.jpg', '/home/pi/Desktop/images/07052026/11/49/image_07052026_11_50_05_30175.jpg', '/home/pi/Desktop/images/07052026/11/48/image_07052026_11_48_36_30353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/53/image_07052026_11_53_35_30164.jpg
/home/pi/Desktop/images/07052026/11/52/image_07052026_11_53_05_29247.jpg
/home/pi/Desktop/images/07052026/11/52/image_07052026_11_52_36_30371.jpg
/home/pi/Desktop/images/07052026/11/51/image_07052026_11_52_05_30256.jpg
/home/pi/Desktop/images/07052026/11/49/image_07052026_11_50_05_30175.jpg
/home/pi/Desktop/images/07052026/11/48/image_07052026_11_48_36_30353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867322","1416867325","1416867324","1416867321","1416867323","1416867326"],"photo_ids_order":["1416867321","1416867322","1416867323","1416867324","1416867325","1416867326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0644cb91d32d463d7cf3433951fdbd71.jpg","text":"TemporaryFile(/tmp/multipartBody6202641663342337078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_53_05_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0fc7227add4897fc848a0813ed7faac.jpg","text":"TemporaryFile(/tmp/multipartBody9046168368381619130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_50_05_30175.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5db84b50d67819cd9b4eda3b51fd4a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7314574346210991328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_52_05_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40be0474d8527f7f48e05fbf77d0122b.jpg","text":"TemporaryFile(/tmp/multipartBody2489595183045409974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_53_35_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2c86e6eed5be36d90678c4a7f88214a.jpg","text":"TemporaryFile(/tmp/multipartBody5217053391481539996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_52_36_30371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9574d1126fa21a689fa49f4015a7d870.jpg","text":"TemporaryFile(/tmp/multipartBody4548001159214080561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498047617,"filename":"image_07052026_11_48_36_30353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416867323","file1":"1416867322","file0":"1416867321","file4":"1416867325","file5":"1416867326","file3":"1416867324"},"map_files_photo_id_array":[{"photo_id":"1416867326","filename":"file5"},{"photo_id":"1416867323","filename":"file2"},{"photo_id":"1416867325","filename":"file4"},{"photo_id":"1416867322","filename":"file1"},{"photo_id":"1416867321","filename":"file0"},{"photo_id":"1416867324","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416867322":["hashtag1","hashtag2"]},{"1416867325":["hashtag1","hashtag2"]},{"1416867324":["hashtag1","hashtag2"]},{"1416867321":["hashtag1","hashtag2"]},{"1416867323":["hashtag1","hashtag2"]},{"1416867326":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416867322, 1416867325, 1416867324, 1416867321, 1416867323, 1416867326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63760828971863 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:14:03.997095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/11/image_11052026_13_11_44_30203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/11/image_11052026_13_11_44_30203.jpg
2026-05-11 13:14:04.000629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/11/image_11052026_13_11_44_30203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/11/image_11052026_13_11_44_30203.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416867329"],"photo_id":"1416867329","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/238925c4c65d5814f4b2a96dd58a7519.jpg","text":"TemporaryFile(/tmp/multipartBody5684063315427262211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498105442,"filename":"image_11052026_13_11_44_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416867329"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416867329"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416867330"],"photo_id":"1416867330","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae6d0407f1b549a03648112cbbd07e4c.jpg","text":"TemporaryFile(/tmp/multipartBody5293588490897420448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498105472,"filename":"image_11052026_13_11_44_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416867330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416867330"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.392420053482056 secondes ---
uploaded 1 photos
time to upload: 15.422661781311035 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:15:04.269759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/15/image_11052026_13_15_44_30365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/15/image_11052026_13_15_44_30365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416868287"],"photo_id":"1416868287","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f932823007e5747305202b4e1b3f105.jpg","text":"TemporaryFile(/tmp/multipartBody217492328955550583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498165611,"filename":"image_11052026_13_15_44_30365.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416868287"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416868287"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.027350425720215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:16:02.762590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/13/image_11052026_13_14_14_30119.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/13/image_11052026_13_14_14_30119.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416868632"],"photo_id":"1416868632","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83366c0eeda409cdbc13f673d61e81bf.jpg","text":"TemporaryFile(/tmp/multipartBody2045602289181935725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498223949,"filename":"image_11052026_13_14_14_30119.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416868632"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416868632"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.65071153640747 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:17:03.845622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/47/image_07052026_11_47_35_30261.jpg', '/home/pi/Desktop/images/07052026/11/46/image_07052026_11_47_05_29110.jpg', '/home/pi/Desktop/images/07052026/11/46/image_07052026_11_46_36_30315.jpg', '/home/pi/Desktop/images/07052026/11/45/image_07052026_11_46_05_30361.jpg', '/home/pi/Desktop/images/07052026/11/43/image_07052026_11_44_05_30214.jpg', '/home/pi/Desktop/images/07052026/11/42/image_07052026_11_43_06_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/47/image_07052026_11_47_35_30261.jpg
/home/pi/Desktop/images/07052026/11/46/image_07052026_11_47_05_29110.jpg
/home/pi/Desktop/images/07052026/11/46/image_07052026_11_46_36_30315.jpg
/home/pi/Desktop/images/07052026/11/45/image_07052026_11_46_05_30361.jpg
/home/pi/Desktop/images/07052026/11/43/image_07052026_11_44_05_30214.jpg
/home/pi/Desktop/images/07052026/11/42/image_07052026_11_43_06_30246.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.2125356197357178 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:18:03.265550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/47/image_07052026_11_47_35_30261.jpg', '/home/pi/Desktop/images/07052026/11/46/image_07052026_11_47_05_29110.jpg', '/home/pi/Desktop/images/07052026/11/46/image_07052026_11_46_36_30315.jpg', '/home/pi/Desktop/images/07052026/11/45/image_07052026_11_46_05_30361.jpg', '/home/pi/Desktop/images/07052026/11/43/image_07052026_11_44_05_30214.jpg', '/home/pi/Desktop/images/07052026/11/42/image_07052026_11_43_06_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/47/image_07052026_11_47_35_30261.jpg
/home/pi/Desktop/images/07052026/11/46/image_07052026_11_47_05_29110.jpg
/home/pi/Desktop/images/07052026/11/46/image_07052026_11_46_36_30315.jpg
/home/pi/Desktop/images/07052026/11/45/image_07052026_11_46_05_30361.jpg
/home/pi/Desktop/images/07052026/11/43/image_07052026_11_44_05_30214.jpg
/home/pi/Desktop/images/07052026/11/42/image_07052026_11_43_06_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416868785","1416868787","1416869327","1416868786","1416868951","1416869475"],"photo_ids_order":["1416868785","1416868786","1416868787","1416868951","1416869327","1416869475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07ea1132257c883ec6a13154c10f2bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5810168111452187898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_47_35_30261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e713376c606ae653e49d131bed844d64.jpg","text":"TemporaryFile(/tmp/multipartBody2059422895170907640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_46_36_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e7783ba9dcaa343408c53818cb68f59a.jpg","text":"TemporaryFile(/tmp/multipartBody1081252659846878459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_44_05_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8feeb89c30b183255de4dbce27def225.jpg","text":"TemporaryFile(/tmp/multipartBody8057163938924285709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_47_05_29110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e14439273bc07b8abb6354eae0baf99.jpg","text":"TemporaryFile(/tmp/multipartBody1848656839963299349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_46_05_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bc2ab57ae6b03c5faef468822d37293.jpg","text":"TemporaryFile(/tmp/multipartBody5582737427648846917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498347783,"filename":"image_07052026_11_43_06_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416868787","file1":"1416868786","file0":"1416868785","file4":"1416869327","file5":"1416869475","file3":"1416868951"},"map_files_photo_id_array":[{"photo_id":"1416869475","filename":"file5"},{"photo_id":"1416868787","filename":"file2"},{"photo_id":"1416869327","filename":"file4"},{"photo_id":"1416868786","filename":"file1"},{"photo_id":"1416868785","filename":"file0"},{"photo_id":"1416868951","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416868785":["hashtag1","hashtag2"]},{"1416868787":["hashtag1","hashtag2"]},{"1416869327":["hashtag1","hashtag2"]},{"1416868786":["hashtag1","hashtag2"]},{"1416868951":["hashtag1","hashtag2"]},{"1416869475":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416868785, 1416868787, 1416869327, 1416868786, 1416868951, 1416869475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34796643257141 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:19:04.448148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/14/image_11052026_13_15_14_29161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/14/image_11052026_13_15_14_29161.jpg
2026-05-11 13:19:04.857783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/14/image_11052026_13_15_14_29161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/14/image_11052026_13_15_14_29161.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1480739116668701 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869478"],"photo_id":"1416869478","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fedaff784723681415ba7f97cb2a8f42.jpg","text":"TemporaryFile(/tmp/multipartBody4803556674734997709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498405999,"filename":"image_11052026_13_15_14_29161.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416869478"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416869478"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.304458141326904 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:20:03.456108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/18/image_11052026_13_18_44_30247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/18/image_11052026_13_18_44_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869823"],"photo_id":"1416869823","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73f577e9a2e4f258c606b5d2d47b35de.jpg","text":"TemporaryFile(/tmp/multipartBody4081220176727210803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498464579,"filename":"image_11052026_13_18_44_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416869823"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416869823"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.510417699813843 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:21:03.718964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/19/image_11052026_13_20_14_30195.jpg', '/home/pi/Desktop/images/11052026/13/18/image_11052026_13_19_14_30272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/19/image_11052026_13_20_14_30195.jpg
/home/pi/Desktop/images/11052026/13/18/image_11052026_13_19_14_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869826","1416869828"],"photo_ids_order":["1416869826","1416869828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64a086729371f868c81c7ac87f2b8953.jpg","text":"TemporaryFile(/tmp/multipartBody8990727796967171189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498525270,"filename":"image_11052026_13_20_14_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb3671abbb1ca187b174ce72e6841bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8547747799743976595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498525270,"filename":"image_11052026_13_19_14_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416869828","file0":"1416869826"},"map_files_photo_id_array":[{"photo_id":"1416869828","filename":"file1"},{"photo_id":"1416869826","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416869826":["hashtag1","hashtag2"]},{"1416869828":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416869826, 1416869828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.84353733062744 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:22:02.996220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/20/image_11052026_13_20_44_29137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/20/image_11052026_13_20_44_29137.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869834"],"photo_id":"1416869834","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88ec150521a0cc1f648450af4730e6b7.jpg","text":"TemporaryFile(/tmp/multipartBody6760888833718446266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498584224,"filename":"image_11052026_13_20_44_29137.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416869834"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416869834"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.252349376678467 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:23:04.379460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/22/image_11052026_13_23_14_30189.jpg', '/home/pi/Desktop/images/11052026/13/22/image_11052026_13_22_44_30171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/22/image_11052026_13_23_14_30189.jpg
/home/pi/Desktop/images/11052026/13/22/image_11052026_13_22_44_30171.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869837","1416869836"],"photo_ids_order":["1416869836","1416869837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/803319b2a70287db3c65c420ceb60b20.jpg","text":"TemporaryFile(/tmp/multipartBody3498610460900470389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498645955,"filename":"image_11052026_13_22_44_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9740ba9b9ddf53c9ca5197ff5b548b2.jpg","text":"TemporaryFile(/tmp/multipartBody4261904361262052384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498645955,"filename":"image_11052026_13_23_14_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416869837","file0":"1416869836"},"map_files_photo_id_array":[{"photo_id":"1416869837","filename":"file1"},{"photo_id":"1416869836","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416869837":["hashtag1","hashtag2"]},{"1416869836":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416869837, 1416869836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.65936541557312 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:24:03.622722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/42/image_07052026_11_42_36_30245.jpg', '/home/pi/Desktop/images/07052026/11/41/image_07052026_11_42_05_30228.jpg', '/home/pi/Desktop/images/07052026/11/41/image_07052026_11_41_35_29262.jpg', '/home/pi/Desktop/images/07052026/11/40/image_07052026_11_41_06_30297.jpg', '/home/pi/Desktop/images/07052026/11/40/image_07052026_11_40_35_30233.jpg', '/home/pi/Desktop/images/07052026/11/38/image_07052026_11_38_36_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/42/image_07052026_11_42_36_30245.jpg
/home/pi/Desktop/images/07052026/11/41/image_07052026_11_42_05_30228.jpg
/home/pi/Desktop/images/07052026/11/41/image_07052026_11_41_35_29262.jpg
/home/pi/Desktop/images/07052026/11/40/image_07052026_11_41_06_30297.jpg
/home/pi/Desktop/images/07052026/11/40/image_07052026_11_40_35_30233.jpg
/home/pi/Desktop/images/07052026/11/38/image_07052026_11_38_36_30292.jpg
2026-05-11 13:24:03.651561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/08/image_07052026_02_09_06_30362.jpg', '/home/pi/Desktop/images/07052026/02/09/image_07052026_02_09_35_29367.jpg', '/home/pi/Desktop/images/07052026/02/09/image_07052026_02_10_05_30322.jpg', '/home/pi/Desktop/images/07052026/02/11/image_07052026_02_12_06_30277.jpg', '/home/pi/Desktop/images/07052026/02/12/image_07052026_02_12_35_29335.jpg', '/home/pi/Desktop/images/07052026/02/15/image_07052026_02_15_35_30406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/08/image_07052026_02_09_06_30362.jpg
/home/pi/Desktop/images/07052026/02/09/image_07052026_02_09_35_29367.jpg
/home/pi/Desktop/images/07052026/02/09/image_07052026_02_10_05_30322.jpg
/home/pi/Desktop/images/07052026/02/11/image_07052026_02_12_06_30277.jpg
/home/pi/Desktop/images/07052026/02/12/image_07052026_02_12_35_29335.jpg
/home/pi/Desktop/images/07052026/02/15/image_07052026_02_15_35_30406.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869859","1416869850","1416869861","1416869855","1416869853","1416869847"],"photo_ids_order":["1416869847","1416869850","1416869853","1416869855","1416869859","1416869861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56af6122a27d8322f1da58579a055389.jpg","text":"TemporaryFile(/tmp/multipartBody8896839852261965649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_12_35_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bbc5500f36b6d0113d34ded7d9b7f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody4510848558752694584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_09_35_29367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/907ed4f1fc1dcf05bd3c2f6869adb42b.jpg","text":"TemporaryFile(/tmp/multipartBody1205248113072665838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_15_35_30406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4efe9fe38487b6934f12d87efd4e90cb.jpg","text":"TemporaryFile(/tmp/multipartBody4938160562978764448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_12_06_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc1527fd888c8c9ff12f74a9effafe85.jpg","text":"TemporaryFile(/tmp/multipartBody6603017406903746787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_10_05_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2e80a055817fc3b04f54a88d48aa1eb.jpg","text":"TemporaryFile(/tmp/multipartBody3710438764858620073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498709169,"filename":"image_07052026_02_09_06_30362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416869853","file1":"1416869850","file0":"1416869847","file4":"1416869859","file5":"1416869861","file3":"1416869855"},"map_files_photo_id_array":[{"photo_id":"1416869861","filename":"file5"},{"photo_id":"1416869853","filename":"file2"},{"photo_id":"1416869859","filename":"file4"},{"photo_id":"1416869850","filename":"file1"},{"photo_id":"1416869847","filename":"file0"},{"photo_id":"1416869855","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416869859":["hashtag1","hashtag2"]},{"1416869850":["hashtag1","hashtag2"]},{"1416869861":["hashtag1","hashtag2"]},{"1416869855":["hashtag1","hashtag2"]},{"1416869853":["hashtag1","hashtag2"]},{"1416869847":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416869859, 1416869850, 1416869861, 1416869855, 1416869853, 1416869847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41228771209717 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869862","1416869856","1416869858","1416869852","1416869846","1416869849"],"photo_ids_order":["1416869846","1416869849","1416869852","1416869856","1416869858","1416869862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f4e95abf2acd942dd16c3e0f6535880.jpg","text":"TemporaryFile(/tmp/multipartBody2036307810856610616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_38_36_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b64e1fee6b87f7e9ff079fa9d0d9f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody761847367708025474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_41_06_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e347eec11d9d0a83519bab48ca563b7.jpg","text":"TemporaryFile(/tmp/multipartBody3898323624857594483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_40_35_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54a8dc5c39a5c3d59761a8009249cf6c.jpg","text":"TemporaryFile(/tmp/multipartBody6947619656230096289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_41_35_29262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b967d3387c0fd40f88146e7cfddee508.jpg","text":"TemporaryFile(/tmp/multipartBody5023733013426306035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_42_36_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38ee09fb0228e4f939114ebe2532db01.jpg","text":"TemporaryFile(/tmp/multipartBody5772523028064984649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498708661,"filename":"image_07052026_11_42_05_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416869852","file1":"1416869849","file0":"1416869846","file4":"1416869858","file5":"1416869862","file3":"1416869856"},"map_files_photo_id_array":[{"photo_id":"1416869862","filename":"file5"},{"photo_id":"1416869852","filename":"file2"},{"photo_id":"1416869858","filename":"file4"},{"photo_id":"1416869849","filename":"file1"},{"photo_id":"1416869846","filename":"file0"},{"photo_id":"1416869856","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416869862":["hashtag1","hashtag2"]},{"1416869856":["hashtag1","hashtag2"]},{"1416869858":["hashtag1","hashtag2"]},{"1416869852":["hashtag1","hashtag2"]},{"1416869846":["hashtag1","hashtag2"]},{"1416869849":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416869862, 1416869856, 1416869858, 1416869852, 1416869846, 1416869849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.695379972457886 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:25:03.963193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/24/image_11052026_13_25_14_30344.jpg', '/home/pi/Desktop/images/11052026/13/23/image_11052026_13_24_14_30103.jpg', '/home/pi/Desktop/images/11052026/13/23/image_11052026_13_23_44_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/24/image_11052026_13_25_14_30344.jpg
/home/pi/Desktop/images/11052026/13/23/image_11052026_13_24_14_30103.jpg
/home/pi/Desktop/images/11052026/13/23/image_11052026_13_23_44_29112.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8938813209533691 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:26:03.437676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/25/image_11052026_13_26_13_29097.jpg', '/home/pi/Desktop/images/11052026/13/25/image_11052026_13_25_44_30175.jpg', '/home/pi/Desktop/images/11052026/13/24/image_11052026_13_25_14_30344.jpg', '/home/pi/Desktop/images/11052026/13/23/image_11052026_13_24_14_30103.jpg', '/home/pi/Desktop/images/11052026/13/23/image_11052026_13_23_44_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/25/image_11052026_13_26_13_29097.jpg
/home/pi/Desktop/images/11052026/13/25/image_11052026_13_25_44_30175.jpg
/home/pi/Desktop/images/11052026/13/24/image_11052026_13_25_14_30344.jpg
/home/pi/Desktop/images/11052026/13/23/image_11052026_13_24_14_30103.jpg
/home/pi/Desktop/images/11052026/13/23/image_11052026_13_23_44_29112.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416869876","1416869873","1416869875","1416869872","1416869874"],"photo_ids_order":["1416869872","1416869873","1416869874","1416869875","1416869876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af22b9170239761fc3adc49d40a54a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8066564403983107888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498825948,"filename":"image_11052026_13_23_44_29112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d0da983a2b6fce1189c1e4967f4a9470.jpg","text":"TemporaryFile(/tmp/multipartBody2896873180175805223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498825948,"filename":"image_11052026_13_25_44_30175.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fde14526a6522e701f2c02987c78db0.jpg","text":"TemporaryFile(/tmp/multipartBody1042511876792778052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498825948,"filename":"image_11052026_13_24_14_30103.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/884aca36e6ac0c39f7f214ae99c0f40f.jpg","text":"TemporaryFile(/tmp/multipartBody6860157581374138336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498825948,"filename":"image_11052026_13_26_13_29097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfd3a4add213b8f74d856ccd3d87f57e.jpg","text":"TemporaryFile(/tmp/multipartBody502346510449736624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498825948,"filename":"image_11052026_13_25_14_30344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416869874","file1":"1416869873","file0":"1416869872","file4":"1416869876","file3":"1416869875"},"map_files_photo_id_array":[{"photo_id":"1416869874","filename":"file2"},{"photo_id":"1416869876","filename":"file4"},{"photo_id":"1416869873","filename":"file1"},{"photo_id":"1416869872","filename":"file0"},{"photo_id":"1416869875","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416869876":["hashtag1","hashtag2"]},{"1416869873":["hashtag1","hashtag2"]},{"1416869875":["hashtag1","hashtag2"]},{"1416869872":["hashtag1","hashtag2"]},{"1416869874":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416869876, 1416869873, 1416869875, 1416869872, 1416869874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.79395031929016 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:27:03.319758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/37/image_07052026_11_38_05_30275.jpg', '/home/pi/Desktop/images/07052026/11/36/image_07052026_11_37_05_29199.jpg', '/home/pi/Desktop/images/07052026/11/36/image_07052026_11_36_36_30234.jpg', '/home/pi/Desktop/images/07052026/11/34/image_07052026_11_35_05_29237.jpg', '/home/pi/Desktop/images/07052026/11/32/image_07052026_11_32_36_30345.jpg', '/home/pi/Desktop/images/07052026/11/31/image_07052026_11_32_05_30234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/37/image_07052026_11_38_05_30275.jpg
/home/pi/Desktop/images/07052026/11/36/image_07052026_11_37_05_29199.jpg
/home/pi/Desktop/images/07052026/11/36/image_07052026_11_36_36_30234.jpg
/home/pi/Desktop/images/07052026/11/34/image_07052026_11_35_05_29237.jpg
/home/pi/Desktop/images/07052026/11/32/image_07052026_11_32_36_30345.jpg
/home/pi/Desktop/images/07052026/11/31/image_07052026_11_32_05_30234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416871614","1416871448","1416871616","1416870845","1416871109","1416871612"],"photo_ids_order":["1416870845","1416871109","1416871448","1416871612","1416871614","1416871616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57eb0516b00397be0d5437526b4f7c87.jpg","text":"TemporaryFile(/tmp/multipartBody9136107323915469534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_32_36_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ad8db66dadc8771defd61c606a62620.jpg","text":"TemporaryFile(/tmp/multipartBody7584856887217326326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_36_36_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cedc6187fd1efed06602467d964c1a55.jpg","text":"TemporaryFile(/tmp/multipartBody2280782065771416257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_32_05_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2b67a6f5f7e0c00444ee668b283430e.jpg","text":"TemporaryFile(/tmp/multipartBody3894881219416299482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_38_05_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f167683c501b6e4cf7c509aedad40cf.jpg","text":"TemporaryFile(/tmp/multipartBody697024453986004342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_37_05_29199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6595172e1eaacbee148d9ccd5b9a0acf.jpg","text":"TemporaryFile(/tmp/multipartBody2508698831504487605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498886554,"filename":"image_07052026_11_35_05_29237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416871448","file1":"1416871109","file0":"1416870845","file4":"1416871614","file5":"1416871616","file3":"1416871612"},"map_files_photo_id_array":[{"photo_id":"1416871616","filename":"file5"},{"photo_id":"1416871448","filename":"file2"},{"photo_id":"1416871614","filename":"file4"},{"photo_id":"1416871109","filename":"file1"},{"photo_id":"1416870845","filename":"file0"},{"photo_id":"1416871612","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416871614":["hashtag1","hashtag2"]},{"1416871448":["hashtag1","hashtag2"]},{"1416871616":["hashtag1","hashtag2"]},{"1416870845":["hashtag1","hashtag2"]},{"1416871109":["hashtag1","hashtag2"]},{"1416871612":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416871614, 1416871448, 1416871616, 1416870845, 1416871109, 1416871612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91564631462097 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:28:02.966228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/27/image_11052026_13_28_14_29052.jpg', '/home/pi/Desktop/images/11052026/13/27/image_11052026_13_27_44_30241.jpg', '/home/pi/Desktop/images/11052026/13/26/image_11052026_13_27_14_30372.jpg', '/home/pi/Desktop/images/11052026/13/26/image_11052026_13_26_44_30343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/27/image_11052026_13_28_14_29052.jpg
/home/pi/Desktop/images/11052026/13/27/image_11052026_13_27_44_30241.jpg
/home/pi/Desktop/images/11052026/13/26/image_11052026_13_27_14_30372.jpg
/home/pi/Desktop/images/11052026/13/26/image_11052026_13_26_44_30343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416871620","1416871619","1416871621","1416871618"],"photo_ids_order":["1416871618","1416871619","1416871620","1416871621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9566c260a747c1f477641edcd3bad6de.jpg","text":"TemporaryFile(/tmp/multipartBody230225494052700621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498945325,"filename":"image_11052026_13_27_14_30372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1406650c87669325834c380f53780c67.jpg","text":"TemporaryFile(/tmp/multipartBody2206449061711087779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498945325,"filename":"image_11052026_13_27_44_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7812ea2a28de7f1f6d7d245e60e4ff59.jpg","text":"TemporaryFile(/tmp/multipartBody7160626734810349318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498945325,"filename":"image_11052026_13_26_44_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/304907006a86f56af7dcdafdba6d5be6.jpg","text":"TemporaryFile(/tmp/multipartBody5714909590390868064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778498945325,"filename":"image_11052026_13_28_14_29052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416871620","file1":"1416871619","file0":"1416871618","file3":"1416871621"},"map_files_photo_id_array":[{"photo_id":"1416871620","filename":"file2"},{"photo_id":"1416871619","filename":"file1"},{"photo_id":"1416871618","filename":"file0"},{"photo_id":"1416871621","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416871620":["hashtag1","hashtag2"]},{"1416871619":["hashtag1","hashtag2"]},{"1416871621":["hashtag1","hashtag2"]},{"1416871618":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416871620, 1416871619, 1416871621, 1416871618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.181934595108032 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:29:04.298300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/15/image_07052026_02_16_06_30441.jpg', '/home/pi/Desktop/images/07052026/02/16/image_07052026_02_17_05_30315.jpg', '/home/pi/Desktop/images/07052026/02/17/image_07052026_02_17_36_30392.jpg', '/home/pi/Desktop/images/07052026/02/18/image_07052026_02_18_35_30286.jpg', '/home/pi/Desktop/images/07052026/02/20/image_07052026_02_20_36_30353.jpg', '/home/pi/Desktop/images/07052026/02/20/image_07052026_02_21_06_30260.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/15/image_07052026_02_16_06_30441.jpg
/home/pi/Desktop/images/07052026/02/16/image_07052026_02_17_05_30315.jpg
/home/pi/Desktop/images/07052026/02/17/image_07052026_02_17_36_30392.jpg
/home/pi/Desktop/images/07052026/02/18/image_07052026_02_18_35_30286.jpg
/home/pi/Desktop/images/07052026/02/20/image_07052026_02_20_36_30353.jpg
/home/pi/Desktop/images/07052026/02/20/image_07052026_02_21_06_30260.jpg
2026-05-11 13:29:04.460070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/31/image_07052026_11_31_35_30197.jpg', '/home/pi/Desktop/images/07052026/11/30/image_07052026_11_31_05_29232.jpg', '/home/pi/Desktop/images/07052026/11/30/image_07052026_11_30_36_30244.jpg', '/home/pi/Desktop/images/07052026/11/29/image_07052026_11_30_05_30116.jpg', '/home/pi/Desktop/images/07052026/11/26/image_07052026_11_26_36_30240.jpg', '/home/pi/Desktop/images/07052026/11/24/image_07052026_11_24_36_30243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/31/image_07052026_11_31_35_30197.jpg
/home/pi/Desktop/images/07052026/11/30/image_07052026_11_31_05_29232.jpg
/home/pi/Desktop/images/07052026/11/30/image_07052026_11_30_36_30244.jpg
/home/pi/Desktop/images/07052026/11/29/image_07052026_11_30_05_30116.jpg
/home/pi/Desktop/images/07052026/11/26/image_07052026_11_26_36_30240.jpg
/home/pi/Desktop/images/07052026/11/24/image_07052026_11_24_36_30243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872144","1416872147","1416872075","1416872141","1416872134","1416872079"],"photo_ids_order":["1416872075","1416872079","1416872134","1416872141","1416872144","1416872147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e7aa081aea0e0016766ee58fe1ff9f7.jpg","text":"TemporaryFile(/tmp/multipartBody351021728584158438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_20_36_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee825686a3a29732b52060278ff956eb.jpg","text":"TemporaryFile(/tmp/multipartBody129368345332075943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_21_06_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be4f248bb763bf362fee907f923eb9b4.jpg","text":"TemporaryFile(/tmp/multipartBody6360643775928121060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_16_06_30441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c25ce623ae117a0bdabb17101ce03c44.jpg","text":"TemporaryFile(/tmp/multipartBody9023321929498551313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_18_35_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2724c1e47c85e5ac959214fd55e44b19.jpg","text":"TemporaryFile(/tmp/multipartBody3720060225811558426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_17_36_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47528c6e34c30d03929c5acb72d39af8.jpg","text":"TemporaryFile(/tmp/multipartBody2079505843779075418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499011580,"filename":"image_07052026_02_17_05_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872134","file1":"1416872079","file0":"1416872075","file4":"1416872144","file5":"1416872147","file3":"1416872141"},"map_files_photo_id_array":[{"photo_id":"1416872147","filename":"file5"},{"photo_id":"1416872134","filename":"file2"},{"photo_id":"1416872144","filename":"file4"},{"photo_id":"1416872079","filename":"file1"},{"photo_id":"1416872075","filename":"file0"},{"photo_id":"1416872141","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872144":["hashtag1","hashtag2"]},{"1416872147":["hashtag1","hashtag2"]},{"1416872075":["hashtag1","hashtag2"]},{"1416872141":["hashtag1","hashtag2"]},{"1416872134":["hashtag1","hashtag2"]},{"1416872079":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872144, 1416872147, 1416872075, 1416872141, 1416872134, 1416872079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.11799383163452 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872112","1416872148","1416872076","1416872142","1416872145","1416872139"],"photo_ids_order":["1416872076","1416872112","1416872139","1416872142","1416872145","1416872148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35eaf8bbebc99223b20c3b4bbd21d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2316110538751089062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_31_05_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04b7bf4f32889dad39ba9ad8e283e677.jpg","text":"TemporaryFile(/tmp/multipartBody2167107892666047300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_24_36_30243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1aa5cef278f98819dd85d6b3da8b73fc.jpg","text":"TemporaryFile(/tmp/multipartBody6753695565990549104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_31_35_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/498344ed5d0a2a4254b5e0ecf7a1e19d.jpg","text":"TemporaryFile(/tmp/multipartBody2589311235335291554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_30_05_30116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c17496dea79da624851e118c35478473.jpg","text":"TemporaryFile(/tmp/multipartBody6206459885156055583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_26_36_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a138f58c812b5b1507782a12bea11660.jpg","text":"TemporaryFile(/tmp/multipartBody6569005969156391872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499012228,"filename":"image_07052026_11_30_36_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872139","file1":"1416872112","file0":"1416872076","file4":"1416872145","file5":"1416872148","file3":"1416872142"},"map_files_photo_id_array":[{"photo_id":"1416872148","filename":"file5"},{"photo_id":"1416872139","filename":"file2"},{"photo_id":"1416872145","filename":"file4"},{"photo_id":"1416872112","filename":"file1"},{"photo_id":"1416872076","filename":"file0"},{"photo_id":"1416872142","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872112":["hashtag1","hashtag2"]},{"1416872148":["hashtag1","hashtag2"]},{"1416872076":["hashtag1","hashtag2"]},{"1416872142":["hashtag1","hashtag2"]},{"1416872145":["hashtag1","hashtag2"]},{"1416872139":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872112, 1416872148, 1416872076, 1416872142, 1416872145, 1416872139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.49540591239929 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:30:03.403463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/28/image_11052026_13_29_14_30211.jpg', '/home/pi/Desktop/images/11052026/13/28/image_11052026_13_28_44_30223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/28/image_11052026_13_29_14_30211.jpg
/home/pi/Desktop/images/11052026/13/28/image_11052026_13_28_44_30223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872153","1416872155"],"photo_ids_order":["1416872153","1416872155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5edd84b39f10ec73d15ab1440265dfaf.jpg","text":"TemporaryFile(/tmp/multipartBody8804667522790598548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499064985,"filename":"image_11052026_13_29_14_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0967ee2c78504817ebebfc0aeb1f249.jpg","text":"TemporaryFile(/tmp/multipartBody3016999800995648443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778499064985,"filename":"image_11052026_13_28_44_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872155","file0":"1416872153"},"map_files_photo_id_array":[{"photo_id":"1416872155","filename":"file1"},{"photo_id":"1416872153","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872153":["hashtag1","hashtag2"]},{"1416872155":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872153, 1416872155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.64616584777832 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:31:03.829209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/29/image_11052026_13_30_14_30105.jpg', '/home/pi/Desktop/images/11052026/13/29/image_11052026_13_29_44_30270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/29/image_11052026_13_30_14_30105.jpg
/home/pi/Desktop/images/11052026/13/29/image_11052026_13_29_44_30270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 13:59:04.918774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/56/image_11052026_13_57_14_30288.jpg', '/home/pi/Desktop/images/11052026/13/56/image_11052026_13_56_44_29220.jpg', '/home/pi/Desktop/images/11052026/13/55/image_11052026_13_56_14_30172.jpg', '/home/pi/Desktop/images/11052026/13/55/image_11052026_13_55_44_30326.jpg', '/home/pi/Desktop/images/11052026/13/54/image_11052026_13_55_14_30270.jpg', '/home/pi/Desktop/images/11052026/13/54/image_11052026_13_54_44_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/56/image_11052026_13_57_14_30288.jpg
/home/pi/Desktop/images/11052026/13/56/image_11052026_13_56_44_29220.jpg
/home/pi/Desktop/images/11052026/13/55/image_11052026_13_56_14_30172.jpg
/home/pi/Desktop/images/11052026/13/55/image_11052026_13_55_44_30326.jpg
/home/pi/Desktop/images/11052026/13/54/image_11052026_13_55_14_30270.jpg
/home/pi/Desktop/images/11052026/13/54/image_11052026_13_54_44_30211.jpg
2026-05-11 13:59:04.978313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/29/image_11052026_13_29_44_30270.jpg', '/home/pi/Desktop/images/11052026/13/29/image_11052026_13_30_14_30105.jpg', '/home/pi/Desktop/images/11052026/13/30/image_11052026_13_30_43_29079.jpg', '/home/pi/Desktop/images/11052026/13/30/image_11052026_13_31_14_30113.jpg', '/home/pi/Desktop/images/11052026/13/31/image_11052026_13_31_44_30195.jpg', '/home/pi/Desktop/images/11052026/13/31/image_11052026_13_32_14_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/29/image_11052026_13_29_44_30270.jpg
/home/pi/Desktop/images/11052026/13/29/image_11052026_13_30_14_30105.jpg
/home/pi/Desktop/images/11052026/13/30/image_11052026_13_30_43_29079.jpg
/home/pi/Desktop/images/11052026/13/30/image_11052026_13_31_14_30113.jpg
/home/pi/Desktop/images/11052026/13/31/image_11052026_13_31_44_30195.jpg
/home/pi/Desktop/images/11052026/13/31/image_11052026_13_32_14_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872321","1416872318","1416872311","1416872314","1416872308","1416872316"],"photo_ids_order":["1416872308","1416872311","1416872314","1416872316","1416872318","1416872321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/404cdfa38d16c2b3ca184c6f677162e7.jpg","text":"TemporaryFile(/tmp/multipartBody9202581958873199456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_54_44_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6db1d585f2f91822ea3e2a64cd01c005.jpg","text":"TemporaryFile(/tmp/multipartBody2161474685344135942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_55_14_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3a5465329efec945a668eb883634aeb.jpg","text":"TemporaryFile(/tmp/multipartBody3878673210614062583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_56_44_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a7c3ad4708cb253d317ed138fd59eda.jpg","text":"TemporaryFile(/tmp/multipartBody5698150888150927394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_56_14_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b56b2c1483e88c16849485f2bb0e11d7.jpg","text":"TemporaryFile(/tmp/multipartBody8322057259945948509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_57_14_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c72839cd59bfe26d640c0c941b160d0.jpg","text":"TemporaryFile(/tmp/multipartBody6790404638085138575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500809880,"filename":"image_11052026_13_55_44_30326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872314","file1":"1416872311","file0":"1416872308","file4":"1416872318","file5":"1416872321","file3":"1416872316"},"map_files_photo_id_array":[{"photo_id":"1416872321","filename":"file5"},{"photo_id":"1416872314","filename":"file2"},{"photo_id":"1416872318","filename":"file4"},{"photo_id":"1416872311","filename":"file1"},{"photo_id":"1416872308","filename":"file0"},{"photo_id":"1416872316","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872321":["hashtag1","hashtag2"]},{"1416872318":["hashtag1","hashtag2"]},{"1416872311":["hashtag1","hashtag2"]},{"1416872314":["hashtag1","hashtag2"]},{"1416872308":["hashtag1","hashtag2"]},{"1416872316":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872321, 1416872318, 1416872311, 1416872314, 1416872308, 1416872316)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872319","1416872312","1416872315","1416872309","1416872313","1416872322"],"photo_ids_order":["1416872309","1416872312","1416872313","1416872315","1416872319","1416872322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5e5a88430dcf9323016c612ee13dde0.jpg","text":"TemporaryFile(/tmp/multipartBody1032299072440029733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_31_44_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32768322e3db286ace8e54a5b456945f.jpg","text":"TemporaryFile(/tmp/multipartBody819719774293797053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_30_14_30105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a56efe01542b85bdd445db46fd59e45.jpg","text":"TemporaryFile(/tmp/multipartBody7451351705175363005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_31_14_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/003c9c80ce55715851768cf157f04355.jpg","text":"TemporaryFile(/tmp/multipartBody3018080006103828678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_29_44_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e242ec82ea5a18a41ce5d11c511da4c.jpg","text":"TemporaryFile(/tmp/multipartBody6443768728114930746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_30_43_29079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1861414755f9ffe33d883e74e8c5dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6496814508767055365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500810257,"filename":"image_11052026_13_32_14_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872313","file1":"1416872312","file0":"1416872309","file4":"1416872319","file5":"1416872322","file3":"1416872315"},"map_files_photo_id_array":[{"photo_id":"1416872322","filename":"file5"},{"photo_id":"1416872313","filename":"file2"},{"photo_id":"1416872319","filename":"file4"},{"photo_id":"1416872312","filename":"file1"},{"photo_id":"1416872309","filename":"file0"},{"photo_id":"1416872315","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872319":["hashtag1","hashtag2"]},{"1416872312":["hashtag1","hashtag2"]},{"1416872315":["hashtag1","hashtag2"]},{"1416872309":["hashtag1","hashtag2"]},{"1416872313":["hashtag1","hashtag2"]},{"1416872322":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872319, 1416872312, 1416872315, 1416872309, 1416872313, 1416872322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.0750834941864 secondes ---
uploaded 6 photos
time to upload: 45.05377912521362 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:00:03.366039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/57/image_11052026_13_57_44_30257.jpg', '/home/pi/Desktop/images/11052026/13/53/image_11052026_13_54_13_29084.jpg', '/home/pi/Desktop/images/11052026/13/53/image_11052026_13_53_44_30119.jpg', '/home/pi/Desktop/images/11052026/13/52/image_11052026_13_53_14_30201.jpg', '/home/pi/Desktop/images/11052026/13/52/image_11052026_13_52_44_30215.jpg', '/home/pi/Desktop/images/11052026/13/51/image_11052026_13_52_14_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/57/image_11052026_13_57_44_30257.jpg
/home/pi/Desktop/images/11052026/13/53/image_11052026_13_54_13_29084.jpg
/home/pi/Desktop/images/11052026/13/53/image_11052026_13_53_44_30119.jpg
/home/pi/Desktop/images/11052026/13/52/image_11052026_13_53_14_30201.jpg
/home/pi/Desktop/images/11052026/13/52/image_11052026_13_52_44_30215.jpg
/home/pi/Desktop/images/11052026/13/51/image_11052026_13_52_14_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872325","1416872333","1416872327","1416872335","1416872329","1416872331"],"photo_ids_order":["1416872325","1416872327","1416872329","1416872331","1416872333","1416872335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/248597d9d2d1283b5d27c12c1e1409ad.jpg","text":"TemporaryFile(/tmp/multipartBody7584258022184559332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_57_44_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d399aaf202bbd1ee0659b00b82447ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2627874435708082538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_52_44_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcb66bdfdb47a623db65c242b785397d.jpg","text":"TemporaryFile(/tmp/multipartBody79796154095244417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_54_13_29084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0c8763c4f8714327a4c893cd46f29928.jpg","text":"TemporaryFile(/tmp/multipartBody41320870346519793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_52_14_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/075b7c172e1ed2165d559c925a60d033.jpg","text":"TemporaryFile(/tmp/multipartBody8191569059363617587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_53_44_30119.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/067be48e0e5cd5d0fd786d831d157a54.jpg","text":"TemporaryFile(/tmp/multipartBody4425310474779058410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500866112,"filename":"image_11052026_13_53_14_30201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872329","file1":"1416872327","file0":"1416872325","file4":"1416872333","file5":"1416872335","file3":"1416872331"},"map_files_photo_id_array":[{"photo_id":"1416872335","filename":"file5"},{"photo_id":"1416872329","filename":"file2"},{"photo_id":"1416872333","filename":"file4"},{"photo_id":"1416872327","filename":"file1"},{"photo_id":"1416872325","filename":"file0"},{"photo_id":"1416872331","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872325":["hashtag1","hashtag2"]},{"1416872333":["hashtag1","hashtag2"]},{"1416872327":["hashtag1","hashtag2"]},{"1416872335":["hashtag1","hashtag2"]},{"1416872329":["hashtag1","hashtag2"]},{"1416872331":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872325, 1416872333, 1416872327, 1416872335, 1416872329, 1416872331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02673530578613 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:01:03.540278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/51/image_11052026_13_51_44_29189.jpg', '/home/pi/Desktop/images/11052026/13/50/image_11052026_13_51_14_30217.jpg', '/home/pi/Desktop/images/11052026/13/43/image_11052026_13_43_43_29021.jpg', '/home/pi/Desktop/images/11052026/13/39/image_11052026_13_40_14_30245.jpg', '/home/pi/Desktop/images/11052026/13/37/image_11052026_13_38_14_30242.jpg', '/home/pi/Desktop/images/11052026/13/36/image_11052026_13_37_14_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/51/image_11052026_13_51_44_29189.jpg
/home/pi/Desktop/images/11052026/13/50/image_11052026_13_51_14_30217.jpg
/home/pi/Desktop/images/11052026/13/43/image_11052026_13_43_43_29021.jpg
/home/pi/Desktop/images/11052026/13/39/image_11052026_13_40_14_30245.jpg
/home/pi/Desktop/images/11052026/13/37/image_11052026_13_38_14_30242.jpg
/home/pi/Desktop/images/11052026/13/36/image_11052026_13_37_14_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872342","1416872339","1416872338","1416872340","1416872343","1416872337"],"photo_ids_order":["1416872337","1416872338","1416872339","1416872340","1416872342","1416872343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8f6ef681e850d87a8045a248ea8292f.jpg","text":"TemporaryFile(/tmp/multipartBody1710064858531199108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_38_14_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6b8d4651578f1fde7d38a09d60d0322.jpg","text":"TemporaryFile(/tmp/multipartBody554641125137252695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_43_43_29021.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34c4c5aeadc0a760fcf5c01f3e9c22f6.jpg","text":"TemporaryFile(/tmp/multipartBody1450024971394480319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_51_14_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b00fcbebc2efcfdc5576fca45e22ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody8647493853105850566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_40_14_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f4041bac3d6b1cf8a8380e3b92d8011.jpg","text":"TemporaryFile(/tmp/multipartBody5685879917779310578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_37_14_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81c6ffd45771e0ca70fe96fbe0670224.jpg","text":"TemporaryFile(/tmp/multipartBody414337182182384779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500926419,"filename":"image_11052026_13_51_44_29189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872339","file1":"1416872338","file0":"1416872337","file4":"1416872342","file5":"1416872343","file3":"1416872340"},"map_files_photo_id_array":[{"photo_id":"1416872343","filename":"file5"},{"photo_id":"1416872339","filename":"file2"},{"photo_id":"1416872342","filename":"file4"},{"photo_id":"1416872338","filename":"file1"},{"photo_id":"1416872337","filename":"file0"},{"photo_id":"1416872340","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872342":["hashtag1","hashtag2"]},{"1416872339":["hashtag1","hashtag2"]},{"1416872338":["hashtag1","hashtag2"]},{"1416872340":["hashtag1","hashtag2"]},{"1416872343":["hashtag1","hashtag2"]},{"1416872337":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872342, 1416872339, 1416872338, 1416872340, 1416872343, 1416872337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.7166793346405 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:02:03.056668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/00/image_11052026_14_00_44_30322.jpg', '/home/pi/Desktop/images/11052026/13/35/image_11052026_13_36_13_29116.jpg', '/home/pi/Desktop/images/11052026/13/34/image_11052026_13_35_14_30198.jpg', '/home/pi/Desktop/images/11052026/13/34/image_11052026_13_34_44_30264.jpg', '/home/pi/Desktop/images/11052026/13/33/image_11052026_13_34_14_30170.jpg', '/home/pi/Desktop/images/11052026/13/33/image_11052026_13_33_44_29161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/00/image_11052026_14_00_44_30322.jpg
/home/pi/Desktop/images/11052026/13/35/image_11052026_13_36_13_29116.jpg
/home/pi/Desktop/images/11052026/13/34/image_11052026_13_35_14_30198.jpg
/home/pi/Desktop/images/11052026/13/34/image_11052026_13_34_44_30264.jpg
/home/pi/Desktop/images/11052026/13/33/image_11052026_13_34_14_30170.jpg
/home/pi/Desktop/images/11052026/13/33/image_11052026_13_33_44_29161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872351","1416872345","1416872354","1416872347","1416872355","1416872349"],"photo_ids_order":["1416872345","1416872347","1416872349","1416872351","1416872354","1416872355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99a34ccb6cb22fb2d521d4b2821d2ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6933304897955502679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_13_34_44_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09ab7f5ef2bb0c1f3033742661656e43.jpg","text":"TemporaryFile(/tmp/multipartBody921564431357038037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_14_00_44_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f10fcac9dbcad603198940069d0fc80b.jpg","text":"TemporaryFile(/tmp/multipartBody8006336151359171535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_13_34_14_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87d9718c18d1ea75000fe8b4e48f75ea.jpg","text":"TemporaryFile(/tmp/multipartBody3222048939239682053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_13_36_13_29116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c578794d9a3e1aaa780a38fe6ef57cb.jpg","text":"TemporaryFile(/tmp/multipartBody2364737326079657010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_13_33_44_29161.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d7641c4abc6b7660fb8f8eee1a9ab38.jpg","text":"TemporaryFile(/tmp/multipartBody4427666060208887768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778500985838,"filename":"image_11052026_13_35_14_30198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872349","file1":"1416872347","file0":"1416872345","file4":"1416872354","file5":"1416872355","file3":"1416872351"},"map_files_photo_id_array":[{"photo_id":"1416872355","filename":"file5"},{"photo_id":"1416872349","filename":"file2"},{"photo_id":"1416872354","filename":"file4"},{"photo_id":"1416872347","filename":"file1"},{"photo_id":"1416872345","filename":"file0"},{"photo_id":"1416872351","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872351":["hashtag1","hashtag2"]},{"1416872345":["hashtag1","hashtag2"]},{"1416872354":["hashtag1","hashtag2"]},{"1416872347":["hashtag1","hashtag2"]},{"1416872355":["hashtag1","hashtag2"]},{"1416872349":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872351, 1416872345, 1416872354, 1416872347, 1416872355, 1416872349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77581453323364 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:03:03.681600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/13/32/image_11052026_13_33_14_30191.jpg', '/home/pi/Desktop/images/11052026/13/32/image_11052026_13_32_44_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/13/32/image_11052026_13_33_14_30191.jpg
/home/pi/Desktop/images/11052026/13/32/image_11052026_13_32_44_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872357","1416872358"],"photo_ids_order":["1416872357","1416872358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48d33f2e725342ba8b085a72b676d770.jpg","text":"TemporaryFile(/tmp/multipartBody4506934797750457911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501045185,"filename":"image_11052026_13_33_14_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f41c807d13f03790142769681eea8ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6811267315148606590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501045185,"filename":"image_11052026_13_32_44_30259.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872358","file0":"1416872357"},"map_files_photo_id_array":[{"photo_id":"1416872358","filename":"file1"},{"photo_id":"1416872357","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872357":["hashtag1","hashtag2"]},{"1416872358":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872357, 1416872358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.163358211517334 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:04:03.389453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/23/image_07052026_11_24_05_30194.jpg', '/home/pi/Desktop/images/07052026/11/23/image_07052026_11_23_35_30216.jpg', '/home/pi/Desktop/images/07052026/11/22/image_07052026_11_23_05_29127.jpg', '/home/pi/Desktop/images/07052026/11/22/image_07052026_11_22_36_30219.jpg', '/home/pi/Desktop/images/07052026/11/21/image_07052026_11_22_06_30275.jpg', '/home/pi/Desktop/images/07052026/11/17/image_07052026_11_17_35_29227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/23/image_07052026_11_24_05_30194.jpg
/home/pi/Desktop/images/07052026/11/23/image_07052026_11_23_35_30216.jpg
/home/pi/Desktop/images/07052026/11/22/image_07052026_11_23_05_29127.jpg
/home/pi/Desktop/images/07052026/11/22/image_07052026_11_22_36_30219.jpg
/home/pi/Desktop/images/07052026/11/21/image_07052026_11_22_06_30275.jpg
/home/pi/Desktop/images/07052026/11/17/image_07052026_11_17_35_29227.jpg
2026-05-11 14:04:03.738263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg', '/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg', '/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg', '/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg
/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg
/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.845049858093262 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872375","1416872369","1416872372","1416872377","1416872362","1416872364"],"photo_ids_order":["1416872362","1416872364","1416872369","1416872372","1416872375","1416872377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af38524704f5e14abad90a9c9252019f.jpg","text":"TemporaryFile(/tmp/multipartBody7913152832792139609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_22_06_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b1bf0eb946fe792a0c817558c82d9340.jpg","text":"TemporaryFile(/tmp/multipartBody6621549213025032336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_23_05_29127.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb95b20721fa047a72bdce901dc4a8bd.jpg","text":"TemporaryFile(/tmp/multipartBody3686961369454439060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_22_36_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7233435b4055b3a75d5d8dd8307a966.jpg","text":"TemporaryFile(/tmp/multipartBody6381881731041474405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_17_35_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a01bb939f3ed254ae086913384c36de.jpg","text":"TemporaryFile(/tmp/multipartBody6010493725592662695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_24_05_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6dd4ded927bc44235d278f1747f95ae.jpg","text":"TemporaryFile(/tmp/multipartBody1694925806091561149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501109167,"filename":"image_07052026_11_23_35_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872369","file1":"1416872364","file0":"1416872362","file4":"1416872375","file5":"1416872377","file3":"1416872372"},"map_files_photo_id_array":[{"photo_id":"1416872377","filename":"file5"},{"photo_id":"1416872369","filename":"file2"},{"photo_id":"1416872375","filename":"file4"},{"photo_id":"1416872364","filename":"file1"},{"photo_id":"1416872362","filename":"file0"},{"photo_id":"1416872372","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872375":["hashtag1","hashtag2"]},{"1416872369":["hashtag1","hashtag2"]},{"1416872372":["hashtag1","hashtag2"]},{"1416872377":["hashtag1","hashtag2"]},{"1416872362":["hashtag1","hashtag2"]},{"1416872364":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872375, 1416872369, 1416872372, 1416872377, 1416872362, 1416872364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.431413888931274 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:05:03.778221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/15/image_07052026_11_16_05_30264.jpg', '/home/pi/Desktop/images/07052026/11/14/image_07052026_11_14_36_30378.jpg', '/home/pi/Desktop/images/07052026/11/13/image_07052026_11_14_05_30224.jpg', '/home/pi/Desktop/images/07052026/11/13/image_07052026_11_13_35_30237.jpg', '/home/pi/Desktop/images/07052026/11/12/image_07052026_11_13_05_29167.jpg', '/home/pi/Desktop/images/07052026/11/10/image_07052026_11_10_36_30383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/15/image_07052026_11_16_05_30264.jpg
/home/pi/Desktop/images/07052026/11/14/image_07052026_11_14_36_30378.jpg
/home/pi/Desktop/images/07052026/11/13/image_07052026_11_14_05_30224.jpg
/home/pi/Desktop/images/07052026/11/13/image_07052026_11_13_35_30237.jpg
/home/pi/Desktop/images/07052026/11/12/image_07052026_11_13_05_29167.jpg
/home/pi/Desktop/images/07052026/11/10/image_07052026_11_10_36_30383.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872387","1416872390","1416872384","1416872386","1416872385","1416872388"],"photo_ids_order":["1416872384","1416872385","1416872386","1416872387","1416872388","1416872390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7a96ec0c22cd323bc1edaa91e0cabc8.jpg","text":"TemporaryFile(/tmp/multipartBody878376445648316932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_13_35_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d2d26b49961e967161868a3ecf5649d.jpg","text":"TemporaryFile(/tmp/multipartBody682651364311469842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_10_36_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/398d5aa870099a3533c6b50a031d3995.jpg","text":"TemporaryFile(/tmp/multipartBody7141119296051455805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_16_05_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/370c61e410b2c594d770d82d7522bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody8573742457696486083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_14_05_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/beb79dcb12e88f3c7913806e91f4f2e8.jpg","text":"TemporaryFile(/tmp/multipartBody8261142042921028738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_14_36_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c5a7137400a6fe8ff9a005cfbe926f6.jpg","text":"TemporaryFile(/tmp/multipartBody6759536881494323975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501167684,"filename":"image_07052026_11_13_05_29167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872386","file1":"1416872385","file0":"1416872384","file4":"1416872388","file5":"1416872390","file3":"1416872387"},"map_files_photo_id_array":[{"photo_id":"1416872390","filename":"file5"},{"photo_id":"1416872386","filename":"file2"},{"photo_id":"1416872388","filename":"file4"},{"photo_id":"1416872385","filename":"file1"},{"photo_id":"1416872384","filename":"file0"},{"photo_id":"1416872387","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872387":["hashtag1","hashtag2"]},{"1416872390":["hashtag1","hashtag2"]},{"1416872384":["hashtag1","hashtag2"]},{"1416872386":["hashtag1","hashtag2"]},{"1416872385":["hashtag1","hashtag2"]},{"1416872388":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872387, 1416872390, 1416872384, 1416872386, 1416872385, 1416872388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84292554855347 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:06:03.652843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/00/image_11052026_14_01_14_30258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/00/image_11052026_14_01_14_30258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872392"],"photo_id":"1416872392","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e47f3192f4cd503aadbe75857adc682b.jpg","text":"TemporaryFile(/tmp/multipartBody6384778048953497199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501224724,"filename":"image_11052026_14_01_14_30258.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872392"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872392"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.053041458129883 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:07:04.168382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/09/image_07052026_11_10_05_30334.jpg', '/home/pi/Desktop/images/07052026/11/06/image_07052026_11_06_35_30194.jpg', '/home/pi/Desktop/images/07052026/11/04/image_07052026_11_04_35_30220.jpg', '/home/pi/Desktop/images/07052026/11/03/image_07052026_11_04_05_29273.jpg', '/home/pi/Desktop/images/07052026/11/03/image_07052026_11_03_36_30251.jpg', '/home/pi/Desktop/images/07052026/11/02/image_07052026_11_03_05_30221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/09/image_07052026_11_10_05_30334.jpg
/home/pi/Desktop/images/07052026/11/06/image_07052026_11_06_35_30194.jpg
/home/pi/Desktop/images/07052026/11/04/image_07052026_11_04_35_30220.jpg
/home/pi/Desktop/images/07052026/11/03/image_07052026_11_04_05_29273.jpg
/home/pi/Desktop/images/07052026/11/03/image_07052026_11_03_36_30251.jpg
/home/pi/Desktop/images/07052026/11/02/image_07052026_11_03_05_30221.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.8499884605407715 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:08:03.574637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/09/image_07052026_11_10_05_30334.jpg', '/home/pi/Desktop/images/07052026/11/06/image_07052026_11_06_35_30194.jpg', '/home/pi/Desktop/images/07052026/11/04/image_07052026_11_04_35_30220.jpg', '/home/pi/Desktop/images/07052026/11/03/image_07052026_11_04_05_29273.jpg', '/home/pi/Desktop/images/07052026/11/03/image_07052026_11_03_36_30251.jpg', '/home/pi/Desktop/images/07052026/11/02/image_07052026_11_03_05_30221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/09/image_07052026_11_10_05_30334.jpg
/home/pi/Desktop/images/07052026/11/06/image_07052026_11_06_35_30194.jpg
/home/pi/Desktop/images/07052026/11/04/image_07052026_11_04_35_30220.jpg
/home/pi/Desktop/images/07052026/11/03/image_07052026_11_04_05_29273.jpg
/home/pi/Desktop/images/07052026/11/03/image_07052026_11_03_36_30251.jpg
/home/pi/Desktop/images/07052026/11/02/image_07052026_11_03_05_30221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872406","1416872414","1416872408","1416872416","1416872410","1416872412"],"photo_ids_order":["1416872406","1416872408","1416872410","1416872412","1416872414","1416872416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0b4fa3f9b65048f9db6fec52249fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody7960024464222418098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_10_05_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2158754cbaf3b9bf0bde0b820aea2f3.jpg","text":"TemporaryFile(/tmp/multipartBody865652071813271516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_03_36_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c874abde4d1ef1f3e9d2ada45d26862.jpg","text":"TemporaryFile(/tmp/multipartBody2747237104084059856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_06_35_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbaeea774598715649c225f28282e952.jpg","text":"TemporaryFile(/tmp/multipartBody373582799505912197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_03_05_30221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e3aad3205a1484367c771a4a7c4f01c.jpg","text":"TemporaryFile(/tmp/multipartBody8087889616936294071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_04_35_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b62eb65ab80e6b61ddf22908fd252991.jpg","text":"TemporaryFile(/tmp/multipartBody3712707025557915939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501346780,"filename":"image_07052026_11_04_05_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872410","file1":"1416872408","file0":"1416872406","file4":"1416872414","file5":"1416872416","file3":"1416872412"},"map_files_photo_id_array":[{"photo_id":"1416872416","filename":"file5"},{"photo_id":"1416872410","filename":"file2"},{"photo_id":"1416872414","filename":"file4"},{"photo_id":"1416872408","filename":"file1"},{"photo_id":"1416872406","filename":"file0"},{"photo_id":"1416872412","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872406":["hashtag1","hashtag2"]},{"1416872414":["hashtag1","hashtag2"]},{"1416872408":["hashtag1","hashtag2"]},{"1416872416":["hashtag1","hashtag2"]},{"1416872410":["hashtag1","hashtag2"]},{"1416872412":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872406, 1416872414, 1416872408, 1416872416, 1416872410, 1416872412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58048129081726 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:09:04.146224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/11/02/image_07052026_11_02_35_30227.jpg', '/home/pi/Desktop/images/07052026/11/01/image_07052026_11_02_05_29198.jpg', '/home/pi/Desktop/images/07052026/11/01/image_07052026_11_01_36_30362.jpg', '/home/pi/Desktop/images/07052026/11/00/image_07052026_11_00_35_30183.jpg', '/home/pi/Desktop/images/07052026/10/59/image_07052026_11_00_05_29270.jpg', '/home/pi/Desktop/images/07052026/10/59/image_07052026_10_59_36_30311.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/11/02/image_07052026_11_02_35_30227.jpg
/home/pi/Desktop/images/07052026/11/01/image_07052026_11_02_05_29198.jpg
/home/pi/Desktop/images/07052026/11/01/image_07052026_11_01_36_30362.jpg
/home/pi/Desktop/images/07052026/11/00/image_07052026_11_00_35_30183.jpg
/home/pi/Desktop/images/07052026/10/59/image_07052026_11_00_05_29270.jpg
/home/pi/Desktop/images/07052026/10/59/image_07052026_10_59_36_30311.jpg
2026-05-11 14:09:04.453390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg', '/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg', '/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg', '/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg
/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg
/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.394864797592163 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872418","1416872423","1416872428","1416872425","1416872419","1416872421"],"photo_ids_order":["1416872418","1416872419","1416872421","1416872423","1416872425","1416872428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff41dbf50c0fbc240527099eb3cf1051.jpg","text":"TemporaryFile(/tmp/multipartBody7053720934547145841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_11_02_35_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/456aa8eae4c15ce252f7adb293733742.jpg","text":"TemporaryFile(/tmp/multipartBody1789816287887774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_11_00_35_30183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/425d050ca6cbab66ef0b2574d8bfb85e.jpg","text":"TemporaryFile(/tmp/multipartBody6517418224222220687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_10_59_36_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d99f6d2677358cd1b8a7007f3c335395.jpg","text":"TemporaryFile(/tmp/multipartBody8619428045631854980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_11_00_05_29270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c40f9ddd54f3ca0867cbd454fe2cf30e.jpg","text":"TemporaryFile(/tmp/multipartBody275561420686375855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_11_02_05_29198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f4cf767bd14ea627362275250f81bad.jpg","text":"TemporaryFile(/tmp/multipartBody7412799613646585566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501409138,"filename":"image_07052026_11_01_36_30362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872421","file1":"1416872419","file0":"1416872418","file4":"1416872425","file5":"1416872428","file3":"1416872423"},"map_files_photo_id_array":[{"photo_id":"1416872428","filename":"file5"},{"photo_id":"1416872421","filename":"file2"},{"photo_id":"1416872425","filename":"file4"},{"photo_id":"1416872419","filename":"file1"},{"photo_id":"1416872418","filename":"file0"},{"photo_id":"1416872423","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872418":["hashtag1","hashtag2"]},{"1416872423":["hashtag1","hashtag2"]},{"1416872428":["hashtag1","hashtag2"]},{"1416872425":["hashtag1","hashtag2"]},{"1416872419":["hashtag1","hashtag2"]},{"1416872421":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872418, 1416872423, 1416872428, 1416872425, 1416872419, 1416872421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73633933067322 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:10:02.837435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/58/image_07052026_10_59_05_30294.jpg', '/home/pi/Desktop/images/07052026/10/57/image_07052026_10_58_05_29235.jpg', '/home/pi/Desktop/images/07052026/10/40/image_07052026_10_40_35_30231.jpg', '/home/pi/Desktop/images/07052026/10/37/image_07052026_10_37_35_29252.jpg', '/home/pi/Desktop/images/07052026/10/36/image_07052026_10_37_06_30301.jpg', '/home/pi/Desktop/images/07052026/10/30/image_07052026_10_31_06_30287.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/58/image_07052026_10_59_05_30294.jpg
/home/pi/Desktop/images/07052026/10/57/image_07052026_10_58_05_29235.jpg
/home/pi/Desktop/images/07052026/10/40/image_07052026_10_40_35_30231.jpg
/home/pi/Desktop/images/07052026/10/37/image_07052026_10_37_35_29252.jpg
/home/pi/Desktop/images/07052026/10/36/image_07052026_10_37_06_30301.jpg
/home/pi/Desktop/images/07052026/10/30/image_07052026_10_31_06_30287.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872435","1416872440","1416872437","1416872431","1416872439","1416872433"],"photo_ids_order":["1416872431","1416872433","1416872435","1416872437","1416872439","1416872440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce89c979e0d11087cd297f62665412ff.jpg","text":"TemporaryFile(/tmp/multipartBody6762885586374523324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_40_35_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2968d5d376515798b5b953ea9e989ea.jpg","text":"TemporaryFile(/tmp/multipartBody4140731718633821779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_31_06_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ebedcbd915f3412c348d88ed9649a412.jpg","text":"TemporaryFile(/tmp/multipartBody6749932952638279820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_37_35_29252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1420151088b8888740d51f573df6ddbc.jpg","text":"TemporaryFile(/tmp/multipartBody8936547296216812316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_59_05_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad005b2222c8c1af0cc09bab295a2bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7228147037032229157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_37_06_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9734fcdaf8f3744e5152e58702d9b72.jpg","text":"TemporaryFile(/tmp/multipartBody8237944642101522099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501466463,"filename":"image_07052026_10_58_05_29235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872435","file1":"1416872433","file0":"1416872431","file4":"1416872439","file5":"1416872440","file3":"1416872437"},"map_files_photo_id_array":[{"photo_id":"1416872440","filename":"file5"},{"photo_id":"1416872435","filename":"file2"},{"photo_id":"1416872439","filename":"file4"},{"photo_id":"1416872433","filename":"file1"},{"photo_id":"1416872431","filename":"file0"},{"photo_id":"1416872437","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872435":["hashtag1","hashtag2"]},{"1416872440":["hashtag1","hashtag2"]},{"1416872437":["hashtag1","hashtag2"]},{"1416872431":["hashtag1","hashtag2"]},{"1416872439":["hashtag1","hashtag2"]},{"1416872433":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872435, 1416872440, 1416872437, 1416872431, 1416872439, 1416872433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.524014472961426 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:11:04.263537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/10/image_11052026_14_10_44_30304.jpg', '/home/pi/Desktop/images/11052026/14/04/image_11052026_14_05_14_30194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/10/image_11052026_14_10_44_30304.jpg
/home/pi/Desktop/images/11052026/14/04/image_11052026_14_05_14_30194.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872444","1416872447"],"photo_ids_order":["1416872444","1416872447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23665f43bafbafebb0b60aa6543d702f.jpg","text":"TemporaryFile(/tmp/multipartBody9175545466924850934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501525979,"filename":"image_11052026_14_10_44_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/679b07d104ba1582c6facd9d07156838.jpg","text":"TemporaryFile(/tmp/multipartBody5947510694205078966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501525979,"filename":"image_11052026_14_05_14_30194.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872447","file0":"1416872444"},"map_files_photo_id_array":[{"photo_id":"1416872447","filename":"file1"},{"photo_id":"1416872444","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872444":["hashtag1","hashtag2"]},{"1416872447":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872444, 1416872447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.72331166267395 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:12:02.815190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/30/image_07052026_10_30_36_30352.jpg', '/home/pi/Desktop/images/07052026/10/29/image_07052026_10_30_05_30288.jpg', '/home/pi/Desktop/images/07052026/10/29/image_07052026_10_29_35_29222.jpg', '/home/pi/Desktop/images/07052026/10/28/image_07052026_10_29_06_30363.jpg', '/home/pi/Desktop/images/07052026/10/28/image_07052026_10_28_35_30258.jpg', '/home/pi/Desktop/images/07052026/10/26/image_07052026_10_26_35_30233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/30/image_07052026_10_30_36_30352.jpg
/home/pi/Desktop/images/07052026/10/29/image_07052026_10_30_05_30288.jpg
/home/pi/Desktop/images/07052026/10/29/image_07052026_10_29_35_29222.jpg
/home/pi/Desktop/images/07052026/10/28/image_07052026_10_29_06_30363.jpg
/home/pi/Desktop/images/07052026/10/28/image_07052026_10_28_35_30258.jpg
/home/pi/Desktop/images/07052026/10/26/image_07052026_10_26_35_30233.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872462","1416872459","1416872461","1416872458","1416872457","1416872460"],"photo_ids_order":["1416872457","1416872458","1416872459","1416872460","1416872461","1416872462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/821d700d63bf6de336bd95f9307808c5.jpg","text":"TemporaryFile(/tmp/multipartBody9070102453656687308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_26_35_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/700e531a988a9158e2bb7d08505b78ff.jpg","text":"TemporaryFile(/tmp/multipartBody5505835141721348030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_29_35_29222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/adbebbc5cef311f6f7e243e1a4bcd9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2280522804690807263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_28_35_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2edff4606171987ee45129172a4b745.jpg","text":"TemporaryFile(/tmp/multipartBody2224551645298269872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_30_05_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50648f437d6a232bdf95d28ef66a9fad.jpg","text":"TemporaryFile(/tmp/multipartBody2112542958266528068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_30_36_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94b214aa79b51cc128e813a4ae6ce194.jpg","text":"TemporaryFile(/tmp/multipartBody3309242139255589651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501586119,"filename":"image_07052026_10_29_06_30363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872459","file1":"1416872458","file0":"1416872457","file4":"1416872461","file5":"1416872462","file3":"1416872460"},"map_files_photo_id_array":[{"photo_id":"1416872462","filename":"file5"},{"photo_id":"1416872459","filename":"file2"},{"photo_id":"1416872461","filename":"file4"},{"photo_id":"1416872458","filename":"file1"},{"photo_id":"1416872457","filename":"file0"},{"photo_id":"1416872460","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872462":["hashtag1","hashtag2"]},{"1416872459":["hashtag1","hashtag2"]},{"1416872461":["hashtag1","hashtag2"]},{"1416872458":["hashtag1","hashtag2"]},{"1416872457":["hashtag1","hashtag2"]},{"1416872460":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872462, 1416872459, 1416872461, 1416872458, 1416872457, 1416872460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.958820104599 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:14:03.599193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/11/image_11052026_14_12_14_30278.jpg', '/home/pi/Desktop/images/11052026/14/11/image_11052026_14_11_44_30237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/11/image_11052026_14_12_14_30278.jpg
/home/pi/Desktop/images/11052026/14/11/image_11052026_14_11_44_30237.jpg
2026-05-11 14:14:04.046465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/11/image_11052026_14_11_44_30237.jpg', '/home/pi/Desktop/images/11052026/14/11/image_11052026_14_12_14_30278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/11/image_11052026_14_11_44_30237.jpg
/home/pi/Desktop/images/11052026/14/11/image_11052026_14_12_14_30278.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872465","1416872469"],"photo_ids_order":["1416872465","1416872469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82963748954353b60105fd92ce72b537.jpg","text":"TemporaryFile(/tmp/multipartBody3434075255102427249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501704827,"filename":"image_11052026_14_12_14_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74cda4bb740efc135c619ad2cd08fde5.jpg","text":"TemporaryFile(/tmp/multipartBody3300089521441053939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501704827,"filename":"image_11052026_14_11_44_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872469","file0":"1416872465"},"map_files_photo_id_array":[{"photo_id":"1416872469","filename":"file1"},{"photo_id":"1416872465","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872465":["hashtag1","hashtag2"]},{"1416872469":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872465, 1416872469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.546406745910645 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872470","1416872466"],"photo_ids_order":["1416872466","1416872470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14b9ddabb3e82ae08e9e495d5fc35adf.jpg","text":"TemporaryFile(/tmp/multipartBody7453317942772194784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501705364,"filename":"image_11052026_14_12_14_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a57f020c4186889a3cfa156ed4d25cba.jpg","text":"TemporaryFile(/tmp/multipartBody7535173851081572058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501705364,"filename":"image_11052026_14_11_44_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872470","file0":"1416872466"},"map_files_photo_id_array":[{"photo_id":"1416872470","filename":"file1"},{"photo_id":"1416872466","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872470":["hashtag1","hashtag2"]},{"1416872466":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872470, 1416872466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.578352212905884 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:15:04.485101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/12/image_11052026_14_12_44_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/12/image_11052026_14_12_44_30173.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872477"],"photo_id":"1416872477","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97934df32fc71d3a627998cf20830b12.jpg","text":"TemporaryFile(/tmp/multipartBody3864501581142641810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501765534,"filename":"image_11052026_14_12_44_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872477"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872477"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.230625867843628 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:16:03.071015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/14/image_11052026_14_15_14_30362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/14/image_11052026_14_15_14_30362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872485"],"photo_id":"1416872485","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c4b1056dfe3260c726e70da078f6145.jpg","text":"TemporaryFile(/tmp/multipartBody1580108074849007048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501824267,"filename":"image_11052026_14_15_14_30362.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872485"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872485"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.164597988128662 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:17:04.503361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/25/image_07052026_10_26_05_30266.jpg', '/home/pi/Desktop/images/07052026/10/24/image_07052026_10_25_06_30324.jpg', '/home/pi/Desktop/images/07052026/10/22/image_07052026_10_23_06_30300.jpg', '/home/pi/Desktop/images/07052026/10/21/image_07052026_10_21_35_29148.jpg', '/home/pi/Desktop/images/07052026/10/20/image_07052026_10_21_06_30280.jpg', '/home/pi/Desktop/images/07052026/10/17/image_07052026_10_17_35_29224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/25/image_07052026_10_26_05_30266.jpg
/home/pi/Desktop/images/07052026/10/24/image_07052026_10_25_06_30324.jpg
/home/pi/Desktop/images/07052026/10/22/image_07052026_10_23_06_30300.jpg
/home/pi/Desktop/images/07052026/10/21/image_07052026_10_21_35_29148.jpg
/home/pi/Desktop/images/07052026/10/20/image_07052026_10_21_06_30280.jpg
/home/pi/Desktop/images/07052026/10/17/image_07052026_10_17_35_29224.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.0687334537506104 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:18:02.976527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/25/image_07052026_10_26_05_30266.jpg', '/home/pi/Desktop/images/07052026/10/24/image_07052026_10_25_06_30324.jpg', '/home/pi/Desktop/images/07052026/10/22/image_07052026_10_23_06_30300.jpg', '/home/pi/Desktop/images/07052026/10/21/image_07052026_10_21_35_29148.jpg', '/home/pi/Desktop/images/07052026/10/20/image_07052026_10_21_06_30280.jpg', '/home/pi/Desktop/images/07052026/10/17/image_07052026_10_17_35_29224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/25/image_07052026_10_26_05_30266.jpg
/home/pi/Desktop/images/07052026/10/24/image_07052026_10_25_06_30324.jpg
/home/pi/Desktop/images/07052026/10/22/image_07052026_10_23_06_30300.jpg
/home/pi/Desktop/images/07052026/10/21/image_07052026_10_21_35_29148.jpg
/home/pi/Desktop/images/07052026/10/20/image_07052026_10_21_06_30280.jpg
/home/pi/Desktop/images/07052026/10/17/image_07052026_10_17_35_29224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872504","1416872513","1416872507","1416872515","1416872509","1416872511"],"photo_ids_order":["1416872504","1416872507","1416872509","1416872511","1416872513","1416872515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18aa6a8d1d53dcb336a06601eef4dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8984364532461460680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_26_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80b564eb05837b27ac02709b6f4d8f16.jpg","text":"TemporaryFile(/tmp/multipartBody7351636113171827428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_21_06_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36c750440c69f4c8859fac2f4f4c4596.jpg","text":"TemporaryFile(/tmp/multipartBody5205451279731572774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_25_06_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/116cebb1cc9ce9268deff028f6e6dac4.jpg","text":"TemporaryFile(/tmp/multipartBody714248211642758497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_17_35_29224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50eed8fc7b5ce8251f31456377ea1b55.jpg","text":"TemporaryFile(/tmp/multipartBody6293078955620070318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_23_06_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a20f81f2df3d7a0d7a6d64be0be447e5.jpg","text":"TemporaryFile(/tmp/multipartBody4828513127124224676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778501945738,"filename":"image_07052026_10_21_35_29148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872509","file1":"1416872507","file0":"1416872504","file4":"1416872513","file5":"1416872515","file3":"1416872511"},"map_files_photo_id_array":[{"photo_id":"1416872515","filename":"file5"},{"photo_id":"1416872509","filename":"file2"},{"photo_id":"1416872513","filename":"file4"},{"photo_id":"1416872507","filename":"file1"},{"photo_id":"1416872504","filename":"file0"},{"photo_id":"1416872511","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872504":["hashtag1","hashtag2"]},{"1416872513":["hashtag1","hashtag2"]},{"1416872507":["hashtag1","hashtag2"]},{"1416872515":["hashtag1","hashtag2"]},{"1416872509":["hashtag1","hashtag2"]},{"1416872511":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872504, 1416872513, 1416872507, 1416872515, 1416872509, 1416872511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.405078411102295 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:19:04.651212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg', '/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg', '/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg', '/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg
/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg
/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg
2026-05-11 14:19:04.788440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/16/image_07052026_10_17_06_30309.jpg', '/home/pi/Desktop/images/07052026/10/16/image_07052026_10_16_35_30228.jpg', '/home/pi/Desktop/images/07052026/10/15/image_07052026_10_15_35_29220.jpg', '/home/pi/Desktop/images/07052026/10/14/image_07052026_10_15_06_30223.jpg', '/home/pi/Desktop/images/07052026/10/14/image_07052026_10_14_35_30337.jpg', '/home/pi/Desktop/images/07052026/10/13/image_07052026_10_14_05_30212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/16/image_07052026_10_17_06_30309.jpg
/home/pi/Desktop/images/07052026/10/16/image_07052026_10_16_35_30228.jpg
/home/pi/Desktop/images/07052026/10/15/image_07052026_10_15_35_29220.jpg
/home/pi/Desktop/images/07052026/10/14/image_07052026_10_15_06_30223.jpg
/home/pi/Desktop/images/07052026/10/14/image_07052026_10_14_35_30337.jpg
/home/pi/Desktop/images/07052026/10/13/image_07052026_10_14_05_30212.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.6511034965515137 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872523","1416872517","1416872519","1416872528","1416872521","1416872526"],"photo_ids_order":["1416872517","1416872519","1416872521","1416872523","1416872526","1416872528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7319101e456ac3be75179e6f9359c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7526885608598423157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_15_06_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00249a161ca8317304b3450a2a528abf.jpg","text":"TemporaryFile(/tmp/multipartBody7573695554733544591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_17_06_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ae2b6aec1df8fc4c881808215e38653.jpg","text":"TemporaryFile(/tmp/multipartBody4676276854040650888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_16_35_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b63b204747e2f52c960a59940a87c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody7973401077668410350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_14_05_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b7972eb887a87b7d0ec545311f974f7.jpg","text":"TemporaryFile(/tmp/multipartBody2670821085967332266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_15_35_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7fcc4dfafde0fe31515ba3b98bb0194.jpg","text":"TemporaryFile(/tmp/multipartBody8444025924050273563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502010406,"filename":"image_07052026_10_14_35_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872521","file1":"1416872519","file0":"1416872517","file4":"1416872526","file5":"1416872528","file3":"1416872523"},"map_files_photo_id_array":[{"photo_id":"1416872528","filename":"file5"},{"photo_id":"1416872521","filename":"file2"},{"photo_id":"1416872526","filename":"file4"},{"photo_id":"1416872519","filename":"file1"},{"photo_id":"1416872517","filename":"file0"},{"photo_id":"1416872523","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872523":["hashtag1","hashtag2"]},{"1416872517":["hashtag1","hashtag2"]},{"1416872519":["hashtag1","hashtag2"]},{"1416872528":["hashtag1","hashtag2"]},{"1416872521":["hashtag1","hashtag2"]},{"1416872526":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872523, 1416872517, 1416872519, 1416872528, 1416872521, 1416872526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.74984812736511 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:20:03.631740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/13/image_07052026_10_13_35_29205.jpg', '/home/pi/Desktop/images/07052026/10/12/image_07052026_10_12_35_30266.jpg', '/home/pi/Desktop/images/07052026/10/11/image_07052026_10_12_05_30254.jpg', '/home/pi/Desktop/images/07052026/10/09/image_07052026_10_10_05_30214.jpg', '/home/pi/Desktop/images/07052026/10/09/image_07052026_10_09_35_29213.jpg', '/home/pi/Desktop/images/07052026/10/08/image_07052026_10_09_06_30272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/13/image_07052026_10_13_35_29205.jpg
/home/pi/Desktop/images/07052026/10/12/image_07052026_10_12_35_30266.jpg
/home/pi/Desktop/images/07052026/10/11/image_07052026_10_12_05_30254.jpg
/home/pi/Desktop/images/07052026/10/09/image_07052026_10_10_05_30214.jpg
/home/pi/Desktop/images/07052026/10/09/image_07052026_10_09_35_29213.jpg
/home/pi/Desktop/images/07052026/10/08/image_07052026_10_09_06_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872540","1416872537","1416872539","1416872530","1416872532","1416872535"],"photo_ids_order":["1416872530","1416872532","1416872535","1416872537","1416872539","1416872540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c30e6958393c076c0a879cabb042511.jpg","text":"TemporaryFile(/tmp/multipartBody2922935707058151223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_09_06_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3ee3cd91697e35bf89694e4d1f9b72e.jpg","text":"TemporaryFile(/tmp/multipartBody8457381940226185714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_10_05_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c391d45d3d44f85f3f4ca4847c738017.jpg","text":"TemporaryFile(/tmp/multipartBody116899328285737939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_09_35_29213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80b46c5eb73fd8c1064fa54aa9c0797d.jpg","text":"TemporaryFile(/tmp/multipartBody9104698017496720479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_13_35_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb42fff8b699e3a0451ff8e05ad2ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody2743726490500218244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_12_35_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4335510c60d0e4108ff1324ad5760eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2245737013307867356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502066835,"filename":"image_07052026_10_12_05_30254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872535","file1":"1416872532","file0":"1416872530","file4":"1416872539","file5":"1416872540","file3":"1416872537"},"map_files_photo_id_array":[{"photo_id":"1416872540","filename":"file5"},{"photo_id":"1416872535","filename":"file2"},{"photo_id":"1416872539","filename":"file4"},{"photo_id":"1416872532","filename":"file1"},{"photo_id":"1416872530","filename":"file0"},{"photo_id":"1416872537","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872540":["hashtag1","hashtag2"]},{"1416872537":["hashtag1","hashtag2"]},{"1416872539":["hashtag1","hashtag2"]},{"1416872530":["hashtag1","hashtag2"]},{"1416872532":["hashtag1","hashtag2"]},{"1416872535":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872540, 1416872537, 1416872539, 1416872530, 1416872532, 1416872535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3565354347229 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:21:04.138024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/19/image_11052026_14_20_13_29182.jpg', '/home/pi/Desktop/images/11052026/14/15/image_11052026_14_16_14_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/19/image_11052026_14_20_13_29182.jpg
/home/pi/Desktop/images/11052026/14/15/image_11052026_14_16_14_30331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872543","1416872542"],"photo_ids_order":["1416872542","1416872543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/985d21a36e93a63ef429dd83f21c012d.jpg","text":"TemporaryFile(/tmp/multipartBody6087762358971356738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502125767,"filename":"image_11052026_14_16_14_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d0f0b966d9b1d4c1b0d2d5bc67275523.jpg","text":"TemporaryFile(/tmp/multipartBody2231546714632484825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502125767,"filename":"image_11052026_14_20_13_29182.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872543","file0":"1416872542"},"map_files_photo_id_array":[{"photo_id":"1416872543","filename":"file1"},{"photo_id":"1416872542","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872543":["hashtag1","hashtag2"]},{"1416872542":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872543, 1416872542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.126955032348633 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:22:03.012277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/20/image_11052026_14_20_44_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/20/image_11052026_14_20_44_30224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872545"],"photo_id":"1416872545","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/180af103ac0696aa969b784d473a50af.jpg","text":"TemporaryFile(/tmp/multipartBody3786504291704184140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502184232,"filename":"image_11052026_14_20_44_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872545"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872545"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.994529485702515 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:23:03.367449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/08/image_07052026_10_08_36_30379.jpg', '/home/pi/Desktop/images/07052026/10/07/image_07052026_10_08_05_30218.jpg', '/home/pi/Desktop/images/07052026/10/06/image_07052026_10_07_06_30259.jpg', '/home/pi/Desktop/images/07052026/10/05/image_07052026_10_06_05_30202.jpg', '/home/pi/Desktop/images/07052026/10/04/image_07052026_10_04_35_30204.jpg', '/home/pi/Desktop/images/07052026/10/03/image_07052026_10_04_05_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/08/image_07052026_10_08_36_30379.jpg
/home/pi/Desktop/images/07052026/10/07/image_07052026_10_08_05_30218.jpg
/home/pi/Desktop/images/07052026/10/06/image_07052026_10_07_06_30259.jpg
/home/pi/Desktop/images/07052026/10/05/image_07052026_10_06_05_30202.jpg
/home/pi/Desktop/images/07052026/10/04/image_07052026_10_04_35_30204.jpg
/home/pi/Desktop/images/07052026/10/03/image_07052026_10_04_05_30170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872561","1416872555","1416872563","1416872557","1416872559","1416872553"],"photo_ids_order":["1416872553","1416872555","1416872557","1416872559","1416872561","1416872563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da731c3858d9efe14f8e2e5e5baf7bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5254446644211142356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_04_35_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ece9d5083ca56302ff91a5deb2f2519.jpg","text":"TemporaryFile(/tmp/multipartBody8412256718479045204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_08_05_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2185baf052430baf8621a89f7fdfdf5.jpg","text":"TemporaryFile(/tmp/multipartBody3546087071356242875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_04_05_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6467b27535f8b20ed742d46578a1c561.jpg","text":"TemporaryFile(/tmp/multipartBody7827052243515063817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_07_06_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7e8e4bfe81e04ccb3aa30989856bf49.jpg","text":"TemporaryFile(/tmp/multipartBody2124362387658148490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_06_05_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57624abcd8ad97a360c70aa0213c1760.jpg","text":"TemporaryFile(/tmp/multipartBody4818479144486317418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502246787,"filename":"image_07052026_10_08_36_30379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872557","file1":"1416872555","file0":"1416872553","file4":"1416872561","file5":"1416872563","file3":"1416872559"},"map_files_photo_id_array":[{"photo_id":"1416872563","filename":"file5"},{"photo_id":"1416872557","filename":"file2"},{"photo_id":"1416872561","filename":"file4"},{"photo_id":"1416872555","filename":"file1"},{"photo_id":"1416872553","filename":"file0"},{"photo_id":"1416872559","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872561":["hashtag1","hashtag2"]},{"1416872555":["hashtag1","hashtag2"]},{"1416872563":["hashtag1","hashtag2"]},{"1416872557":["hashtag1","hashtag2"]},{"1416872559":["hashtag1","hashtag2"]},{"1416872553":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872561, 1416872555, 1416872563, 1416872557, 1416872559, 1416872553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01790809631348 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:24:03.570512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/20/image_11052026_14_21_14_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/20/image_11052026_14_21_14_30213.jpg
2026-05-11 14:24:03.827307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/20/image_11052026_14_21_14_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/20/image_11052026_14_21_14_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872566"],"photo_id":"1416872566","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab10368d70620b3c778e4cc94d3bd748.jpg","text":"TemporaryFile(/tmp/multipartBody8486039817521808175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502304924,"filename":"image_11052026_14_21_14_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872566"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872566"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.182023525238037 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872567"],"photo_id":"1416872567","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/008bb9afcb699609c8d3137bd987b332.jpg","text":"TemporaryFile(/tmp/multipartBody8180166473575788186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502305146,"filename":"image_11052026_14_21_14_30213.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872567"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872567"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.672473907470703 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:25:04.116219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/23/image_11052026_14_23_44_30196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/23/image_11052026_14_23_44_30196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872575"],"photo_id":"1416872575","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ed71c9a9c0ad09e3d87feadfed69371.jpg","text":"TemporaryFile(/tmp/multipartBody3737636866311329618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502365214,"filename":"image_11052026_14_23_44_30196.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872575"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872575"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.828893661499023 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:26:03.557050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/10/03/image_07052026_10_03_35_29222.jpg', '/home/pi/Desktop/images/07052026/10/02/image_07052026_10_03_06_30329.jpg', '/home/pi/Desktop/images/07052026/10/02/image_07052026_10_02_36_30313.jpg', '/home/pi/Desktop/images/07052026/10/01/image_07052026_10_02_05_30286.jpg', '/home/pi/Desktop/images/07052026/10/00/image_07052026_10_00_35_30273.jpg', '/home/pi/Desktop/images/07052026/09/51/image_07052026_09_51_36_30309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/10/03/image_07052026_10_03_35_29222.jpg
/home/pi/Desktop/images/07052026/10/02/image_07052026_10_03_06_30329.jpg
/home/pi/Desktop/images/07052026/10/02/image_07052026_10_02_36_30313.jpg
/home/pi/Desktop/images/07052026/10/01/image_07052026_10_02_05_30286.jpg
/home/pi/Desktop/images/07052026/10/00/image_07052026_10_00_35_30273.jpg
/home/pi/Desktop/images/07052026/09/51/image_07052026_09_51_36_30309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872585","1416872582","1416872584","1416872587","1416872583","1416872586"],"photo_ids_order":["1416872582","1416872583","1416872584","1416872585","1416872586","1416872587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d88532a5ce0e9376805a261f2cbdafb6.jpg","text":"TemporaryFile(/tmp/multipartBody7403499841680828756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_10_02_05_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12cebc6970a3c439060f3f5c24a61bb3.jpg","text":"TemporaryFile(/tmp/multipartBody587520049675280180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_10_03_35_29222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48acaea22011a415005e38bf2812e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2492091068951223410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_10_02_36_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eff192b948355f39d1f63b3b65e14fd2.jpg","text":"TemporaryFile(/tmp/multipartBody9073107782422566686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_09_51_36_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20683db79080ff467ccf2bac21dbdb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2067422369051750799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_10_03_06_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/370cfafb82b45c3c204835b6bb2d521c.jpg","text":"TemporaryFile(/tmp/multipartBody4974997626773091215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502427311,"filename":"image_07052026_10_00_35_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872584","file1":"1416872583","file0":"1416872582","file4":"1416872586","file5":"1416872587","file3":"1416872585"},"map_files_photo_id_array":[{"photo_id":"1416872587","filename":"file5"},{"photo_id":"1416872584","filename":"file2"},{"photo_id":"1416872586","filename":"file4"},{"photo_id":"1416872583","filename":"file1"},{"photo_id":"1416872582","filename":"file0"},{"photo_id":"1416872585","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872585":["hashtag1","hashtag2"]},{"1416872582":["hashtag1","hashtag2"]},{"1416872584":["hashtag1","hashtag2"]},{"1416872587":["hashtag1","hashtag2"]},{"1416872583":["hashtag1","hashtag2"]},{"1416872586":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872585, 1416872582, 1416872584, 1416872587, 1416872583, 1416872586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.071457624435425 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:27:03.932827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/50/image_07052026_09_51_05_30253.jpg', '/home/pi/Desktop/images/07052026/09/50/image_07052026_09_50_35_30157.jpg', '/home/pi/Desktop/images/07052026/09/49/image_07052026_09_49_35_29195.jpg', '/home/pi/Desktop/images/07052026/09/48/image_07052026_09_49_06_30083.jpg', '/home/pi/Desktop/images/07052026/09/48/image_07052026_09_48_36_30307.jpg', '/home/pi/Desktop/images/07052026/09/46/image_07052026_09_47_06_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/50/image_07052026_09_51_05_30253.jpg
/home/pi/Desktop/images/07052026/09/50/image_07052026_09_50_35_30157.jpg
/home/pi/Desktop/images/07052026/09/49/image_07052026_09_49_35_29195.jpg
/home/pi/Desktop/images/07052026/09/48/image_07052026_09_49_06_30083.jpg
/home/pi/Desktop/images/07052026/09/48/image_07052026_09_48_36_30307.jpg
/home/pi/Desktop/images/07052026/09/46/image_07052026_09_47_06_30211.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.851865291595459 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:28:03.752511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/27/image_11052026_14_27_44_30274.jpg', '/home/pi/Desktop/images/11052026/14/24/image_11052026_14_25_14_30218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/27/image_11052026_14_27_44_30274.jpg
/home/pi/Desktop/images/11052026/14/24/image_11052026_14_25_14_30218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872601","1416872602"],"photo_ids_order":["1416872601","1416872602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70b0be1fa97475ce245756a6c788dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody3501721417552669582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502545587,"filename":"image_11052026_14_27_44_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87795573ae09d3212d7c8fe5792a49b0.jpg","text":"TemporaryFile(/tmp/multipartBody5253235480499799978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502545587,"filename":"image_11052026_14_25_14_30218.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872602","file0":"1416872601"},"map_files_photo_id_array":[{"photo_id":"1416872602","filename":"file1"},{"photo_id":"1416872601","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872601":["hashtag1","hashtag2"]},{"1416872602":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872601, 1416872602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.471686601638794 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:29:04.463188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/27/image_11052026_14_28_14_30188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/27/image_11052026_14_28_14_30188.jpg
2026-05-11 14:29:04.547959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/27/image_11052026_14_28_14_30188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/27/image_11052026_14_28_14_30188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872606"],"photo_id":"1416872606","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d1cee0d4df9e56a786bf4d2ec43f723.jpg","text":"TemporaryFile(/tmp/multipartBody7426381309375377572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502605980,"filename":"image_11052026_14_28_14_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872606"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872606"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.00946569442749 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872605"],"photo_id":"1416872605","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/652f49ef0a3adac9528298bf3976d09e.jpg","text":"TemporaryFile(/tmp/multipartBody4000247957059960054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502605933,"filename":"image_11052026_14_28_14_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872605"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872605"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.405661344528198 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:30:02.889738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/50/image_07052026_09_51_05_30253.jpg', '/home/pi/Desktop/images/07052026/09/50/image_07052026_09_50_35_30157.jpg', '/home/pi/Desktop/images/07052026/09/49/image_07052026_09_49_35_29195.jpg', '/home/pi/Desktop/images/07052026/09/48/image_07052026_09_49_06_30083.jpg', '/home/pi/Desktop/images/07052026/09/48/image_07052026_09_48_36_30307.jpg', '/home/pi/Desktop/images/07052026/09/46/image_07052026_09_47_06_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/50/image_07052026_09_51_05_30253.jpg
/home/pi/Desktop/images/07052026/09/50/image_07052026_09_50_35_30157.jpg
/home/pi/Desktop/images/07052026/09/49/image_07052026_09_49_35_29195.jpg
/home/pi/Desktop/images/07052026/09/48/image_07052026_09_49_06_30083.jpg
/home/pi/Desktop/images/07052026/09/48/image_07052026_09_48_36_30307.jpg
/home/pi/Desktop/images/07052026/09/46/image_07052026_09_47_06_30211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872622","1416872616","1416872615","1416872620","1416872617","1416872619"],"photo_ids_order":["1416872615","1416872616","1416872617","1416872619","1416872620","1416872622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/794864577412d04614103e2072193752.jpg","text":"TemporaryFile(/tmp/multipartBody5287057266784636281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_47_06_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2dbaa3320338d29f41e863f18b87f274.jpg","text":"TemporaryFile(/tmp/multipartBody862782016467823466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_50_35_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cffcbae311cc4eeb44cca2af093a608a.jpg","text":"TemporaryFile(/tmp/multipartBody3297899458621653020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_51_05_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f031c57a393376a323ba57eb0f3c294.jpg","text":"TemporaryFile(/tmp/multipartBody4035972582829450608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_48_36_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d26682e396b136c36a0356015828d75f.jpg","text":"TemporaryFile(/tmp/multipartBody1634180933999131273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_49_35_29195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4be76627eb07a275fd512c9caa2d054.jpg","text":"TemporaryFile(/tmp/multipartBody3546060150378160803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502665868,"filename":"image_07052026_09_49_06_30083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872617","file1":"1416872616","file0":"1416872615","file4":"1416872620","file5":"1416872622","file3":"1416872619"},"map_files_photo_id_array":[{"photo_id":"1416872622","filename":"file5"},{"photo_id":"1416872617","filename":"file2"},{"photo_id":"1416872620","filename":"file4"},{"photo_id":"1416872616","filename":"file1"},{"photo_id":"1416872615","filename":"file0"},{"photo_id":"1416872619","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872622":["hashtag1","hashtag2"]},{"1416872616":["hashtag1","hashtag2"]},{"1416872615":["hashtag1","hashtag2"]},{"1416872620":["hashtag1","hashtag2"]},{"1416872617":["hashtag1","hashtag2"]},{"1416872619":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872622, 1416872616, 1416872615, 1416872620, 1416872617, 1416872619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10461473464966 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:31:03.978837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/45/image_07052026_09_45_35_30224.jpg', '/home/pi/Desktop/images/07052026/09/44/image_07052026_09_44_35_29206.jpg', '/home/pi/Desktop/images/07052026/09/43/image_07052026_09_44_06_30154.jpg', '/home/pi/Desktop/images/07052026/09/43/image_07052026_09_43_35_30353.jpg', '/home/pi/Desktop/images/07052026/09/42/image_07052026_09_42_35_30165.jpg', '/home/pi/Desktop/images/07052026/09/41/image_07052026_09_42_05_29282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/45/image_07052026_09_45_35_30224.jpg
/home/pi/Desktop/images/07052026/09/44/image_07052026_09_44_35_29206.jpg
/home/pi/Desktop/images/07052026/09/43/image_07052026_09_44_06_30154.jpg
/home/pi/Desktop/images/07052026/09/43/image_07052026_09_43_35_30353.jpg
/home/pi/Desktop/images/07052026/09/42/image_07052026_09_42_35_30165.jpg
/home/pi/Desktop/images/07052026/09/41/image_07052026_09_42_05_29282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872633","1416872630","1416872632","1416872635","1416872629","1416872631"],"photo_ids_order":["1416872629","1416872630","1416872631","1416872632","1416872633","1416872635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af2398c7700107191d59012d7c6c89e7.jpg","text":"TemporaryFile(/tmp/multipartBody4661673409690726898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_42_35_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d511f6f023532a875c887380a2f1dfa5.jpg","text":"TemporaryFile(/tmp/multipartBody1380219546639051696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_44_35_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fdd6d95fe184b59731800ee4157b227e.jpg","text":"TemporaryFile(/tmp/multipartBody5181129861791739523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_43_35_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f53c61ee557bd70a3d4abb37e51e104.jpg","text":"TemporaryFile(/tmp/multipartBody8625453639757308867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_42_05_29282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9180b785a350c2f713426463a5be86c9.jpg","text":"TemporaryFile(/tmp/multipartBody1527585647419327948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_45_35_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81d380714d764f0d734a025ef0840436.jpg","text":"TemporaryFile(/tmp/multipartBody3499093848217682704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502728338,"filename":"image_07052026_09_44_06_30154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872631","file1":"1416872630","file0":"1416872629","file4":"1416872633","file5":"1416872635","file3":"1416872632"},"map_files_photo_id_array":[{"photo_id":"1416872635","filename":"file5"},{"photo_id":"1416872631","filename":"file2"},{"photo_id":"1416872633","filename":"file4"},{"photo_id":"1416872630","filename":"file1"},{"photo_id":"1416872629","filename":"file0"},{"photo_id":"1416872632","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872633":["hashtag1","hashtag2"]},{"1416872630":["hashtag1","hashtag2"]},{"1416872632":["hashtag1","hashtag2"]},{"1416872635":["hashtag1","hashtag2"]},{"1416872629":["hashtag1","hashtag2"]},{"1416872631":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872633, 1416872630, 1416872632, 1416872635, 1416872629, 1416872631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93567705154419 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:32:03.504020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/40/image_07052026_09_40_35_30202.jpg', '/home/pi/Desktop/images/07052026/09/39/image_07052026_09_40_05_29272.jpg', '/home/pi/Desktop/images/07052026/09/39/image_07052026_09_39_36_30378.jpg', '/home/pi/Desktop/images/07052026/09/38/image_07052026_09_38_35_30126.jpg', '/home/pi/Desktop/images/07052026/09/37/image_07052026_09_37_36_30429.jpg', '/home/pi/Desktop/images/07052026/09/36/image_07052026_09_37_05_30267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/40/image_07052026_09_40_35_30202.jpg
/home/pi/Desktop/images/07052026/09/39/image_07052026_09_40_05_29272.jpg
/home/pi/Desktop/images/07052026/09/39/image_07052026_09_39_36_30378.jpg
/home/pi/Desktop/images/07052026/09/38/image_07052026_09_38_35_30126.jpg
/home/pi/Desktop/images/07052026/09/37/image_07052026_09_37_36_30429.jpg
/home/pi/Desktop/images/07052026/09/36/image_07052026_09_37_05_30267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872642","1416872639","1416872644","1416872647","1416872637","1416872646"],"photo_ids_order":["1416872637","1416872639","1416872642","1416872644","1416872646","1416872647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1040df8d7111b418a0ad2bcf4aaf66c0.jpg","text":"TemporaryFile(/tmp/multipartBody8972657269928529684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_39_36_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec65a943257504e59ab4b25410ff629a.jpg","text":"TemporaryFile(/tmp/multipartBody6804147090506478027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_40_05_29272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02f6777497d6e99d95a2369ca0393b92.jpg","text":"TemporaryFile(/tmp/multipartBody8322458270305889278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_38_35_30126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d28be1ee8150077222a9ccb977031b55.jpg","text":"TemporaryFile(/tmp/multipartBody911982481073736159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_37_05_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6edc3d8cea5a4ce9c2b42b1db42d6d8.jpg","text":"TemporaryFile(/tmp/multipartBody1864244915344662729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_40_35_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3a12ce9cb04a8b731753c1ee40f594b.jpg","text":"TemporaryFile(/tmp/multipartBody2583674173148670475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502787230,"filename":"image_07052026_09_37_36_30429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872642","file1":"1416872639","file0":"1416872637","file4":"1416872646","file5":"1416872647","file3":"1416872644"},"map_files_photo_id_array":[{"photo_id":"1416872647","filename":"file5"},{"photo_id":"1416872642","filename":"file2"},{"photo_id":"1416872646","filename":"file4"},{"photo_id":"1416872639","filename":"file1"},{"photo_id":"1416872637","filename":"file0"},{"photo_id":"1416872644","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872642":["hashtag1","hashtag2"]},{"1416872639":["hashtag1","hashtag2"]},{"1416872644":["hashtag1","hashtag2"]},{"1416872647":["hashtag1","hashtag2"]},{"1416872637":["hashtag1","hashtag2"]},{"1416872646":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872642, 1416872639, 1416872644, 1416872647, 1416872637, 1416872646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.422877073287964 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:33:03.986038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg', '/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg
/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3562109470367432 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:34:03.994273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/32/image_11052026_14_32_44_29218.jpg', '/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg', '/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/32/image_11052026_14_32_44_29218.jpg
/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg
/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.jpg
2026-05-11 14:34:04.131981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.jpg', '/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg', '/home/pi/Desktop/images/11052026/14/32/image_11052026_14_32_44_29218.jpg', '/home/pi/Desktop/images/11052026/14/33/image_11052026_14_33_44_30200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/29/image_11052026_14_29_44_30031.jpg
/home/pi/Desktop/images/11052026/14/31/image_11052026_14_32_14_30156.jpg
/home/pi/Desktop/images/11052026/14/32/image_11052026_14_32_44_29218.jpg
/home/pi/Desktop/images/11052026/14/33/image_11052026_14_33_44_30200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872655","1416872658","1416872652"],"photo_ids_order":["1416872652","1416872655","1416872658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b6f0aaa5ce0d099239bfa6a26ce2aff.jpg","text":"TemporaryFile(/tmp/multipartBody2965688476925276482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502906463,"filename":"image_11052026_14_32_14_30156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5ac5327c6f98625f32b5aceeb8277a6.jpg","text":"TemporaryFile(/tmp/multipartBody6343214535309473806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502906463,"filename":"image_11052026_14_29_44_30031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e9179804a75e9707c4c17c8a0544598.jpg","text":"TemporaryFile(/tmp/multipartBody5899286694544840157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502906463,"filename":"image_11052026_14_32_44_29218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872658","file1":"1416872655","file0":"1416872652"},"map_files_photo_id_array":[{"photo_id":"1416872658","filename":"file2"},{"photo_id":"1416872655","filename":"file1"},{"photo_id":"1416872652","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872655":["hashtag1","hashtag2"]},{"1416872658":["hashtag1","hashtag2"]},{"1416872652":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872655, 1416872658, 1416872652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.177470207214355 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872662","1416872659","1416872653","1416872656"],"photo_ids_order":["1416872653","1416872656","1416872659","1416872662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/410bec5171dcae8690bf2240f8cb4eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7332465724634932858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502907242,"filename":"image_11052026_14_33_44_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9edce5a8325a72b5d288c9f999513410.jpg","text":"TemporaryFile(/tmp/multipartBody7181605874965122264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502907242,"filename":"image_11052026_14_32_44_29218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f287745ad56252181e5f299151964aed.jpg","text":"TemporaryFile(/tmp/multipartBody6494177188099537248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502907242,"filename":"image_11052026_14_29_44_30031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9eb4d597d58d05a37e65a8d067a8d64.jpg","text":"TemporaryFile(/tmp/multipartBody2884256948185681221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502907242,"filename":"image_11052026_14_32_14_30156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872659","file1":"1416872656","file0":"1416872653","file3":"1416872662"},"map_files_photo_id_array":[{"photo_id":"1416872659","filename":"file2"},{"photo_id":"1416872656","filename":"file1"},{"photo_id":"1416872653","filename":"file0"},{"photo_id":"1416872662","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872662":["hashtag1","hashtag2"]},{"1416872659":["hashtag1","hashtag2"]},{"1416872653":["hashtag1","hashtag2"]},{"1416872656":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872662, 1416872659, 1416872653, 1416872656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.653543949127197 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:35:03.553555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/36/image_07052026_09_36_35_29304.jpg', '/home/pi/Desktop/images/07052026/09/35/image_07052026_09_35_35_30362.jpg', '/home/pi/Desktop/images/07052026/09/34/image_07052026_09_35_05_29340.jpg', '/home/pi/Desktop/images/07052026/09/34/image_07052026_09_34_36_30386.jpg', '/home/pi/Desktop/images/07052026/09/33/image_07052026_09_34_05_30242.jpg', '/home/pi/Desktop/images/07052026/09/32/image_07052026_09_33_06_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/36/image_07052026_09_36_35_29304.jpg
/home/pi/Desktop/images/07052026/09/35/image_07052026_09_35_35_30362.jpg
/home/pi/Desktop/images/07052026/09/34/image_07052026_09_35_05_29340.jpg
/home/pi/Desktop/images/07052026/09/34/image_07052026_09_34_36_30386.jpg
/home/pi/Desktop/images/07052026/09/33/image_07052026_09_34_05_30242.jpg
/home/pi/Desktop/images/07052026/09/32/image_07052026_09_33_06_30346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872666","1416872669","1416872665","1416872668","1416872670","1416872667"],"photo_ids_order":["1416872665","1416872666","1416872667","1416872668","1416872669","1416872670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0990515064632789dab1bb443561a827.jpg","text":"TemporaryFile(/tmp/multipartBody6785785021538634194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_35_35_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/332ada21c8d1623ccb775426946b2dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2955394523957798910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_34_05_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea81991921dcbcd680f2b438cdf1add2.jpg","text":"TemporaryFile(/tmp/multipartBody8404422302558377683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_36_35_29304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/147dcbe5feb7e5cb5693d42e93f44479.jpg","text":"TemporaryFile(/tmp/multipartBody2262909147433604874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_34_36_30386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee039bd935cdf6aa9ee7e79e7890ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody2350814246960721697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_33_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/247460740ba6a567d7cbf0bef144b48e.jpg","text":"TemporaryFile(/tmp/multipartBody1761447701747861428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778502966734,"filename":"image_07052026_09_35_05_29340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872667","file1":"1416872666","file0":"1416872665","file4":"1416872669","file5":"1416872670","file3":"1416872668"},"map_files_photo_id_array":[{"photo_id":"1416872670","filename":"file5"},{"photo_id":"1416872667","filename":"file2"},{"photo_id":"1416872669","filename":"file4"},{"photo_id":"1416872666","filename":"file1"},{"photo_id":"1416872665","filename":"file0"},{"photo_id":"1416872668","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872666":["hashtag1","hashtag2"]},{"1416872669":["hashtag1","hashtag2"]},{"1416872665":["hashtag1","hashtag2"]},{"1416872668":["hashtag1","hashtag2"]},{"1416872670":["hashtag1","hashtag2"]},{"1416872667":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872666, 1416872669, 1416872665, 1416872668, 1416872670, 1416872667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82072401046753 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:36:03.367428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/35/image_11052026_14_36_14_30059.jpg', '/home/pi/Desktop/images/11052026/14/33/image_11052026_14_34_14_30172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/35/image_11052026_14_36_14_30059.jpg
/home/pi/Desktop/images/11052026/14/33/image_11052026_14_34_14_30172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872675","1416872673"],"photo_ids_order":["1416872673","1416872675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19f6d397826e5f96c13a39a0c8708061.jpg","text":"TemporaryFile(/tmp/multipartBody9107114104029690067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503024822,"filename":"image_11052026_14_34_14_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec24882628a8d0112b99d7e1e56e9184.jpg","text":"TemporaryFile(/tmp/multipartBody3192681086281423590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503024822,"filename":"image_11052026_14_36_14_30059.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872675","file0":"1416872673"},"map_files_photo_id_array":[{"photo_id":"1416872675","filename":"file1"},{"photo_id":"1416872673","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872675":["hashtag1","hashtag2"]},{"1416872673":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872675, 1416872673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.113637924194336 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:37:03.577166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/21/image_07052026_09_21_35_29286.jpg', '/home/pi/Desktop/images/07052026/09/20/image_07052026_09_20_35_30225.jpg', '/home/pi/Desktop/images/07052026/09/19/image_07052026_09_20_05_30200.jpg', '/home/pi/Desktop/images/07052026/09/19/image_07052026_09_19_35_29258.jpg', '/home/pi/Desktop/images/07052026/09/17/image_07052026_09_18_05_30251.jpg', '/home/pi/Desktop/images/07052026/09/17/image_07052026_09_17_35_29268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/21/image_07052026_09_21_35_29286.jpg
/home/pi/Desktop/images/07052026/09/20/image_07052026_09_20_35_30225.jpg
/home/pi/Desktop/images/07052026/09/19/image_07052026_09_20_05_30200.jpg
/home/pi/Desktop/images/07052026/09/19/image_07052026_09_19_35_29258.jpg
/home/pi/Desktop/images/07052026/09/17/image_07052026_09_18_05_30251.jpg
/home/pi/Desktop/images/07052026/09/17/image_07052026_09_17_35_29268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872684","1416872687","1416872689","1416872692","1416872686","1416872691"],"photo_ids_order":["1416872684","1416872686","1416872687","1416872689","1416872691","1416872692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca1b7cb5f741ebda81d23a96c6e7a909.jpg","text":"TemporaryFile(/tmp/multipartBody8039340363259160622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_21_35_29286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e89f607de5d62efd062b58bc54fead3.jpg","text":"TemporaryFile(/tmp/multipartBody940209822937288168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_20_05_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfee6fac0ee69bc9c665e803b35f2a41.jpg","text":"TemporaryFile(/tmp/multipartBody1024104713929291217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_19_35_29258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15c71d4c41d1ebe47e900cdd6e0d588a.jpg","text":"TemporaryFile(/tmp/multipartBody3503949958175520456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_17_35_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/471c54240f37b0b5dc02d4987357093a.jpg","text":"TemporaryFile(/tmp/multipartBody1495397623595667148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_20_35_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9031b3d3d07d41a20a2019d94de663e.jpg","text":"TemporaryFile(/tmp/multipartBody2522542157086181693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503087204,"filename":"image_07052026_09_18_05_30251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872687","file1":"1416872686","file0":"1416872684","file4":"1416872691","file5":"1416872692","file3":"1416872689"},"map_files_photo_id_array":[{"photo_id":"1416872692","filename":"file5"},{"photo_id":"1416872687","filename":"file2"},{"photo_id":"1416872691","filename":"file4"},{"photo_id":"1416872686","filename":"file1"},{"photo_id":"1416872684","filename":"file0"},{"photo_id":"1416872689","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872684":["hashtag1","hashtag2"]},{"1416872687":["hashtag1","hashtag2"]},{"1416872689":["hashtag1","hashtag2"]},{"1416872692":["hashtag1","hashtag2"]},{"1416872686":["hashtag1","hashtag2"]},{"1416872691":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872684, 1416872687, 1416872689, 1416872692, 1416872686, 1416872691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0062370300293 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:38:03.778381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/38/image_11052026_14_38_44_30195.jpg', '/home/pi/Desktop/images/11052026/14/36/image_11052026_14_37_14_30318.jpg', '/home/pi/Desktop/images/11052026/14/36/image_11052026_14_36_44_30138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/38/image_11052026_14_38_44_30195.jpg
/home/pi/Desktop/images/11052026/14/36/image_11052026_14_37_14_30318.jpg
/home/pi/Desktop/images/11052026/14/36/image_11052026_14_36_44_30138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872695","1416872698","1416872696"],"photo_ids_order":["1416872695","1416872696","1416872698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd3184805ea92f7cb690b7f17c7b8e04.jpg","text":"TemporaryFile(/tmp/multipartBody5360448628774809841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503145333,"filename":"image_11052026_14_38_44_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17032af83e44f7399cbdf9181494fd00.jpg","text":"TemporaryFile(/tmp/multipartBody8364304712440060068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503145333,"filename":"image_11052026_14_36_44_30138.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bafa4473c498ad2d16fcf540e8564b1.jpg","text":"TemporaryFile(/tmp/multipartBody3365334682964474287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503145333,"filename":"image_11052026_14_37_14_30318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872698","file1":"1416872696","file0":"1416872695"},"map_files_photo_id_array":[{"photo_id":"1416872698","filename":"file2"},{"photo_id":"1416872696","filename":"file1"},{"photo_id":"1416872695","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872695":["hashtag1","hashtag2"]},{"1416872698":["hashtag1","hashtag2"]},{"1416872696":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872695, 1416872698, 1416872696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.532800912857056 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:39:04.421149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/37/image_11052026_14_37_44_30167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/37/image_11052026_14_37_44_30167.jpg
2026-05-11 14:39:04.698699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/37/image_11052026_14_38_13_29110.jpg', '/home/pi/Desktop/images/11052026/14/37/image_11052026_14_37_44_30167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/37/image_11052026_14_38_13_29110.jpg
/home/pi/Desktop/images/11052026/14/37/image_11052026_14_37_44_30167.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9040448665618896 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872703","1416872704"],"photo_ids_order":["1416872703","1416872704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5c644dd36da2f04e06b7f51788cb96f.jpg","text":"TemporaryFile(/tmp/multipartBody6718379668560509467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503206282,"filename":"image_11052026_14_38_13_29110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f85ece7d3d996f4b943694847b54fea.jpg","text":"TemporaryFile(/tmp/multipartBody3431227111512598605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503206282,"filename":"image_11052026_14_37_44_30167.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872704","file0":"1416872703"},"map_files_photo_id_array":[{"photo_id":"1416872704","filename":"file1"},{"photo_id":"1416872703","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872703":["hashtag1","hashtag2"]},{"1416872704":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872703, 1416872704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.883915185928345 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:40:03.283482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/16/image_07052026_09_17_06_30408.jpg', '/home/pi/Desktop/images/07052026/09/16/image_07052026_09_16_35_30287.jpg', '/home/pi/Desktop/images/07052026/09/15/image_07052026_09_16_05_29302.jpg', '/home/pi/Desktop/images/07052026/09/14/image_07052026_09_15_05_30248.jpg', '/home/pi/Desktop/images/07052026/09/06/image_07052026_09_07_05_30326.jpg', '/home/pi/Desktop/images/07052026/09/06/image_07052026_09_06_35_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/16/image_07052026_09_17_06_30408.jpg
/home/pi/Desktop/images/07052026/09/16/image_07052026_09_16_35_30287.jpg
/home/pi/Desktop/images/07052026/09/15/image_07052026_09_16_05_29302.jpg
/home/pi/Desktop/images/07052026/09/14/image_07052026_09_15_05_30248.jpg
/home/pi/Desktop/images/07052026/09/06/image_07052026_09_07_05_30326.jpg
/home/pi/Desktop/images/07052026/09/06/image_07052026_09_06_35_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872709","1416872705","1416872708","1416872707","1416872710","1416872706"],"photo_ids_order":["1416872705","1416872706","1416872707","1416872708","1416872709","1416872710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20ed87b586b0ac9290ed66def86d83b7.jpg","text":"TemporaryFile(/tmp/multipartBody8474755612732326508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_07_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22eeb1ef8661a56358e5bffd5e314a28.jpg","text":"TemporaryFile(/tmp/multipartBody4237810840374846737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_17_06_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea9b071328591c1bd37e4dde1e2506f5.jpg","text":"TemporaryFile(/tmp/multipartBody5455140897269160082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_15_05_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc0692a52618b0bf60d4a64e3439316c.jpg","text":"TemporaryFile(/tmp/multipartBody3352649403702296005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_16_05_29302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d55d4fcb9e95fef9d5197d0abb0bde89.jpg","text":"TemporaryFile(/tmp/multipartBody621314271645469131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_06_35_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ff88f815e9646ddd6a2644dd5a73a10.jpg","text":"TemporaryFile(/tmp/multipartBody239525213531609224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503266875,"filename":"image_07052026_09_16_35_30287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872707","file1":"1416872706","file0":"1416872705","file4":"1416872709","file5":"1416872710","file3":"1416872708"},"map_files_photo_id_array":[{"photo_id":"1416872710","filename":"file5"},{"photo_id":"1416872707","filename":"file2"},{"photo_id":"1416872709","filename":"file4"},{"photo_id":"1416872706","filename":"file1"},{"photo_id":"1416872705","filename":"file0"},{"photo_id":"1416872708","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872709":["hashtag1","hashtag2"]},{"1416872705":["hashtag1","hashtag2"]},{"1416872708":["hashtag1","hashtag2"]},{"1416872707":["hashtag1","hashtag2"]},{"1416872710":["hashtag1","hashtag2"]},{"1416872706":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872709, 1416872705, 1416872708, 1416872707, 1416872710, 1416872706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.159231424331665 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:41:03.863800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/39/image_11052026_14_40_14_30308.jpg', '/home/pi/Desktop/images/11052026/14/38/image_11052026_14_39_14_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/39/image_11052026_14_40_14_30308.jpg
/home/pi/Desktop/images/11052026/14/38/image_11052026_14_39_14_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872713","1416872712"],"photo_ids_order":["1416872712","1416872713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c31a55bf00a7338cc7474ab15eb71795.jpg","text":"TemporaryFile(/tmp/multipartBody8212366893754217255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503325934,"filename":"image_11052026_14_39_14_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a428c62aa744396431628eddfe83f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4876469845397487047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503325934,"filename":"image_11052026_14_40_14_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872713","file0":"1416872712"},"map_files_photo_id_array":[{"photo_id":"1416872713","filename":"file1"},{"photo_id":"1416872712","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872713":["hashtag1","hashtag2"]},{"1416872712":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872713, 1416872712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.13042950630188 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:42:03.492486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/05/image_07052026_09_06_06_30370.jpg', '/home/pi/Desktop/images/07052026/09/05/image_07052026_09_05_35_30286.jpg', '/home/pi/Desktop/images/07052026/09/04/image_07052026_09_05_05_30331.jpg', '/home/pi/Desktop/images/07052026/09/04/image_07052026_09_04_35_29365.jpg', '/home/pi/Desktop/images/07052026/09/03/image_07052026_09_03_35_29231.jpg', '/home/pi/Desktop/images/07052026/09/02/image_07052026_09_03_06_30372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/05/image_07052026_09_06_06_30370.jpg
/home/pi/Desktop/images/07052026/09/05/image_07052026_09_05_35_30286.jpg
/home/pi/Desktop/images/07052026/09/04/image_07052026_09_05_05_30331.jpg
/home/pi/Desktop/images/07052026/09/04/image_07052026_09_04_35_29365.jpg
/home/pi/Desktop/images/07052026/09/03/image_07052026_09_03_35_29231.jpg
/home/pi/Desktop/images/07052026/09/02/image_07052026_09_03_06_30372.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872715","1416872714","1416872717","1416872716","1416872719","1416872718"],"photo_ids_order":["1416872714","1416872715","1416872716","1416872717","1416872718","1416872719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba6e317c35f2ca075c43d00cac955f94.jpg","text":"TemporaryFile(/tmp/multipartBody2524838890257931768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_05_35_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c864d9da5da1b63372d4becab9e9ab8e.jpg","text":"TemporaryFile(/tmp/multipartBody8261303452187646636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_06_06_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1909fe35637d0f83cf8e92621770f860.jpg","text":"TemporaryFile(/tmp/multipartBody4656966803849375103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_04_35_29365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62c1af92b25e4c03f62cbcda3cd3419f.jpg","text":"TemporaryFile(/tmp/multipartBody7125699683689870820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_05_05_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/102f28b58cbf54f36db0b9615c544225.jpg","text":"TemporaryFile(/tmp/multipartBody2984954846582761698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_03_06_30372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1286593648b2109e0252c2812a6288a8.jpg","text":"TemporaryFile(/tmp/multipartBody333137726089534719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503387518,"filename":"image_07052026_09_03_35_29231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872716","file1":"1416872715","file0":"1416872714","file4":"1416872718","file5":"1416872719","file3":"1416872717"},"map_files_photo_id_array":[{"photo_id":"1416872719","filename":"file5"},{"photo_id":"1416872716","filename":"file2"},{"photo_id":"1416872718","filename":"file4"},{"photo_id":"1416872715","filename":"file1"},{"photo_id":"1416872714","filename":"file0"},{"photo_id":"1416872717","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872715":["hashtag1","hashtag2"]},{"1416872714":["hashtag1","hashtag2"]},{"1416872717":["hashtag1","hashtag2"]},{"1416872716":["hashtag1","hashtag2"]},{"1416872719":["hashtag1","hashtag2"]},{"1416872718":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872715, 1416872714, 1416872717, 1416872716, 1416872719, 1416872718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25775742530823 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:43:04.271367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/42/image_11052026_14_43_14_30172.jpg', '/home/pi/Desktop/images/11052026/14/42/image_11052026_14_42_44_30179.jpg', '/home/pi/Desktop/images/11052026/14/41/image_11052026_14_42_14_30293.jpg', '/home/pi/Desktop/images/11052026/14/41/image_11052026_14_41_44_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/42/image_11052026_14_43_14_30172.jpg
/home/pi/Desktop/images/11052026/14/42/image_11052026_14_42_44_30179.jpg
/home/pi/Desktop/images/11052026/14/41/image_11052026_14_42_14_30293.jpg
/home/pi/Desktop/images/11052026/14/41/image_11052026_14_41_44_30175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872720","1416872723","1416872726","1416872722"],"photo_ids_order":["1416872720","1416872722","1416872723","1416872726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5144f756e3c52258d5056c1112158545.jpg","text":"TemporaryFile(/tmp/multipartBody8657656637957294175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503446966,"filename":"image_11052026_14_43_14_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df5def307a921cafe062534bd88f1853.jpg","text":"TemporaryFile(/tmp/multipartBody7216962890077295052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503446966,"filename":"image_11052026_14_42_14_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3720f7fcc0ce79a8816164b45b499473.jpg","text":"TemporaryFile(/tmp/multipartBody4533892094782988823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503446966,"filename":"image_11052026_14_41_44_30175.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8b84621bbefab72eac5149c9539d609.jpg","text":"TemporaryFile(/tmp/multipartBody2282148454469979119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503446966,"filename":"image_11052026_14_42_44_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872723","file1":"1416872722","file0":"1416872720","file3":"1416872726"},"map_files_photo_id_array":[{"photo_id":"1416872723","filename":"file2"},{"photo_id":"1416872722","filename":"file1"},{"photo_id":"1416872720","filename":"file0"},{"photo_id":"1416872726","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872720":["hashtag1","hashtag2"]},{"1416872723":["hashtag1","hashtag2"]},{"1416872726":["hashtag1","hashtag2"]},{"1416872722":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872720, 1416872723, 1416872726, 1416872722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.99200963973999 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:44:03.955371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg', '/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg', '/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg', '/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg', '/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_21_35_29237.jpg
/home/pi/Desktop/images/07052026/02/21/image_07052026_02_22_05_30280.jpg
/home/pi/Desktop/images/07052026/02/22/image_07052026_02_23_05_29286.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_23_35_30326.jpg
/home/pi/Desktop/images/07052026/02/23/image_07052026_02_24_06_30401.jpg
/home/pi/Desktop/images/07052026/02/24/image_07052026_02_24_35_29232.jpg
2026-05-11 14:44:03.981881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/09/02/image_07052026_09_02_35_30348.jpg', '/home/pi/Desktop/images/07052026/09/00/image_07052026_09_01_06_30328.jpg', '/home/pi/Desktop/images/07052026/08/59/image_07052026_08_59_36_30224.jpg', '/home/pi/Desktop/images/07052026/08/58/image_07052026_08_59_05_30225.jpg', '/home/pi/Desktop/images/07052026/08/58/image_07052026_08_58_35_30247.jpg', '/home/pi/Desktop/images/07052026/08/57/image_07052026_08_58_05_29383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/09/02/image_07052026_09_02_35_30348.jpg
/home/pi/Desktop/images/07052026/09/00/image_07052026_09_01_06_30328.jpg
/home/pi/Desktop/images/07052026/08/59/image_07052026_08_59_36_30224.jpg
/home/pi/Desktop/images/07052026/08/58/image_07052026_08_59_05_30225.jpg
/home/pi/Desktop/images/07052026/08/58/image_07052026_08_58_35_30247.jpg
/home/pi/Desktop/images/07052026/08/57/image_07052026_08_58_05_29383.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872735","1416872744","1416872737","1416872742","1416872739","1416872733"],"photo_ids_order":["1416872733","1416872735","1416872737","1416872739","1416872742","1416872744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dfb12dfca3b24fa75421f79a1029184.jpg","text":"TemporaryFile(/tmp/multipartBody7598953551918658256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_09_01_06_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c812c1f632fcc536bfc77ebd8352a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7414749693473497824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_08_58_05_29383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7d36d11ffb2670fc2d90042b921d194.jpg","text":"TemporaryFile(/tmp/multipartBody3620658651831618104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_08_59_36_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13dc26393ce94b6d583ba4bef4f30217.jpg","text":"TemporaryFile(/tmp/multipartBody597879071493857778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_08_58_35_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e831c47c6a1402bdcd036392ee8b524.jpg","text":"TemporaryFile(/tmp/multipartBody7855997176324009521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_08_59_05_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/444c7ca570ec2a987f04e99b87dfc77f.jpg","text":"TemporaryFile(/tmp/multipartBody5933132494349831943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503511681,"filename":"image_07052026_09_02_35_30348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872737","file1":"1416872735","file0":"1416872733","file4":"1416872742","file5":"1416872744","file3":"1416872739"},"map_files_photo_id_array":[{"photo_id":"1416872744","filename":"file5"},{"photo_id":"1416872737","filename":"file2"},{"photo_id":"1416872742","filename":"file4"},{"photo_id":"1416872735","filename":"file1"},{"photo_id":"1416872733","filename":"file0"},{"photo_id":"1416872739","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872735":["hashtag1","hashtag2"]},{"1416872744":["hashtag1","hashtag2"]},{"1416872737":["hashtag1","hashtag2"]},{"1416872742":["hashtag1","hashtag2"]},{"1416872739":["hashtag1","hashtag2"]},{"1416872733":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872735, 1416872744, 1416872737, 1416872742, 1416872739, 1416872733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.248241901397705 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872732","1416872741","1416872738","1416872743","1416872734","1416872736"],"photo_ids_order":["1416872732","1416872734","1416872736","1416872738","1416872741","1416872743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/583244399965b5ac4b83052c6f954c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8804986097449567193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_21_35_29237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/71e5f5b668913ace2b46cb8452280b68.jpg","text":"TemporaryFile(/tmp/multipartBody1152798541240391833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_24_06_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d21376715a92fceb85a760fabc1d2e02.jpg","text":"TemporaryFile(/tmp/multipartBody8523706057886845356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_23_35_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1dd5cc6143a41fbeb71bec9332dabc5e.jpg","text":"TemporaryFile(/tmp/multipartBody6073974145336473508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_24_35_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6063406094acaed609799c6172908619.jpg","text":"TemporaryFile(/tmp/multipartBody682550017635185068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_22_05_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb8bee9f02152d62bea79d99e1be80bd.jpg","text":"TemporaryFile(/tmp/multipartBody956138647678382992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503510625,"filename":"image_07052026_02_23_05_29286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872736","file1":"1416872734","file0":"1416872732","file4":"1416872741","file5":"1416872743","file3":"1416872738"},"map_files_photo_id_array":[{"photo_id":"1416872743","filename":"file5"},{"photo_id":"1416872736","filename":"file2"},{"photo_id":"1416872741","filename":"file4"},{"photo_id":"1416872734","filename":"file1"},{"photo_id":"1416872732","filename":"file0"},{"photo_id":"1416872738","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872732":["hashtag1","hashtag2"]},{"1416872741":["hashtag1","hashtag2"]},{"1416872738":["hashtag1","hashtag2"]},{"1416872743":["hashtag1","hashtag2"]},{"1416872734":["hashtag1","hashtag2"]},{"1416872736":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872732, 1416872741, 1416872738, 1416872743, 1416872734, 1416872736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.462440490722656 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:45:03.639282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/43/image_11052026_14_43_44_30114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/43/image_11052026_14_43_44_30114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872746"],"photo_id":"1416872746","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7bc6b508a84178f01e796c67ff909668.jpg","text":"TemporaryFile(/tmp/multipartBody5955103023896389254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503564867,"filename":"image_11052026_14_43_44_30114.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872746"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872746"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.935696840286255 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:46:03.618976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/57/image_07052026_08_57_36_30493.jpg', '/home/pi/Desktop/images/07052026/08/56/image_07052026_08_56_36_30344.jpg', '/home/pi/Desktop/images/07052026/08/54/image_07052026_08_55_05_29225.jpg', '/home/pi/Desktop/images/07052026/08/53/image_07052026_08_54_05_30239.jpg', '/home/pi/Desktop/images/07052026/08/53/image_07052026_08_53_35_29240.jpg', '/home/pi/Desktop/images/07052026/08/52/image_07052026_08_53_06_30321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/57/image_07052026_08_57_36_30493.jpg
/home/pi/Desktop/images/07052026/08/56/image_07052026_08_56_36_30344.jpg
/home/pi/Desktop/images/07052026/08/54/image_07052026_08_55_05_29225.jpg
/home/pi/Desktop/images/07052026/08/53/image_07052026_08_54_05_30239.jpg
/home/pi/Desktop/images/07052026/08/53/image_07052026_08_53_35_29240.jpg
/home/pi/Desktop/images/07052026/08/52/image_07052026_08_53_06_30321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872750","1416872753","1416872752","1416872749","1416872748","1416872751"],"photo_ids_order":["1416872748","1416872749","1416872750","1416872751","1416872752","1416872753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b495a5869ada46ed292abdcb4ff846a6.jpg","text":"TemporaryFile(/tmp/multipartBody8848751927558541647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_55_05_29225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5049f6e689e9b4ef0e930d32e0e6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody9075973950690834739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_53_06_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29e103f1fe5325a34aedd32a9d4a141f.jpg","text":"TemporaryFile(/tmp/multipartBody3606513389440020708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_53_35_29240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5da80922cce44e8c6c5d7803e29bafe.jpg","text":"TemporaryFile(/tmp/multipartBody2968334887104497610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_56_36_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/634b9c136c6e75f987882e356edf3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4415861408316725898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_57_36_30493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0eb573e49261f7dd7547c92237a4a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8043269509994429306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503627413,"filename":"image_07052026_08_54_05_30239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872750","file1":"1416872749","file0":"1416872748","file4":"1416872752","file5":"1416872753","file3":"1416872751"},"map_files_photo_id_array":[{"photo_id":"1416872753","filename":"file5"},{"photo_id":"1416872750","filename":"file2"},{"photo_id":"1416872752","filename":"file4"},{"photo_id":"1416872749","filename":"file1"},{"photo_id":"1416872748","filename":"file0"},{"photo_id":"1416872751","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872750":["hashtag1","hashtag2"]},{"1416872753":["hashtag1","hashtag2"]},{"1416872752":["hashtag1","hashtag2"]},{"1416872749":["hashtag1","hashtag2"]},{"1416872748":["hashtag1","hashtag2"]},{"1416872751":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872750, 1416872753, 1416872752, 1416872749, 1416872748, 1416872751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44641613960266 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:47:04.174663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/52/image_07052026_08_52_35_30174.jpg', '/home/pi/Desktop/images/07052026/08/48/image_07052026_08_48_35_30349.jpg', '/home/pi/Desktop/images/07052026/08/47/image_07052026_08_48_05_29290.jpg', '/home/pi/Desktop/images/07052026/08/44/image_07052026_08_45_05_30274.jpg', '/home/pi/Desktop/images/07052026/08/44/image_07052026_08_44_35_29249.jpg', '/home/pi/Desktop/images/07052026/08/43/image_07052026_08_44_06_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/52/image_07052026_08_52_35_30174.jpg
/home/pi/Desktop/images/07052026/08/48/image_07052026_08_48_35_30349.jpg
/home/pi/Desktop/images/07052026/08/47/image_07052026_08_48_05_29290.jpg
/home/pi/Desktop/images/07052026/08/44/image_07052026_08_45_05_30274.jpg
/home/pi/Desktop/images/07052026/08/44/image_07052026_08_44_35_29249.jpg
/home/pi/Desktop/images/07052026/08/43/image_07052026_08_44_06_30245.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3227245807647705 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:48:03.535576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/52/image_07052026_08_52_35_30174.jpg', '/home/pi/Desktop/images/07052026/08/48/image_07052026_08_48_35_30349.jpg', '/home/pi/Desktop/images/07052026/08/47/image_07052026_08_48_05_29290.jpg', '/home/pi/Desktop/images/07052026/08/44/image_07052026_08_45_05_30274.jpg', '/home/pi/Desktop/images/07052026/08/44/image_07052026_08_44_35_29249.jpg', '/home/pi/Desktop/images/07052026/08/43/image_07052026_08_44_06_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/52/image_07052026_08_52_35_30174.jpg
/home/pi/Desktop/images/07052026/08/48/image_07052026_08_48_35_30349.jpg
/home/pi/Desktop/images/07052026/08/47/image_07052026_08_48_05_29290.jpg
/home/pi/Desktop/images/07052026/08/44/image_07052026_08_45_05_30274.jpg
/home/pi/Desktop/images/07052026/08/44/image_07052026_08_44_35_29249.jpg
/home/pi/Desktop/images/07052026/08/43/image_07052026_08_44_06_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872765","1416872762","1416872761","1416872764","1416872760","1416872763"],"photo_ids_order":["1416872760","1416872761","1416872762","1416872763","1416872764","1416872765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3901506a8a27d36a731f9aa300bf73c.jpg","text":"TemporaryFile(/tmp/multipartBody5674955542074978069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_44_06_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bf018f1a4697efdc6fea2200395a641.jpg","text":"TemporaryFile(/tmp/multipartBody5957465511124882327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_48_05_29290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fb46e4b111d7fa4bcf4f454ebdc1746.jpg","text":"TemporaryFile(/tmp/multipartBody8171766023124853495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_48_35_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b41b11dc729a44f1d991bd98bd594701.jpg","text":"TemporaryFile(/tmp/multipartBody8541660131409667894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_44_35_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/652f0eead2a720393904a31976702b98.jpg","text":"TemporaryFile(/tmp/multipartBody2181919574492951128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_52_35_30174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28bec53d935fa10108e2176d92fce1ad.jpg","text":"TemporaryFile(/tmp/multipartBody8651004387087017921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503747380,"filename":"image_07052026_08_45_05_30274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872762","file1":"1416872761","file0":"1416872760","file4":"1416872764","file5":"1416872765","file3":"1416872763"},"map_files_photo_id_array":[{"photo_id":"1416872765","filename":"file5"},{"photo_id":"1416872762","filename":"file2"},{"photo_id":"1416872764","filename":"file4"},{"photo_id":"1416872761","filename":"file1"},{"photo_id":"1416872760","filename":"file0"},{"photo_id":"1416872763","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872765":["hashtag1","hashtag2"]},{"1416872762":["hashtag1","hashtag2"]},{"1416872761":["hashtag1","hashtag2"]},{"1416872764":["hashtag1","hashtag2"]},{"1416872760":["hashtag1","hashtag2"]},{"1416872763":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872765, 1416872762, 1416872761, 1416872764, 1416872760, 1416872763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.08836245536804 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:49:04.434125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/43/image_11052026_14_44_14_29102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/43/image_11052026_14_44_14_29102.jpg
2026-05-11 14:49:04.573418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/48/image_11052026_14_48_44_30187.jpg', '/home/pi/Desktop/images/11052026/14/43/image_11052026_14_44_14_29102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/48/image_11052026_14_48_44_30187.jpg
/home/pi/Desktop/images/11052026/14/43/image_11052026_14_44_14_29102.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4784388542175293 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872767"],"photo_id":"1416872767","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62d3652f8c3e10704dd718b124ac047c.jpg","text":"TemporaryFile(/tmp/multipartBody1090401733843503114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503805674,"filename":"image_11052026_14_44_14_29102.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872767"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872767"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.288198709487915 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:50:03.374948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/48/image_11052026_14_48_44_30187.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/48/image_11052026_14_48_44_30187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872774"],"photo_id":"1416872774","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0e3b44d419841466536f61f16ecc2c1.jpg","text":"TemporaryFile(/tmp/multipartBody2406535043779041451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503864483,"filename":"image_11052026_14_48_44_30187.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872774"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872774"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.41938829421997 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:51:03.836626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/48/image_11052026_14_49_14_30094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/48/image_11052026_14_49_14_30094.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872776"],"photo_id":"1416872776","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c14f3795c98fe2b1861dfb0036dab38e.jpg","text":"TemporaryFile(/tmp/multipartBody6313522121936192915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503924870,"filename":"image_11052026_14_49_14_30094.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872776"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872776"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.051763772964478 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:52:03.251386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/50/image_11052026_14_51_13_29119.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/50/image_11052026_14_51_13_29119.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872778"],"photo_id":"1416872778","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fe6c80e73b30d087ee9c9e669131641.jpg","text":"TemporaryFile(/tmp/multipartBody4487857922934319238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778503984413,"filename":"image_11052026_14_51_13_29119.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872778"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872778"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.84668517112732 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:53:03.904455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/42/image_07052026_08_43_05_29241.jpg', '/home/pi/Desktop/images/07052026/08/34/image_07052026_08_34_35_29327.jpg', '/home/pi/Desktop/images/07052026/08/33/image_07052026_08_34_06_30359.jpg', '/home/pi/Desktop/images/07052026/08/30/image_07052026_08_30_36_30266.jpg', '/home/pi/Desktop/images/07052026/08/29/image_07052026_08_30_05_30402.jpg', '/home/pi/Desktop/images/07052026/08/28/image_07052026_08_29_06_30342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/42/image_07052026_08_43_05_29241.jpg
/home/pi/Desktop/images/07052026/08/34/image_07052026_08_34_35_29327.jpg
/home/pi/Desktop/images/07052026/08/33/image_07052026_08_34_06_30359.jpg
/home/pi/Desktop/images/07052026/08/30/image_07052026_08_30_36_30266.jpg
/home/pi/Desktop/images/07052026/08/29/image_07052026_08_30_05_30402.jpg
/home/pi/Desktop/images/07052026/08/28/image_07052026_08_29_06_30342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872783","1416872786","1416872780","1416872782","1416872785","1416872779"],"photo_ids_order":["1416872779","1416872780","1416872782","1416872783","1416872785","1416872786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5232a89f487b82b705299075b039afd.jpg","text":"TemporaryFile(/tmp/multipartBody2468934265518371958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_30_36_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f620c23ac7522efd3fe6ece1f5c79a1.jpg","text":"TemporaryFile(/tmp/multipartBody229674721987559704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_29_06_30342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccc9979e6ac07eaaaf206b42a1914844.jpg","text":"TemporaryFile(/tmp/multipartBody2448899410863448789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_34_35_29327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c650c296db0026e4430fe32b12664498.jpg","text":"TemporaryFile(/tmp/multipartBody493381032838262233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_34_06_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc4d5adcb0625497caebad451a64375f.jpg","text":"TemporaryFile(/tmp/multipartBody5279615569757662606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_30_05_30402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd0ca82f2a1873aeed49bd8d5c19a942.jpg","text":"TemporaryFile(/tmp/multipartBody3445535490042676019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504047425,"filename":"image_07052026_08_43_05_29241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872782","file1":"1416872780","file0":"1416872779","file4":"1416872785","file5":"1416872786","file3":"1416872783"},"map_files_photo_id_array":[{"photo_id":"1416872786","filename":"file5"},{"photo_id":"1416872782","filename":"file2"},{"photo_id":"1416872785","filename":"file4"},{"photo_id":"1416872780","filename":"file1"},{"photo_id":"1416872779","filename":"file0"},{"photo_id":"1416872783","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872783":["hashtag1","hashtag2"]},{"1416872786":["hashtag1","hashtag2"]},{"1416872780":["hashtag1","hashtag2"]},{"1416872782":["hashtag1","hashtag2"]},{"1416872785":["hashtag1","hashtag2"]},{"1416872779":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872783, 1416872786, 1416872780, 1416872782, 1416872785, 1416872779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71789884567261 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:54:03.896241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/52/image_11052026_14_52_44_30240.jpg', '/home/pi/Desktop/images/11052026/14/52/image_11052026_14_53_14_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/52/image_11052026_14_52_44_30240.jpg
/home/pi/Desktop/images/11052026/14/52/image_11052026_14_53_14_30305.jpg
2026-05-11 14:54:03.962685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/52/image_11052026_14_53_14_30305.jpg', '/home/pi/Desktop/images/11052026/14/52/image_11052026_14_52_44_30240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/52/image_11052026_14_53_14_30305.jpg
/home/pi/Desktop/images/11052026/14/52/image_11052026_14_52_44_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872789","1416872787"],"photo_ids_order":["1416872787","1416872789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83fa3d18c9be5952a252381e219c01f7.jpg","text":"TemporaryFile(/tmp/multipartBody5974505786311269116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504106472,"filename":"image_11052026_14_53_14_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b32857de0a6abc260d73a732e84c5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4936913973721764460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504106472,"filename":"image_11052026_14_52_44_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872789","file0":"1416872787"},"map_files_photo_id_array":[{"photo_id":"1416872789","filename":"file1"},{"photo_id":"1416872787","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872789":["hashtag1","hashtag2"]},{"1416872787":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872789, 1416872787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.97446918487549 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872788","1416872790"],"photo_ids_order":["1416872788","1416872790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6aa1fceb11130bc4428b93a6c93d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5250330775684598004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504106572,"filename":"image_11052026_14_53_14_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd6432d55fa6b79c17bebd351e4c8d96.jpg","text":"TemporaryFile(/tmp/multipartBody1669403164200900018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504106572,"filename":"image_11052026_14_52_44_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872790","file0":"1416872788"},"map_files_photo_id_array":[{"photo_id":"1416872790","filename":"file1"},{"photo_id":"1416872788","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872788":["hashtag1","hashtag2"]},{"1416872790":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872788, 1416872790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.400307655334473 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 14:59:04.235546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/54/image_11052026_14_54_44_30205.jpg', '/home/pi/Desktop/images/11052026/14/56/image_11052026_14_56_43_28969.jpg', '/home/pi/Desktop/images/11052026/14/57/image_11052026_14_57_44_30112.jpg', '/home/pi/Desktop/images/11052026/14/57/image_11052026_14_58_14_30185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/54/image_11052026_14_54_44_30205.jpg
/home/pi/Desktop/images/11052026/14/56/image_11052026_14_56_43_28969.jpg
/home/pi/Desktop/images/11052026/14/57/image_11052026_14_57_44_30112.jpg
/home/pi/Desktop/images/11052026/14/57/image_11052026_14_58_14_30185.jpg
2026-05-11 14:59:04.697363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/58/image_11052026_14_59_14_30229.jpg', '/home/pi/Desktop/images/11052026/14/58/image_11052026_14_58_44_30184.jpg', '/home/pi/Desktop/images/11052026/14/57/image_11052026_14_58_14_30185.jpg', '/home/pi/Desktop/images/11052026/14/57/image_11052026_14_57_44_30112.jpg', '/home/pi/Desktop/images/11052026/14/56/image_11052026_14_56_43_28969.jpg', '/home/pi/Desktop/images/11052026/14/54/image_11052026_14_54_44_30205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/58/image_11052026_14_59_14_30229.jpg
/home/pi/Desktop/images/11052026/14/58/image_11052026_14_58_44_30184.jpg
/home/pi/Desktop/images/11052026/14/57/image_11052026_14_58_14_30185.jpg
/home/pi/Desktop/images/11052026/14/57/image_11052026_14_57_44_30112.jpg
/home/pi/Desktop/images/11052026/14/56/image_11052026_14_56_43_28969.jpg
/home/pi/Desktop/images/11052026/14/54/image_11052026_14_54_44_30205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872814","1416872816","1416872812","1416872809"],"photo_ids_order":["1416872809","1416872812","1416872814","1416872816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2ec817c8b9353132aeb8d439cbccc0d.jpg","text":"TemporaryFile(/tmp/multipartBody4241200434780452340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504409316,"filename":"image_11052026_14_57_44_30112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ccec49fa76623eaec90d47a3d48fb87.jpg","text":"TemporaryFile(/tmp/multipartBody4140112054832187200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504409316,"filename":"image_11052026_14_58_14_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40eec108c6c32bc449fd9406e9d48c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1255830464509090932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504409316,"filename":"image_11052026_14_56_43_28969.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e34bffbfe7cee523027bf247582a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody178414963021128562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504409316,"filename":"image_11052026_14_54_44_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872814","file1":"1416872812","file0":"1416872809","file3":"1416872816"},"map_files_photo_id_array":[{"photo_id":"1416872814","filename":"file2"},{"photo_id":"1416872812","filename":"file1"},{"photo_id":"1416872809","filename":"file0"},{"photo_id":"1416872816","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872814":["hashtag1","hashtag2"]},{"1416872816":["hashtag1","hashtag2"]},{"1416872812":["hashtag1","hashtag2"]},{"1416872809":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872814, 1416872816, 1416872812, 1416872809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.53005814552307 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872808","1416872813","1416872810","1416872815","1416872818","1416872817"],"photo_ids_order":["1416872808","1416872810","1416872813","1416872815","1416872817","1416872818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f514a54838f9d4ea1964a1c84242e60.jpg","text":"TemporaryFile(/tmp/multipartBody2896065945475898171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_59_14_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17e2441781b64ab591e633b51af2bf32.jpg","text":"TemporaryFile(/tmp/multipartBody1082093783636990000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_58_14_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44a2e75d533f71c7d327ef27304b32eb.jpg","text":"TemporaryFile(/tmp/multipartBody4825799112588302902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_58_44_30184.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4699d8761428b2bde83094e01ee00d17.jpg","text":"TemporaryFile(/tmp/multipartBody7613683599665725837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_57_44_30112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da645dcd1334ab22857340ad8763d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody741807809727448307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_54_44_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80144466f099f17c79efc3d7e626a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1680906047430255867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504408542,"filename":"image_11052026_14_56_43_28969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872813","file1":"1416872810","file0":"1416872808","file4":"1416872817","file5":"1416872818","file3":"1416872815"},"map_files_photo_id_array":[{"photo_id":"1416872818","filename":"file5"},{"photo_id":"1416872813","filename":"file2"},{"photo_id":"1416872817","filename":"file4"},{"photo_id":"1416872810","filename":"file1"},{"photo_id":"1416872808","filename":"file0"},{"photo_id":"1416872815","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872808":["hashtag1","hashtag2"]},{"1416872813":["hashtag1","hashtag2"]},{"1416872810":["hashtag1","hashtag2"]},{"1416872815":["hashtag1","hashtag2"]},{"1416872818":["hashtag1","hashtag2"]},{"1416872817":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872808, 1416872813, 1416872810, 1416872815, 1416872818, 1416872817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82356023788452 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:00:03.219131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/59/image_11052026_15_00_13_29102.jpg', '/home/pi/Desktop/images/11052026/14/59/image_11052026_14_59_44_30174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/59/image_11052026_15_00_13_29102.jpg
/home/pi/Desktop/images/11052026/14/59/image_11052026_14_59_44_30174.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1583881378173828 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:01:03.456908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/14/59/image_11052026_15_00_13_29102.jpg', '/home/pi/Desktop/images/11052026/14/59/image_11052026_14_59_44_30174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/14/59/image_11052026_15_00_13_29102.jpg
/home/pi/Desktop/images/11052026/14/59/image_11052026_14_59_44_30174.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872825","1416872824"],"photo_ids_order":["1416872824","1416872825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ffeb99258e7e034f16b4b1529e17824e.jpg","text":"TemporaryFile(/tmp/multipartBody2298691986848538120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504524935,"filename":"image_11052026_14_59_44_30174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfd6af7d77461035854a69735443cac3.jpg","text":"TemporaryFile(/tmp/multipartBody6465570942423452399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504524935,"filename":"image_11052026_15_00_13_29102.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872825","file0":"1416872824"},"map_files_photo_id_array":[{"photo_id":"1416872825","filename":"file1"},{"photo_id":"1416872824","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872825":["hashtag1","hashtag2"]},{"1416872824":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872825, 1416872824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.24832773208618 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:02:03.141306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/00/image_11052026_15_01_14_30133.jpg', '/home/pi/Desktop/images/11052026/15/00/image_11052026_15_00_44_30164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/00/image_11052026_15_01_14_30133.jpg
/home/pi/Desktop/images/11052026/15/00/image_11052026_15_00_44_30164.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872828","1416872827"],"photo_ids_order":["1416872827","1416872828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/574a50854c2a2b9d00dd723b2eaa3e7c.jpg","text":"TemporaryFile(/tmp/multipartBody9026486138657222979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504584775,"filename":"image_11052026_15_00_44_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/091272133bc0345a7069afda2aa649e1.jpg","text":"TemporaryFile(/tmp/multipartBody1238053228555376076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504584775,"filename":"image_11052026_15_01_14_30133.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872828","file0":"1416872827"},"map_files_photo_id_array":[{"photo_id":"1416872828","filename":"file1"},{"photo_id":"1416872827","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872828":["hashtag1","hashtag2"]},{"1416872827":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872828, 1416872827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.25241231918335 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:03:03.642263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/01/image_11052026_15_02_14_30245.jpg', '/home/pi/Desktop/images/11052026/15/01/image_11052026_15_01_44_30155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/01/image_11052026_15_02_14_30245.jpg
/home/pi/Desktop/images/11052026/15/01/image_11052026_15_01_44_30155.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872831","1416872832"],"photo_ids_order":["1416872831","1416872832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99c3ece3cc6db2e4e93500d25e658b75.jpg","text":"TemporaryFile(/tmp/multipartBody4012149247268520499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504661419,"filename":"image_11052026_15_02_14_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/60bf9b266627acc7f023dea08dfd67dc.jpg","text":"TemporaryFile(/tmp/multipartBody6207364191309129174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504661419,"filename":"image_11052026_15_01_44_30155.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872832","file0":"1416872831"},"map_files_photo_id_array":[{"photo_id":"1416872832","filename":"file1"},{"photo_id":"1416872831","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872831":["hashtag1","hashtag2"]},{"1416872832":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872831, 1416872832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 36.26925539970398 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:04:03.713210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/25/image_07052026_02_25_36_30442.jpg', '/home/pi/Desktop/images/07052026/02/25/image_07052026_02_26_05_29285.jpg', '/home/pi/Desktop/images/07052026/02/27/image_07052026_02_28_06_30441.jpg', '/home/pi/Desktop/images/07052026/02/30/image_07052026_02_31_05_29227.jpg', '/home/pi/Desktop/images/07052026/02/31/image_07052026_02_31_35_30364.jpg', '/home/pi/Desktop/images/07052026/02/32/image_07052026_02_33_05_29255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/25/image_07052026_02_25_36_30442.jpg
/home/pi/Desktop/images/07052026/02/25/image_07052026_02_26_05_29285.jpg
/home/pi/Desktop/images/07052026/02/27/image_07052026_02_28_06_30441.jpg
/home/pi/Desktop/images/07052026/02/30/image_07052026_02_31_05_29227.jpg
/home/pi/Desktop/images/07052026/02/31/image_07052026_02_31_35_30364.jpg
/home/pi/Desktop/images/07052026/02/32/image_07052026_02_33_05_29255.jpg
2026-05-11 15:04:04.031188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/03/image_11052026_15_04_14_30233.jpg', '/home/pi/Desktop/images/11052026/15/02/image_11052026_15_02_44_30174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/03/image_11052026_15_04_14_30233.jpg
/home/pi/Desktop/images/11052026/15/02/image_11052026_15_02_44_30174.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872834","1416872836"],"photo_ids_order":["1416872834","1416872836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33d3575e2b6d0f9adace3c6277817cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4455942066659258080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504707105,"filename":"image_11052026_15_04_14_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f765bc3c238b5702c0dbfa7f73bb9c3.jpg","text":"TemporaryFile(/tmp/multipartBody4282438524540182922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504707105,"filename":"image_11052026_15_02_44_30174.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872836","file0":"1416872834"},"map_files_photo_id_array":[{"photo_id":"1416872836","filename":"file1"},{"photo_id":"1416872834","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872834":["hashtag1","hashtag2"]},{"1416872836":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872834, 1416872836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.671669960021973 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872840","1416872837","1416872842","1416872841","1416872835","1416872838"],"photo_ids_order":["1416872835","1416872837","1416872838","1416872840","1416872841","1416872842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84363cd48518f4d6ebf7976e004de8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6862474922803701272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_31_05_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac68fb97157e59491ed76f0d10293229.jpg","text":"TemporaryFile(/tmp/multipartBody351037584296566786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_26_05_29285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2329eaafdd5d95acb53e3f5520c05f0c.jpg","text":"TemporaryFile(/tmp/multipartBody9069051282988298749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_33_05_29255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c94fe21a3117af877d122d76d03e169.jpg","text":"TemporaryFile(/tmp/multipartBody293656443514688653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_31_35_30364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bcaa9320e3ee72b89f8b24e9eea08a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3215611452521591918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_25_36_30442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f09e52872d628712c4d50f7beb450da.jpg","text":"TemporaryFile(/tmp/multipartBody8589076472848277888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504708263,"filename":"image_07052026_02_28_06_30441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872838","file1":"1416872837","file0":"1416872835","file4":"1416872841","file5":"1416872842","file3":"1416872840"},"map_files_photo_id_array":[{"photo_id":"1416872842","filename":"file5"},{"photo_id":"1416872838","filename":"file2"},{"photo_id":"1416872841","filename":"file4"},{"photo_id":"1416872837","filename":"file1"},{"photo_id":"1416872835","filename":"file0"},{"photo_id":"1416872840","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872840":["hashtag1","hashtag2"]},{"1416872837":["hashtag1","hashtag2"]},{"1416872842":["hashtag1","hashtag2"]},{"1416872841":["hashtag1","hashtag2"]},{"1416872835":["hashtag1","hashtag2"]},{"1416872838":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872840, 1416872837, 1416872842, 1416872841, 1416872835, 1416872838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70845556259155 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:05:04.370666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/04/image_11052026_15_05_14_30212.jpg', '/home/pi/Desktop/images/11052026/15/04/image_11052026_15_04_44_30078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/04/image_11052026_15_05_14_30212.jpg
/home/pi/Desktop/images/11052026/15/04/image_11052026_15_04_44_30078.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872852","1416872850"],"photo_ids_order":["1416872850","1416872852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/78a54ffe252711bd9c66f1dc4f8c8eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6357668599804718044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504765831,"filename":"image_11052026_15_04_44_30078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d01d93916c052691b6c8d54ce0b7b564.jpg","text":"TemporaryFile(/tmp/multipartBody7917424143343639863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504765831,"filename":"image_11052026_15_05_14_30212.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872852","file0":"1416872850"},"map_files_photo_id_array":[{"photo_id":"1416872852","filename":"file1"},{"photo_id":"1416872850","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872852":["hashtag1","hashtag2"]},{"1416872850":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872852, 1416872850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.722548246383667 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:06:03.007600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/28/image_07052026_08_28_35_30274.jpg', '/home/pi/Desktop/images/07052026/08/20/image_07052026_08_21_06_30360.jpg', '/home/pi/Desktop/images/07052026/08/20/image_07052026_08_20_35_30335.jpg', '/home/pi/Desktop/images/07052026/08/19/image_07052026_08_20_05_29208.jpg', '/home/pi/Desktop/images/07052026/08/17/image_07052026_08_17_36_30433.jpg', '/home/pi/Desktop/images/07052026/08/16/image_07052026_08_17_05_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/28/image_07052026_08_28_35_30274.jpg
/home/pi/Desktop/images/07052026/08/20/image_07052026_08_21_06_30360.jpg
/home/pi/Desktop/images/07052026/08/20/image_07052026_08_20_35_30335.jpg
/home/pi/Desktop/images/07052026/08/19/image_07052026_08_20_05_29208.jpg
/home/pi/Desktop/images/07052026/08/17/image_07052026_08_17_36_30433.jpg
/home/pi/Desktop/images/07052026/08/16/image_07052026_08_17_05_30292.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872858","1416872855","1416872857","1416872854","1416872856","1416872859"],"photo_ids_order":["1416872854","1416872855","1416872856","1416872857","1416872858","1416872859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea97044456cfa7a36abcd27d4421da26.jpg","text":"TemporaryFile(/tmp/multipartBody5348687775989614916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_17_36_30433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c45688359bb6eb7a9d23bed4ea0ac3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1881646356476087349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_21_06_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9659e17a7adc875caf022015373fe2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5330563111189458847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_20_05_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/41239ef2d67132d47d485358053b3476.jpg","text":"TemporaryFile(/tmp/multipartBody916657826044015203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_28_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0b03e29ae2a997537825d7417e9e361.jpg","text":"TemporaryFile(/tmp/multipartBody4385008909651148206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_20_35_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5df076dff45aebb4469c22436d776008.jpg","text":"TemporaryFile(/tmp/multipartBody1008023344176272020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504826594,"filename":"image_07052026_08_17_05_30292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872856","file1":"1416872855","file0":"1416872854","file4":"1416872858","file5":"1416872859","file3":"1416872857"},"map_files_photo_id_array":[{"photo_id":"1416872859","filename":"file5"},{"photo_id":"1416872856","filename":"file2"},{"photo_id":"1416872858","filename":"file4"},{"photo_id":"1416872855","filename":"file1"},{"photo_id":"1416872854","filename":"file0"},{"photo_id":"1416872857","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872858":["hashtag1","hashtag2"]},{"1416872855":["hashtag1","hashtag2"]},{"1416872857":["hashtag1","hashtag2"]},{"1416872854":["hashtag1","hashtag2"]},{"1416872856":["hashtag1","hashtag2"]},{"1416872859":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872858, 1416872855, 1416872857, 1416872854, 1416872856, 1416872859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37701416015625 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:07:04.645430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/06/image_11052026_15_07_14_30098.jpg', '/home/pi/Desktop/images/11052026/15/06/image_11052026_15_06_44_30164.jpg', '/home/pi/Desktop/images/11052026/15/05/image_11052026_15_06_13_29168.jpg', '/home/pi/Desktop/images/11052026/15/05/image_11052026_15_05_44_30127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/06/image_11052026_15_07_14_30098.jpg
/home/pi/Desktop/images/11052026/15/06/image_11052026_15_06_44_30164.jpg
/home/pi/Desktop/images/11052026/15/05/image_11052026_15_06_13_29168.jpg
/home/pi/Desktop/images/11052026/15/05/image_11052026_15_05_44_30127.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.8426620960235596 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:08:03.106972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/06/image_11052026_15_07_14_30098.jpg', '/home/pi/Desktop/images/11052026/15/06/image_11052026_15_06_44_30164.jpg', '/home/pi/Desktop/images/11052026/15/05/image_11052026_15_06_13_29168.jpg', '/home/pi/Desktop/images/11052026/15/05/image_11052026_15_05_44_30127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/06/image_11052026_15_07_14_30098.jpg
/home/pi/Desktop/images/11052026/15/06/image_11052026_15_06_44_30164.jpg
/home/pi/Desktop/images/11052026/15/05/image_11052026_15_06_13_29168.jpg
/home/pi/Desktop/images/11052026/15/05/image_11052026_15_05_44_30127.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872867","1416872866","1416872865","1416872868"],"photo_ids_order":["1416872865","1416872866","1416872867","1416872868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e9fa1acdc5bd67903f5e28c4e49b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6886883288543390128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504945459,"filename":"image_11052026_15_06_13_29168.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad910199efcbaef54730ce25a31cba13.jpg","text":"TemporaryFile(/tmp/multipartBody95485127903740646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504945459,"filename":"image_11052026_15_06_44_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a13b5b977f39a2000e1e5bdee7ae2a93.jpg","text":"TemporaryFile(/tmp/multipartBody1271929010085461327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504945459,"filename":"image_11052026_15_07_14_30098.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f0197403c41038463fb1d942f0b1680.jpg","text":"TemporaryFile(/tmp/multipartBody5970662278805923993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778504945459,"filename":"image_11052026_15_05_44_30127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872867","file1":"1416872866","file0":"1416872865","file3":"1416872868"},"map_files_photo_id_array":[{"photo_id":"1416872867","filename":"file2"},{"photo_id":"1416872866","filename":"file1"},{"photo_id":"1416872865","filename":"file0"},{"photo_id":"1416872868","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872867":["hashtag1","hashtag2"]},{"1416872866":["hashtag1","hashtag2"]},{"1416872865":["hashtag1","hashtag2"]},{"1416872868":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872867, 1416872866, 1416872865, 1416872868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.377659559249878 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:09:04.703754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/07/image_11052026_15_07_44_30088.jpg', '/home/pi/Desktop/images/11052026/15/07/image_11052026_15_08_14_30071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/07/image_11052026_15_07_44_30088.jpg
/home/pi/Desktop/images/11052026/15/07/image_11052026_15_08_14_30071.jpg
2026-05-11 15:09:04.671396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/07/image_11052026_15_08_14_30071.jpg', '/home/pi/Desktop/images/11052026/15/07/image_11052026_15_07_44_30088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/07/image_11052026_15_08_14_30071.jpg
/home/pi/Desktop/images/11052026/15/07/image_11052026_15_07_44_30088.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.533324956893921 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872870","1416872871"],"photo_ids_order":["1416872870","1416872871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03a88db2226e9536de7627122ce6d520.jpg","text":"TemporaryFile(/tmp/multipartBody1646561584284123015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505008156,"filename":"image_11052026_15_07_44_30088.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee9d34187f918418662778889c1e4843.jpg","text":"TemporaryFile(/tmp/multipartBody1893786625503417884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505008156,"filename":"image_11052026_15_08_14_30071.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872871","file0":"1416872870"},"map_files_photo_id_array":[{"photo_id":"1416872871","filename":"file1"},{"photo_id":"1416872870","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872870":["hashtag1","hashtag2"]},{"1416872871":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872870, 1416872871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.968608856201172 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:10:03.796646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/09/image_11052026_15_09_44_30110.jpg', '/home/pi/Desktop/images/11052026/15/08/image_11052026_15_09_14_30136.jpg', '/home/pi/Desktop/images/11052026/15/08/image_11052026_15_08_44_30023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/09/image_11052026_15_09_44_30110.jpg
/home/pi/Desktop/images/11052026/15/08/image_11052026_15_09_14_30136.jpg
/home/pi/Desktop/images/11052026/15/08/image_11052026_15_08_44_30023.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872876","1416872873","1416872875"],"photo_ids_order":["1416872873","1416872875","1416872876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ddd9d4991446004fd0006e86fd7855d.jpg","text":"TemporaryFile(/tmp/multipartBody5357998497756795904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505065682,"filename":"image_11052026_15_08_44_30023.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c5457a69f7109ce791d528eed29b59f.jpg","text":"TemporaryFile(/tmp/multipartBody3839303112516755320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505065682,"filename":"image_11052026_15_09_44_30110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e79e80846653360ad5cdec3890604c8.jpg","text":"TemporaryFile(/tmp/multipartBody8781034463126133062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505065682,"filename":"image_11052026_15_09_14_30136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872876","file1":"1416872875","file0":"1416872873"},"map_files_photo_id_array":[{"photo_id":"1416872876","filename":"file2"},{"photo_id":"1416872875","filename":"file1"},{"photo_id":"1416872873","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872876":["hashtag1","hashtag2"]},{"1416872873":["hashtag1","hashtag2"]},{"1416872875":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872876, 1416872873, 1416872875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.501190662384033 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:11:04.145042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/10/image_11052026_15_11_14_30144.jpg', '/home/pi/Desktop/images/11052026/15/09/image_11052026_15_10_14_30130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/10/image_11052026_15_11_14_30144.jpg
/home/pi/Desktop/images/11052026/15/09/image_11052026_15_10_14_30130.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872879","1416872877"],"photo_ids_order":["1416872877","1416872879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb91f1b0b0fc5618d8e8134450ea0345.jpg","text":"TemporaryFile(/tmp/multipartBody5884985934909208164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505125489,"filename":"image_11052026_15_10_14_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd2ae7aff3c98e034a1408d3698569a7.jpg","text":"TemporaryFile(/tmp/multipartBody1380550064235932838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505125489,"filename":"image_11052026_15_11_14_30144.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872879","file0":"1416872877"},"map_files_photo_id_array":[{"photo_id":"1416872879","filename":"file1"},{"photo_id":"1416872877","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872879":["hashtag1","hashtag2"]},{"1416872877":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872879, 1416872877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.441242456436157 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:12:03.586382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/11/image_11052026_15_12_14_30137.jpg', '/home/pi/Desktop/images/11052026/15/11/image_11052026_15_11_43_29066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/11/image_11052026_15_12_14_30137.jpg
/home/pi/Desktop/images/11052026/15/11/image_11052026_15_11_43_29066.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872887","1416872886"],"photo_ids_order":["1416872886","1416872887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0cc999e58c12ff2c2f7768a0c1d8dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5191925567959850834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505185135,"filename":"image_11052026_15_11_43_29066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/05a41c781ccc14250cdd5ab19e8edfa1.jpg","text":"TemporaryFile(/tmp/multipartBody2869344767836185706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505185135,"filename":"image_11052026_15_12_14_30137.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872887","file0":"1416872886"},"map_files_photo_id_array":[{"photo_id":"1416872887","filename":"file1"},{"photo_id":"1416872886","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872887":["hashtag1","hashtag2"]},{"1416872886":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872887, 1416872886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.60643982887268 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:13:04.077288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/12/image_11052026_15_13_14_30188.jpg', '/home/pi/Desktop/images/11052026/15/12/image_11052026_15_12_44_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/12/image_11052026_15_13_14_30188.jpg
/home/pi/Desktop/images/11052026/15/12/image_11052026_15_12_44_30182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872890","1416872889"],"photo_ids_order":["1416872889","1416872890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1885824fe8352426e1be963278fcb682.jpg","text":"TemporaryFile(/tmp/multipartBody2680230560859631579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505245387,"filename":"image_11052026_15_12_44_30182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/916dc27e76c4c794b6715a0ed593ab9f.jpg","text":"TemporaryFile(/tmp/multipartBody5315531055168456688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505245387,"filename":"image_11052026_15_13_14_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872890","file0":"1416872889"},"map_files_photo_id_array":[{"photo_id":"1416872890","filename":"file1"},{"photo_id":"1416872889","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872890":["hashtag1","hashtag2"]},{"1416872889":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872890, 1416872889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.58370351791382 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:14:03.447155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/13/image_11052026_15_14_14_30112.jpg', '/home/pi/Desktop/images/11052026/15/13/image_11052026_15_13_44_30134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/13/image_11052026_15_14_14_30112.jpg
/home/pi/Desktop/images/11052026/15/13/image_11052026_15_13_44_30134.jpg
2026-05-11 15:14:03.439091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/37/image_07052026_02_37_35_30324.jpg', '/home/pi/Desktop/images/07052026/02/37/image_07052026_02_38_06_30328.jpg', '/home/pi/Desktop/images/07052026/02/38/image_07052026_02_38_35_29381.jpg', '/home/pi/Desktop/images/07052026/02/40/image_07052026_02_40_36_30423.jpg', '/home/pi/Desktop/images/07052026/02/40/image_07052026_02_41_05_29324.jpg', '/home/pi/Desktop/images/07052026/02/41/image_07052026_02_41_35_30373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/37/image_07052026_02_37_35_30324.jpg
/home/pi/Desktop/images/07052026/02/37/image_07052026_02_38_06_30328.jpg
/home/pi/Desktop/images/07052026/02/38/image_07052026_02_38_35_29381.jpg
/home/pi/Desktop/images/07052026/02/40/image_07052026_02_40_36_30423.jpg
/home/pi/Desktop/images/07052026/02/40/image_07052026_02_41_05_29324.jpg
/home/pi/Desktop/images/07052026/02/41/image_07052026_02_41_35_30373.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.156669855117798 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872893","1416872892"],"photo_ids_order":["1416872892","1416872893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ac148708c42b249659066cdc32fc9db.jpg","text":"TemporaryFile(/tmp/multipartBody115185363827708692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505305345,"filename":"image_11052026_15_13_44_30134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/958097df40fed05dbf6e30a0a1a8b67e.jpg","text":"TemporaryFile(/tmp/multipartBody114449031464746225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505305345,"filename":"image_11052026_15_14_14_30112.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872893","file0":"1416872892"},"map_files_photo_id_array":[{"photo_id":"1416872893","filename":"file1"},{"photo_id":"1416872892","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872893":["hashtag1","hashtag2"]},{"1416872892":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872893, 1416872892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.58569622039795 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:15:03.942901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/16/image_07052026_08_16_35_29272.jpg', '/home/pi/Desktop/images/07052026/08/15/image_07052026_08_15_35_30373.jpg', '/home/pi/Desktop/images/07052026/08/13/image_07052026_08_13_35_29265.jpg', '/home/pi/Desktop/images/07052026/08/12/image_07052026_08_13_06_30323.jpg', '/home/pi/Desktop/images/07052026/08/12/image_07052026_08_12_35_30356.jpg', '/home/pi/Desktop/images/07052026/08/11/image_07052026_08_12_05_30233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/16/image_07052026_08_16_35_29272.jpg
/home/pi/Desktop/images/07052026/08/15/image_07052026_08_15_35_30373.jpg
/home/pi/Desktop/images/07052026/08/13/image_07052026_08_13_35_29265.jpg
/home/pi/Desktop/images/07052026/08/12/image_07052026_08_13_06_30323.jpg
/home/pi/Desktop/images/07052026/08/12/image_07052026_08_12_35_30356.jpg
/home/pi/Desktop/images/07052026/08/11/image_07052026_08_12_05_30233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872907","1416872909","1416872906","1416872905","1416872908","1416872910"],"photo_ids_order":["1416872905","1416872906","1416872907","1416872908","1416872909","1416872910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38449ded42f7e0530bef431a0b96f042.jpg","text":"TemporaryFile(/tmp/multipartBody454009110842163980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_13_35_29265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0f2d751998bcbf3c632e13437783c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5487803226576860745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_12_35_30356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75fb80d07eacfff0d964428485e83250.jpg","text":"TemporaryFile(/tmp/multipartBody7871283211657778973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_15_35_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/374f4cece0f8728951f88229dd756f93.jpg","text":"TemporaryFile(/tmp/multipartBody4358482085866391869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_16_35_29272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a81a90a2276d06a7be854b91077b8a76.jpg","text":"TemporaryFile(/tmp/multipartBody6645039896563483385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_13_06_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b11641b01b544eb567d5eb020b07e9a.jpg","text":"TemporaryFile(/tmp/multipartBody9125949172887199052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505368168,"filename":"image_07052026_08_12_05_30233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872907","file1":"1416872906","file0":"1416872905","file4":"1416872909","file5":"1416872910","file3":"1416872908"},"map_files_photo_id_array":[{"photo_id":"1416872910","filename":"file5"},{"photo_id":"1416872907","filename":"file2"},{"photo_id":"1416872909","filename":"file4"},{"photo_id":"1416872906","filename":"file1"},{"photo_id":"1416872905","filename":"file0"},{"photo_id":"1416872908","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872907":["hashtag1","hashtag2"]},{"1416872909":["hashtag1","hashtag2"]},{"1416872906":["hashtag1","hashtag2"]},{"1416872905":["hashtag1","hashtag2"]},{"1416872908":["hashtag1","hashtag2"]},{"1416872910":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872907, 1416872909, 1416872906, 1416872905, 1416872908, 1416872910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34063673019409 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:16:03.731334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/16/image_11052026_15_16_44_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/16/image_11052026_15_16_44_30231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872912"],"photo_id":"1416872912","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/634c9acf4f00a7266271807f8b57ad59.jpg","text":"TemporaryFile(/tmp/multipartBody8948437752538409441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505424955,"filename":"image_11052026_15_16_44_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872912"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872912"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.034628629684448 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:17:04.359281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/14/image_11052026_15_14_44_30056.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/14/image_11052026_15_14_44_30056.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872914"],"photo_id":"1416872914","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6fd2883e62185b1d35fa98459c01811.jpg","text":"TemporaryFile(/tmp/multipartBody3506938680024730920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505485561,"filename":"image_11052026_15_14_44_30056.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416872914"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416872914"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.159806966781616 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:18:02.791302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/11/image_07052026_08_11_35_29246.jpg', '/home/pi/Desktop/images/07052026/08/10/image_07052026_08_11_06_30266.jpg', '/home/pi/Desktop/images/07052026/08/10/image_07052026_08_10_35_30249.jpg', '/home/pi/Desktop/images/07052026/08/09/image_07052026_08_09_35_29155.jpg', '/home/pi/Desktop/images/07052026/08/07/image_07052026_08_07_36_30296.jpg', '/home/pi/Desktop/images/07052026/08/06/image_07052026_08_06_35_30376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/11/image_07052026_08_11_35_29246.jpg
/home/pi/Desktop/images/07052026/08/10/image_07052026_08_11_06_30266.jpg
/home/pi/Desktop/images/07052026/08/10/image_07052026_08_10_35_30249.jpg
/home/pi/Desktop/images/07052026/08/09/image_07052026_08_09_35_29155.jpg
/home/pi/Desktop/images/07052026/08/07/image_07052026_08_07_36_30296.jpg
/home/pi/Desktop/images/07052026/08/06/image_07052026_08_06_35_30376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872933","1416872927","1416872932","1416872929","1416872934","1416872931"],"photo_ids_order":["1416872927","1416872929","1416872931","1416872932","1416872933","1416872934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b432800b931325176f0de4b92e5d9c20.jpg","text":"TemporaryFile(/tmp/multipartBody6846702249515073965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_07_36_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb54c3d27b8ab035fd8b0f8761271012.jpg","text":"TemporaryFile(/tmp/multipartBody7039162468783865807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_11_35_29246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a23076faf333392afa6b8cadcd8a5f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7170416823357473987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_09_35_29155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65bed240700fdab8297b163b899853c7.jpg","text":"TemporaryFile(/tmp/multipartBody329282215640285632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_11_06_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06891bd2d1c302478ea272dede214862.jpg","text":"TemporaryFile(/tmp/multipartBody4720564976114669126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_06_35_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2c7610a634d31bfba0942ac88b7b621.jpg","text":"TemporaryFile(/tmp/multipartBody3840969043969493084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505546730,"filename":"image_07052026_08_10_35_30249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872931","file1":"1416872929","file0":"1416872927","file4":"1416872933","file5":"1416872934","file3":"1416872932"},"map_files_photo_id_array":[{"photo_id":"1416872934","filename":"file5"},{"photo_id":"1416872931","filename":"file2"},{"photo_id":"1416872933","filename":"file4"},{"photo_id":"1416872929","filename":"file1"},{"photo_id":"1416872927","filename":"file0"},{"photo_id":"1416872932","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872933":["hashtag1","hashtag2"]},{"1416872927":["hashtag1","hashtag2"]},{"1416872932":["hashtag1","hashtag2"]},{"1416872929":["hashtag1","hashtag2"]},{"1416872934":["hashtag1","hashtag2"]},{"1416872931":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872933, 1416872927, 1416872932, 1416872929, 1416872934, 1416872931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.390318393707275 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:19:04.738476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/18/image_11052026_15_19_13_29027.jpg', '/home/pi/Desktop/images/11052026/15/18/image_11052026_15_18_44_30000.jpg', '/home/pi/Desktop/images/11052026/15/17/image_11052026_15_18_14_30078.jpg', '/home/pi/Desktop/images/11052026/15/16/image_11052026_15_17_14_30140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/18/image_11052026_15_19_13_29027.jpg
/home/pi/Desktop/images/11052026/15/18/image_11052026_15_18_44_30000.jpg
/home/pi/Desktop/images/11052026/15/17/image_11052026_15_18_14_30078.jpg
/home/pi/Desktop/images/11052026/15/16/image_11052026_15_17_14_30140.jpg
2026-05-11 15:19:04.830483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/16/image_11052026_15_17_14_30140.jpg', '/home/pi/Desktop/images/11052026/15/17/image_11052026_15_18_14_30078.jpg', '/home/pi/Desktop/images/11052026/15/18/image_11052026_15_18_44_30000.jpg', '/home/pi/Desktop/images/11052026/15/18/image_11052026_15_19_13_29027.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/16/image_11052026_15_17_14_30140.jpg
/home/pi/Desktop/images/11052026/15/17/image_11052026_15_18_14_30078.jpg
/home/pi/Desktop/images/11052026/15/18/image_11052026_15_18_44_30000.jpg
/home/pi/Desktop/images/11052026/15/18/image_11052026_15_19_13_29027.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.8678746223449707 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872942","1416872941","1416872935","1416872937"],"photo_ids_order":["1416872935","1416872937","1416872941","1416872942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea76866f0dd9d46428158d53852dc8e8.jpg","text":"TemporaryFile(/tmp/multipartBody1225904120883458429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505609030,"filename":"image_11052026_15_19_13_29027.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b3e8039f091d1ec00ef19efcf8fcd72.jpg","text":"TemporaryFile(/tmp/multipartBody6354622301849737285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505609030,"filename":"image_11052026_15_18_44_30000.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/71dc69f16aaf941798fc876c50e26b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8916582628029382101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505609030,"filename":"image_11052026_15_17_14_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cfed004507844db9213a7ac60f5c60ab.jpg","text":"TemporaryFile(/tmp/multipartBody6741998458736550389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505609030,"filename":"image_11052026_15_18_14_30078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872941","file1":"1416872937","file0":"1416872935","file3":"1416872942"},"map_files_photo_id_array":[{"photo_id":"1416872941","filename":"file2"},{"photo_id":"1416872937","filename":"file1"},{"photo_id":"1416872935","filename":"file0"},{"photo_id":"1416872942","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872942":["hashtag1","hashtag2"]},{"1416872941":["hashtag1","hashtag2"]},{"1416872935":["hashtag1","hashtag2"]},{"1416872937":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872942, 1416872941, 1416872935, 1416872937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.33037209510803 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:20:03.284427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/05/image_07052026_08_06_05_29278.jpg', '/home/pi/Desktop/images/07052026/08/05/image_07052026_08_05_36_30367.jpg', '/home/pi/Desktop/images/07052026/08/04/image_07052026_08_05_05_30317.jpg', '/home/pi/Desktop/images/07052026/08/04/image_07052026_08_04_35_29213.jpg', '/home/pi/Desktop/images/07052026/08/03/image_07052026_08_04_06_30260.jpg', '/home/pi/Desktop/images/07052026/08/03/image_07052026_08_03_35_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/05/image_07052026_08_06_05_29278.jpg
/home/pi/Desktop/images/07052026/08/05/image_07052026_08_05_36_30367.jpg
/home/pi/Desktop/images/07052026/08/04/image_07052026_08_05_05_30317.jpg
/home/pi/Desktop/images/07052026/08/04/image_07052026_08_04_35_29213.jpg
/home/pi/Desktop/images/07052026/08/03/image_07052026_08_04_06_30260.jpg
/home/pi/Desktop/images/07052026/08/03/image_07052026_08_03_35_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872951","1416872945","1416872944","1416872953","1416872947","1416872949"],"photo_ids_order":["1416872944","1416872945","1416872947","1416872949","1416872951","1416872953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca786393415d13e031621a800a3bb332.jpg","text":"TemporaryFile(/tmp/multipartBody445235426053824678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_04_06_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6cae0a68af0e431b25ecfab5cf75c64.jpg","text":"TemporaryFile(/tmp/multipartBody4740279093806678943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_05_36_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7890f01f0d3ba23e119b38d4ea12e057.jpg","text":"TemporaryFile(/tmp/multipartBody6952353638149891901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_06_05_29278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3862f5619075c8c78d5adbe433caf988.jpg","text":"TemporaryFile(/tmp/multipartBody3205231765566349385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_03_35_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae7a9b0edd0de5c6a95612a7455ab4a8.jpg","text":"TemporaryFile(/tmp/multipartBody5208337009074155749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_05_05_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7ba2d7bd7ca2a592bf44bb4a0ca6315.jpg","text":"TemporaryFile(/tmp/multipartBody4504682716857212769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505667057,"filename":"image_07052026_08_04_35_29213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416872947","file1":"1416872945","file0":"1416872944","file4":"1416872951","file5":"1416872953","file3":"1416872949"},"map_files_photo_id_array":[{"photo_id":"1416872953","filename":"file5"},{"photo_id":"1416872947","filename":"file2"},{"photo_id":"1416872951","filename":"file4"},{"photo_id":"1416872945","filename":"file1"},{"photo_id":"1416872944","filename":"file0"},{"photo_id":"1416872949","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416872951":["hashtag1","hashtag2"]},{"1416872945":["hashtag1","hashtag2"]},{"1416872944":["hashtag1","hashtag2"]},{"1416872953":["hashtag1","hashtag2"]},{"1416872947":["hashtag1","hashtag2"]},{"1416872949":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416872951, 1416872945, 1416872944, 1416872953, 1416872947, 1416872949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46062517166138 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:21:03.758533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/19/image_11052026_15_20_14_30095.jpg', '/home/pi/Desktop/images/11052026/15/19/image_11052026_15_19_43_30090.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/19/image_11052026_15_20_14_30095.jpg
/home/pi/Desktop/images/11052026/15/19/image_11052026_15_19_43_30090.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416872954","1416872955"],"photo_ids_order":["1416872954","1416872955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec6e863512793036b0ab832e92cb2a8d.jpg","text":"TemporaryFile(/tmp/multipartBody381193577877895656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505725181,"filename":"image_11052026_15_20_14_30095.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3aac734dbf5b28796feadee3bd8501bc.jpg","text":"TemporaryFile(/tmp/multipartBody8450554257461738481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505725181,"filename":"image_11052026_15_19_43_30090.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416872955","file0":"1416872954"},"map_files_photo_id_array":[{"photo_id":"1416872955","filename":"file1"},{"photo_id":"1416872954","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416872954":["hashtag1","hashtag2"]},{"1416872955":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416872954, 1416872955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.531343936920166 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:22:03.542690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/20/image_11052026_15_21_14_30219.jpg', '/home/pi/Desktop/images/11052026/15/20/image_11052026_15_20_44_30210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/20/image_11052026_15_21_14_30219.jpg
/home/pi/Desktop/images/11052026/15/20/image_11052026_15_20_44_30210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873286","1416873287"],"photo_ids_order":["1416873286","1416873287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1c4d3470913e2061f2b02226280f0ee.jpg","text":"TemporaryFile(/tmp/multipartBody3792492428394764527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505785077,"filename":"image_11052026_15_21_14_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7d145e8f0feb3e0b739373aa9fb733e.jpg","text":"TemporaryFile(/tmp/multipartBody1770907541992419861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505785077,"filename":"image_11052026_15_20_44_30210.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416873287","file0":"1416873286"},"map_files_photo_id_array":[{"photo_id":"1416873287","filename":"file1"},{"photo_id":"1416873286","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416873286":["hashtag1","hashtag2"]},{"1416873287":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416873286, 1416873287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.850494623184204 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:23:04.224444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg', '/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg', '/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6061224937438965 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:24:04.161872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg', '/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg', '/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.jpg
2026-05-11 15:24:04.361417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.jpg', '/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg', '/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg', '/home/pi/Desktop/images/11052026/15/23/image_11052026_15_23_43_30051.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_21_44_30177.jpg
/home/pi/Desktop/images/11052026/15/21/image_11052026_15_22_14_30171.jpg
/home/pi/Desktop/images/11052026/15/22/image_11052026_15_23_13_29028.jpg
/home/pi/Desktop/images/11052026/15/23/image_11052026_15_23_43_30051.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873298","1416873293","1416873296"],"photo_ids_order":["1416873293","1416873296","1416873298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc8e287ee577d635796f1dfdcb310dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8794410997634145551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505906703,"filename":"image_11052026_15_21_44_30177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbc41124f25b5ad46052077543981fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5473171210790579033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505906703,"filename":"image_11052026_15_23_13_29028.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c94a37ddc78559710aa6ba5f4d2cff8.jpg","text":"TemporaryFile(/tmp/multipartBody6483827760958212057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505906703,"filename":"image_11052026_15_22_14_30171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416873298","file1":"1416873296","file0":"1416873293"},"map_files_photo_id_array":[{"photo_id":"1416873298","filename":"file2"},{"photo_id":"1416873296","filename":"file1"},{"photo_id":"1416873293","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416873298":["hashtag1","hashtag2"]},{"1416873293":["hashtag1","hashtag2"]},{"1416873296":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416873298, 1416873293, 1416873296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.010283946990967 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873301","1416873294","1416873297","1416873299"],"photo_ids_order":["1416873294","1416873297","1416873299","1416873301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9f9dc083f99ab0b691da06987c69e82.jpg","text":"TemporaryFile(/tmp/multipartBody4145491495579223238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505907408,"filename":"image_11052026_15_23_43_30051.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6adfa989c57fe67ccc4175da2826da5.jpg","text":"TemporaryFile(/tmp/multipartBody8617243353619321841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505907408,"filename":"image_11052026_15_21_44_30177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20ab711fdc89404b50c8a72aba684533.jpg","text":"TemporaryFile(/tmp/multipartBody5136402795649566717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505907408,"filename":"image_11052026_15_22_14_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c19dfac7bcb75f8a01599617323e201d.jpg","text":"TemporaryFile(/tmp/multipartBody874074766257746454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505907408,"filename":"image_11052026_15_23_13_29028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416873299","file1":"1416873297","file0":"1416873294","file3":"1416873301"},"map_files_photo_id_array":[{"photo_id":"1416873299","filename":"file2"},{"photo_id":"1416873297","filename":"file1"},{"photo_id":"1416873294","filename":"file0"},{"photo_id":"1416873301","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416873301":["hashtag1","hashtag2"]},{"1416873294":["hashtag1","hashtag2"]},{"1416873297":["hashtag1","hashtag2"]},{"1416873299":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416873301, 1416873294, 1416873297, 1416873299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.788158416748047 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:25:04.484198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/08/02/image_07052026_08_03_05_30219.jpg', '/home/pi/Desktop/images/07052026/08/02/image_07052026_08_02_35_29126.jpg', '/home/pi/Desktop/images/07052026/08/01/image_07052026_08_02_06_30397.jpg', '/home/pi/Desktop/images/07052026/08/01/image_07052026_08_01_35_30361.jpg', '/home/pi/Desktop/images/07052026/08/00/image_07052026_08_01_05_30210.jpg', '/home/pi/Desktop/images/07052026/08/00/image_07052026_08_00_35_29202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/08/02/image_07052026_08_03_05_30219.jpg
/home/pi/Desktop/images/07052026/08/02/image_07052026_08_02_35_29126.jpg
/home/pi/Desktop/images/07052026/08/01/image_07052026_08_02_06_30397.jpg
/home/pi/Desktop/images/07052026/08/01/image_07052026_08_01_35_30361.jpg
/home/pi/Desktop/images/07052026/08/00/image_07052026_08_01_05_30210.jpg
/home/pi/Desktop/images/07052026/08/00/image_07052026_08_00_35_29202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873311","1416873305","1416873308","1416873310","1416873306","1416873309"],"photo_ids_order":["1416873305","1416873306","1416873308","1416873309","1416873310","1416873311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ab029e034441d78532c41dd0ef5a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7460890160067147364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_00_35_29202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15641d2d7f92ac889293c8270f0f3621.jpg","text":"TemporaryFile(/tmp/multipartBody4675796074303469037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_03_05_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6e96fed0f6b986046d6cde025d5afd7.jpg","text":"TemporaryFile(/tmp/multipartBody1553011427949341585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_02_06_30397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62a8dd0f30ead1b792d212cc0f7c5d48.jpg","text":"TemporaryFile(/tmp/multipartBody1802991486703457616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_01_05_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8b73d9bfc23e0f8772191dd1ea5d838.jpg","text":"TemporaryFile(/tmp/multipartBody294833425660324796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_02_35_29126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af5e9848a19e036bb1694610aeaf0eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5522746715447916924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778505967796,"filename":"image_07052026_08_01_35_30361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416873308","file1":"1416873306","file0":"1416873305","file4":"1416873310","file5":"1416873311","file3":"1416873309"},"map_files_photo_id_array":[{"photo_id":"1416873311","filename":"file5"},{"photo_id":"1416873308","filename":"file2"},{"photo_id":"1416873310","filename":"file4"},{"photo_id":"1416873306","filename":"file1"},{"photo_id":"1416873305","filename":"file0"},{"photo_id":"1416873309","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416873311":["hashtag1","hashtag2"]},{"1416873305":["hashtag1","hashtag2"]},{"1416873308":["hashtag1","hashtag2"]},{"1416873310":["hashtag1","hashtag2"]},{"1416873306":["hashtag1","hashtag2"]},{"1416873309":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416873311, 1416873305, 1416873308, 1416873310, 1416873306, 1416873309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1800537109375 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:26:03.328227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/25/image_11052026_15_25_44_30099.jpg', '/home/pi/Desktop/images/11052026/15/23/image_11052026_15_24_14_30128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/25/image_11052026_15_25_44_30099.jpg
/home/pi/Desktop/images/11052026/15/23/image_11052026_15_24_14_30128.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873313","1416873312"],"photo_ids_order":["1416873312","1416873313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a2d62701bc5b8afb464e48f70504fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4092842597451060329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506024884,"filename":"image_11052026_15_24_14_30128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f609dda2ccff63f3a0fce5e430247381.jpg","text":"TemporaryFile(/tmp/multipartBody5186040315789802506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506024884,"filename":"image_11052026_15_25_44_30099.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416873313","file0":"1416873312"},"map_files_photo_id_array":[{"photo_id":"1416873313","filename":"file1"},{"photo_id":"1416873312","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416873313":["hashtag1","hashtag2"]},{"1416873312":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416873313, 1416873312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.36731719970703 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:27:03.636361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/59/image_07052026_07_59_35_30326.jpg', '/home/pi/Desktop/images/07052026/07/58/image_07052026_07_59_05_29256.jpg', '/home/pi/Desktop/images/07052026/07/58/image_07052026_07_58_36_30326.jpg', '/home/pi/Desktop/images/07052026/07/56/image_07052026_07_57_06_30400.jpg', '/home/pi/Desktop/images/07052026/07/56/image_07052026_07_56_35_30370.jpg', '/home/pi/Desktop/images/07052026/07/55/image_07052026_07_55_36_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/59/image_07052026_07_59_35_30326.jpg
/home/pi/Desktop/images/07052026/07/58/image_07052026_07_59_05_29256.jpg
/home/pi/Desktop/images/07052026/07/58/image_07052026_07_58_36_30326.jpg
/home/pi/Desktop/images/07052026/07/56/image_07052026_07_57_06_30400.jpg
/home/pi/Desktop/images/07052026/07/56/image_07052026_07_56_35_30370.jpg
/home/pi/Desktop/images/07052026/07/55/image_07052026_07_55_36_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873317","1416873320","1416873314","1416873316","1416873315","1416873318"],"photo_ids_order":["1416873314","1416873315","1416873316","1416873317","1416873318","1416873320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d63e809fb41dbb123de9660321970501.jpg","text":"TemporaryFile(/tmp/multipartBody7462381227990000712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_57_06_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/205c9be305d92c49a15cfda134054bea.jpg","text":"TemporaryFile(/tmp/multipartBody2410913447752855317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_55_36_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca51cac4cb210bf9fe757d16563a8548.jpg","text":"TemporaryFile(/tmp/multipartBody811654595496662559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_59_35_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b48443de833e16a0ee3cc91fe846c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody9180736035791108285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_58_36_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e35e7c65ff2483fa8b918fddc5d34c00.jpg","text":"TemporaryFile(/tmp/multipartBody6233754305847350406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_59_05_29256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b3b450a51cac6cbb53007c97d234a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4350999021353677453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506088283,"filename":"image_07052026_07_56_35_30370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416873316","file1":"1416873315","file0":"1416873314","file4":"1416873318","file5":"1416873320","file3":"1416873317"},"map_files_photo_id_array":[{"photo_id":"1416873320","filename":"file5"},{"photo_id":"1416873316","filename":"file2"},{"photo_id":"1416873318","filename":"file4"},{"photo_id":"1416873315","filename":"file1"},{"photo_id":"1416873314","filename":"file0"},{"photo_id":"1416873317","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416873317":["hashtag1","hashtag2"]},{"1416873320":["hashtag1","hashtag2"]},{"1416873314":["hashtag1","hashtag2"]},{"1416873316":["hashtag1","hashtag2"]},{"1416873315":["hashtag1","hashtag2"]},{"1416873318":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416873317, 1416873320, 1416873314, 1416873316, 1416873315, 1416873318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10988187789917 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:28:03.433986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/26/image_11052026_15_27_13_29114.jpg', '/home/pi/Desktop/images/11052026/15/25/image_11052026_15_26_14_30084.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/26/image_11052026_15_27_13_29114.jpg
/home/pi/Desktop/images/11052026/15/25/image_11052026_15_26_14_30084.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416873886","1416873888"],"photo_ids_order":["1416873886","1416873888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/342f3c141475cb4039e6e2d0c6340f88.jpg","text":"TemporaryFile(/tmp/multipartBody6076179163986915067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506144937,"filename":"image_11052026_15_27_13_29114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3188cb9aac18287300f862182adb080.jpg","text":"TemporaryFile(/tmp/multipartBody5506579531171568082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506144937,"filename":"image_11052026_15_26_14_30084.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416873888","file0":"1416873886"},"map_files_photo_id_array":[{"photo_id":"1416873888","filename":"file1"},{"photo_id":"1416873886","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416873886":["hashtag1","hashtag2"]},{"1416873888":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416873886, 1416873888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.13745093345642 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:29:04.199966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/37/image_07052026_02_37_35_30324.jpg', '/home/pi/Desktop/images/07052026/02/37/image_07052026_02_38_06_30328.jpg', '/home/pi/Desktop/images/07052026/02/38/image_07052026_02_38_35_29381.jpg', '/home/pi/Desktop/images/07052026/02/40/image_07052026_02_40_36_30423.jpg', '/home/pi/Desktop/images/07052026/02/40/image_07052026_02_41_05_29324.jpg', '/home/pi/Desktop/images/07052026/02/41/image_07052026_02_41_35_30373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/37/image_07052026_02_37_35_30324.jpg
/home/pi/Desktop/images/07052026/02/37/image_07052026_02_38_06_30328.jpg
/home/pi/Desktop/images/07052026/02/38/image_07052026_02_38_35_29381.jpg
/home/pi/Desktop/images/07052026/02/40/image_07052026_02_40_36_30423.jpg
/home/pi/Desktop/images/07052026/02/40/image_07052026_02_41_05_29324.jpg
/home/pi/Desktop/images/07052026/02/41/image_07052026_02_41_35_30373.jpg
2026-05-11 15:29:04.555322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/27/image_11052026_15_27_44_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/27/image_11052026_15_27_44_30173.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874117"],"photo_id":"1416874117","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75f4505fe1dad55865ac2ab8d8c62f43.jpg","text":"TemporaryFile(/tmp/multipartBody5515811385021491943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506206445,"filename":"image_11052026_15_27_44_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416874117"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416874117"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.847477436065674 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874126","1416874119","1416874128","1416874122","1416874130","1416874124"],"photo_ids_order":["1416874119","1416874122","1416874124","1416874126","1416874128","1416874130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0780db12620cd0120ce9abae92038871.jpg","text":"TemporaryFile(/tmp/multipartBody5652696188212259944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_40_36_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77c17edbaa8bcc16582f831220ffc7b6.jpg","text":"TemporaryFile(/tmp/multipartBody2836831472102769262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_37_35_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34c4fdf47c342c47da01c43a85a75717.jpg","text":"TemporaryFile(/tmp/multipartBody7066664133045549330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_41_05_29324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6327b45711b4cd706d513a043a33e58d.jpg","text":"TemporaryFile(/tmp/multipartBody3995960932277268366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_38_06_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/234c9de2490ec7e565f06a9ca6b9cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody4950116479206372102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_41_35_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a9cdfecb75324e801e22755b957bc0d.jpg","text":"TemporaryFile(/tmp/multipartBody694776202022516462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506208205,"filename":"image_07052026_02_38_35_29381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416874124","file1":"1416874122","file0":"1416874119","file4":"1416874128","file5":"1416874130","file3":"1416874126"},"map_files_photo_id_array":[{"photo_id":"1416874130","filename":"file5"},{"photo_id":"1416874124","filename":"file2"},{"photo_id":"1416874128","filename":"file4"},{"photo_id":"1416874122","filename":"file1"},{"photo_id":"1416874119","filename":"file0"},{"photo_id":"1416874126","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416874126":["hashtag1","hashtag2"]},{"1416874119":["hashtag1","hashtag2"]},{"1416874128":["hashtag1","hashtag2"]},{"1416874122":["hashtag1","hashtag2"]},{"1416874130":["hashtag1","hashtag2"]},{"1416874124":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416874126, 1416874119, 1416874128, 1416874122, 1416874130, 1416874124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.77384305000305 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:30:03.104437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/54/image_07052026_07_55_05_30353.jpg', '/home/pi/Desktop/images/07052026/07/54/image_07052026_07_54_35_30331.jpg', '/home/pi/Desktop/images/07052026/07/53/image_07052026_07_54_05_29355.jpg', '/home/pi/Desktop/images/07052026/07/53/image_07052026_07_53_35_30408.jpg', '/home/pi/Desktop/images/07052026/07/52/image_07052026_07_52_35_29217.jpg', '/home/pi/Desktop/images/07052026/07/51/image_07052026_07_52_06_30362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/54/image_07052026_07_55_05_30353.jpg
/home/pi/Desktop/images/07052026/07/54/image_07052026_07_54_35_30331.jpg
/home/pi/Desktop/images/07052026/07/53/image_07052026_07_54_05_29355.jpg
/home/pi/Desktop/images/07052026/07/53/image_07052026_07_53_35_30408.jpg
/home/pi/Desktop/images/07052026/07/52/image_07052026_07_52_35_29217.jpg
/home/pi/Desktop/images/07052026/07/51/image_07052026_07_52_06_30362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874138","1416874143","1416874137","1416874140","1416874142","1416874139"],"photo_ids_order":["1416874137","1416874138","1416874139","1416874140","1416874142","1416874143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cefb3654c528dab7dd1518a4c3b3879c.jpg","text":"TemporaryFile(/tmp/multipartBody7885682176619579041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_54_35_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/841413c59332323499993aa58059bffa.jpg","text":"TemporaryFile(/tmp/multipartBody3929622230023350792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_52_06_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/08023a412746dd76e3594e4a00f8db2e.jpg","text":"TemporaryFile(/tmp/multipartBody4604638124839896920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_55_05_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec869acd1339ae743d9d469b102b8951.jpg","text":"TemporaryFile(/tmp/multipartBody8479486334089334014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_53_35_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51627d472516308a11344aee8a58ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody4453150933214178227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_52_35_29217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff657d96a7ad77bfe209b9fc8b312eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8091449160763413217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506269797,"filename":"image_07052026_07_54_05_29355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416874139","file1":"1416874138","file0":"1416874137","file4":"1416874142","file5":"1416874143","file3":"1416874140"},"map_files_photo_id_array":[{"photo_id":"1416874143","filename":"file5"},{"photo_id":"1416874139","filename":"file2"},{"photo_id":"1416874142","filename":"file4"},{"photo_id":"1416874138","filename":"file1"},{"photo_id":"1416874137","filename":"file0"},{"photo_id":"1416874140","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416874138":["hashtag1","hashtag2"]},{"1416874143":["hashtag1","hashtag2"]},{"1416874137":["hashtag1","hashtag2"]},{"1416874140":["hashtag1","hashtag2"]},{"1416874142":["hashtag1","hashtag2"]},{"1416874139":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416874138, 1416874143, 1416874137, 1416874140, 1416874142, 1416874139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.486971378326416 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:31:04.032408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/30/image_11052026_15_31_14_30066.jpg', '/home/pi/Desktop/images/11052026/15/30/image_11052026_15_30_43_30089.jpg', '/home/pi/Desktop/images/11052026/15/29/image_11052026_15_30_13_29110.jpg', '/home/pi/Desktop/images/11052026/15/29/image_11052026_15_29_44_30088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/30/image_11052026_15_31_14_30066.jpg
/home/pi/Desktop/images/11052026/15/30/image_11052026_15_30_43_30089.jpg
/home/pi/Desktop/images/11052026/15/29/image_11052026_15_30_13_29110.jpg
/home/pi/Desktop/images/11052026/15/29/image_11052026_15_29_44_30088.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874156","1416874158","1416874160","1416874154"],"photo_ids_order":["1416874154","1416874156","1416874158","1416874160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fdbb56c6ca0dec76630dc0c0e0a284e.jpg","text":"TemporaryFile(/tmp/multipartBody7613598552512004197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506326728,"filename":"image_11052026_15_30_43_30089.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/416f98f21510840031ea72e942c20cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2540242086547105484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506326728,"filename":"image_11052026_15_30_13_29110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52bbda33999590f3a24faae7f45a3e00.jpg","text":"TemporaryFile(/tmp/multipartBody5240950726378751124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506326728,"filename":"image_11052026_15_29_44_30088.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a4f5b9b01d69ab3a27dfa3a36f39e52.jpg","text":"TemporaryFile(/tmp/multipartBody3954897026801943837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506326728,"filename":"image_11052026_15_31_14_30066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416874158","file1":"1416874156","file0":"1416874154","file3":"1416874160"},"map_files_photo_id_array":[{"photo_id":"1416874158","filename":"file2"},{"photo_id":"1416874156","filename":"file1"},{"photo_id":"1416874154","filename":"file0"},{"photo_id":"1416874160","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416874156":["hashtag1","hashtag2"]},{"1416874158":["hashtag1","hashtag2"]},{"1416874160":["hashtag1","hashtag2"]},{"1416874154":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416874156, 1416874158, 1416874160, 1416874154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.6884925365448 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:32:03.623011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/31/image_11052026_15_32_14_30226.jpg', '/home/pi/Desktop/images/11052026/15/31/image_11052026_15_31_44_30289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/31/image_11052026_15_32_14_30226.jpg
/home/pi/Desktop/images/11052026/15/31/image_11052026_15_31_44_30289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874164","1416874166"],"photo_ids_order":["1416874164","1416874166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ea35c05709b180e4bf23111bb9298d9.jpg","text":"TemporaryFile(/tmp/multipartBody4925575194411370046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506385434,"filename":"image_11052026_15_32_14_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6f3d0e74edec6aff5b9b332e4ec4c97.jpg","text":"TemporaryFile(/tmp/multipartBody833407201632701438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506385434,"filename":"image_11052026_15_31_44_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416874166","file0":"1416874164"},"map_files_photo_id_array":[{"photo_id":"1416874166","filename":"file1"},{"photo_id":"1416874164","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416874164":["hashtag1","hashtag2"]},{"1416874166":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416874164, 1416874166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.814576387405396 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:33:03.527000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/51/image_07052026_07_51_35_29377.jpg', '/home/pi/Desktop/images/07052026/07/50/image_07052026_07_51_06_30358.jpg', '/home/pi/Desktop/images/07052026/07/50/image_07052026_07_50_35_30373.jpg', '/home/pi/Desktop/images/07052026/07/49/image_07052026_07_50_05_30263.jpg', '/home/pi/Desktop/images/07052026/07/49/image_07052026_07_49_35_29208.jpg', '/home/pi/Desktop/images/07052026/07/48/image_07052026_07_48_35_30314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/51/image_07052026_07_51_35_29377.jpg
/home/pi/Desktop/images/07052026/07/50/image_07052026_07_51_06_30358.jpg
/home/pi/Desktop/images/07052026/07/50/image_07052026_07_50_35_30373.jpg
/home/pi/Desktop/images/07052026/07/49/image_07052026_07_50_05_30263.jpg
/home/pi/Desktop/images/07052026/07/49/image_07052026_07_49_35_29208.jpg
/home/pi/Desktop/images/07052026/07/48/image_07052026_07_48_35_30314.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3075876235961914 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:34:03.405691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/32/image_11052026_15_33_14_30259.jpg', '/home/pi/Desktop/images/11052026/15/32/image_11052026_15_32_44_30136.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/32/image_11052026_15_33_14_30259.jpg
/home/pi/Desktop/images/11052026/15/32/image_11052026_15_32_44_30136.jpg
2026-05-11 15:34:03.542138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/32/image_11052026_15_32_44_30136.jpg', '/home/pi/Desktop/images/11052026/15/32/image_11052026_15_33_14_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/32/image_11052026_15_32_44_30136.jpg
/home/pi/Desktop/images/11052026/15/32/image_11052026_15_33_14_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874183","1416874186"],"photo_ids_order":["1416874183","1416874186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0dc57bbecc49019167fdbc95fcde6e97.jpg","text":"TemporaryFile(/tmp/multipartBody4286770113927357820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506505492,"filename":"image_11052026_15_33_14_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1b92b0c3762e0f5613e49232aaa19cb.jpg","text":"TemporaryFile(/tmp/multipartBody9122922185965722295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506505492,"filename":"image_11052026_15_32_44_30136.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416874186","file0":"1416874183"},"map_files_photo_id_array":[{"photo_id":"1416874186","filename":"file1"},{"photo_id":"1416874183","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416874183":["hashtag1","hashtag2"]},{"1416874186":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416874183, 1416874186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.140230655670166 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416874184","1416874187"],"photo_ids_order":["1416874184","1416874187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5958b9dc505697aaeea38ff26e8e1d21.jpg","text":"TemporaryFile(/tmp/multipartBody7570592350236788534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506505998,"filename":"image_11052026_15_32_44_30136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c955035fd985a2a0d8c50e959a66738a.jpg","text":"TemporaryFile(/tmp/multipartBody9205681210063583419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506505998,"filename":"image_11052026_15_33_14_30259.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416874187","file0":"1416874184"},"map_files_photo_id_array":[{"photo_id":"1416874187","filename":"file1"},{"photo_id":"1416874184","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416874184":["hashtag1","hashtag2"]},{"1416874187":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416874184, 1416874187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.811146020889282 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:35:04.254854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/33/image_11052026_15_34_14_30153.jpg', '/home/pi/Desktop/images/11052026/15/33/image_11052026_15_33_44_29105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/33/image_11052026_15_34_14_30153.jpg
/home/pi/Desktop/images/11052026/15/33/image_11052026_15_33_44_29105.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875101","1416875100"],"photo_ids_order":["1416875100","1416875101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/836481db9ef47f61d52ca6d7002af6a7.jpg","text":"TemporaryFile(/tmp/multipartBody7945527600108337510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506565846,"filename":"image_11052026_15_33_44_29105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c45cff42262642ee8e9e15136a8261d.jpg","text":"TemporaryFile(/tmp/multipartBody1873875133321013299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506565846,"filename":"image_11052026_15_34_14_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416875101","file0":"1416875100"},"map_files_photo_id_array":[{"photo_id":"1416875101","filename":"file1"},{"photo_id":"1416875100","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416875101":["hashtag1","hashtag2"]},{"1416875100":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416875101, 1416875100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.133471965789795 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:36:03.474691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/51/image_07052026_07_51_35_29377.jpg', '/home/pi/Desktop/images/07052026/07/50/image_07052026_07_51_06_30358.jpg', '/home/pi/Desktop/images/07052026/07/50/image_07052026_07_50_35_30373.jpg', '/home/pi/Desktop/images/07052026/07/49/image_07052026_07_50_05_30263.jpg', '/home/pi/Desktop/images/07052026/07/49/image_07052026_07_49_35_29208.jpg', '/home/pi/Desktop/images/07052026/07/48/image_07052026_07_48_35_30314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/51/image_07052026_07_51_35_29377.jpg
/home/pi/Desktop/images/07052026/07/50/image_07052026_07_51_06_30358.jpg
/home/pi/Desktop/images/07052026/07/50/image_07052026_07_50_35_30373.jpg
/home/pi/Desktop/images/07052026/07/49/image_07052026_07_50_05_30263.jpg
/home/pi/Desktop/images/07052026/07/49/image_07052026_07_49_35_29208.jpg
/home/pi/Desktop/images/07052026/07/48/image_07052026_07_48_35_30314.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875335","1416875329","1416875332","1416875340","1416875343","1416875337"],"photo_ids_order":["1416875329","1416875332","1416875335","1416875337","1416875340","1416875343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69df76fac77de43330a45280279bda3f.jpg","text":"TemporaryFile(/tmp/multipartBody8940415347265058907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_50_35_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b3370113a9570474cca4ca53949ff3c.jpg","text":"TemporaryFile(/tmp/multipartBody5997260156295118344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_51_35_29377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97697a17f6bbdcbbe314c083e6530e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6676344451000763979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_51_06_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/265c9e2edc78587fd83e59e278309bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1988894631422149968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_49_35_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bceee9ea541c2afa9f9cfcc4fccfa59.jpg","text":"TemporaryFile(/tmp/multipartBody8752792340564635471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_48_35_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/647441f33cee28dd2f2adb51655d012d.jpg","text":"TemporaryFile(/tmp/multipartBody6584576490208256738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506627346,"filename":"image_07052026_07_50_05_30263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416875335","file1":"1416875332","file0":"1416875329","file4":"1416875340","file5":"1416875343","file3":"1416875337"},"map_files_photo_id_array":[{"photo_id":"1416875343","filename":"file5"},{"photo_id":"1416875335","filename":"file2"},{"photo_id":"1416875340","filename":"file4"},{"photo_id":"1416875332","filename":"file1"},{"photo_id":"1416875329","filename":"file0"},{"photo_id":"1416875337","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416875335":["hashtag1","hashtag2"]},{"1416875329":["hashtag1","hashtag2"]},{"1416875332":["hashtag1","hashtag2"]},{"1416875340":["hashtag1","hashtag2"]},{"1416875343":["hashtag1","hashtag2"]},{"1416875337":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416875335, 1416875329, 1416875332, 1416875340, 1416875343, 1416875337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77508354187012 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:37:03.883043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/36/image_11052026_15_37_14_30155.jpg', '/home/pi/Desktop/images/11052026/15/36/image_11052026_15_36_43_29974.jpg', '/home/pi/Desktop/images/11052026/15/35/image_11052026_15_36_13_29168.jpg', '/home/pi/Desktop/images/11052026/15/34/image_11052026_15_34_44_30164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/36/image_11052026_15_37_14_30155.jpg
/home/pi/Desktop/images/11052026/15/36/image_11052026_15_36_43_29974.jpg
/home/pi/Desktop/images/11052026/15/35/image_11052026_15_36_13_29168.jpg
/home/pi/Desktop/images/11052026/15/34/image_11052026_15_34_44_30164.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.59364914894104 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:38:03.338818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/36/image_11052026_15_37_14_30155.jpg', '/home/pi/Desktop/images/11052026/15/36/image_11052026_15_36_43_29974.jpg', '/home/pi/Desktop/images/11052026/15/35/image_11052026_15_36_13_29168.jpg', '/home/pi/Desktop/images/11052026/15/34/image_11052026_15_34_44_30164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/36/image_11052026_15_37_14_30155.jpg
/home/pi/Desktop/images/11052026/15/36/image_11052026_15_36_43_29974.jpg
/home/pi/Desktop/images/11052026/15/35/image_11052026_15_36_13_29168.jpg
/home/pi/Desktop/images/11052026/15/34/image_11052026_15_34_44_30164.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875355","1416875357","1416875351","1416875353"],"photo_ids_order":["1416875351","1416875353","1416875355","1416875357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a755d5bf6b70b4eb52b1721da1fdaf2a.jpg","text":"TemporaryFile(/tmp/multipartBody72233458087601201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506745630,"filename":"image_11052026_15_36_13_29168.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4834866346d21bc849052ab82bfb5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7812302900705087090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506745630,"filename":"image_11052026_15_34_44_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd4428edbca8705d9dfa2f4a67137934.jpg","text":"TemporaryFile(/tmp/multipartBody7414942933427782771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506745630,"filename":"image_11052026_15_37_14_30155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf11c03777e6e5f4316ffc0921fd515b.jpg","text":"TemporaryFile(/tmp/multipartBody7528246984275861810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506745630,"filename":"image_11052026_15_36_43_29974.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416875355","file1":"1416875353","file0":"1416875351","file3":"1416875357"},"map_files_photo_id_array":[{"photo_id":"1416875355","filename":"file2"},{"photo_id":"1416875353","filename":"file1"},{"photo_id":"1416875351","filename":"file0"},{"photo_id":"1416875357","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416875355":["hashtag1","hashtag2"]},{"1416875357":["hashtag1","hashtag2"]},{"1416875351":["hashtag1","hashtag2"]},{"1416875353":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416875355, 1416875357, 1416875351, 1416875353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.45629048347473 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:39:03.714200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/37/image_11052026_15_37_44_30334.jpg', '/home/pi/Desktop/images/11052026/15/37/image_11052026_15_38_14_30087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/37/image_11052026_15_37_44_30334.jpg
/home/pi/Desktop/images/11052026/15/37/image_11052026_15_38_14_30087.jpg
2026-05-11 15:39:04.074587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/37/image_11052026_15_38_14_30087.jpg', '/home/pi/Desktop/images/11052026/15/37/image_11052026_15_37_44_30334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/37/image_11052026_15_38_14_30087.jpg
/home/pi/Desktop/images/11052026/15/37/image_11052026_15_37_44_30334.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0698094367980957 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875362","1416875361"],"photo_ids_order":["1416875361","1416875362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/162eabfe13aa51dab0f572d347d1e27c.jpg","text":"TemporaryFile(/tmp/multipartBody5879676098545378079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506805932,"filename":"image_11052026_15_38_14_30087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36b4828ca62b52b7a916829788cfe8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5606374696213744825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506805932,"filename":"image_11052026_15_37_44_30334.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416875362","file0":"1416875361"},"map_files_photo_id_array":[{"photo_id":"1416875362","filename":"file1"},{"photo_id":"1416875361","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416875362":["hashtag1","hashtag2"]},{"1416875361":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416875362, 1416875361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.426927089691162 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:40:03.779216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/38/image_11052026_15_39_14_30191.jpg', '/home/pi/Desktop/images/11052026/15/38/image_11052026_15_38_44_30187.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/38/image_11052026_15_39_14_30191.jpg
/home/pi/Desktop/images/11052026/15/38/image_11052026_15_38_44_30187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875366","1416875368"],"photo_ids_order":["1416875366","1416875368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8f1f66bdf5a9993fbbc0959f8e6e706.jpg","text":"TemporaryFile(/tmp/multipartBody1445482895004186414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506865365,"filename":"image_11052026_15_39_14_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6770d46988ec28ab7c5303f57c5d652.jpg","text":"TemporaryFile(/tmp/multipartBody8614350762719620823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506865365,"filename":"image_11052026_15_38_44_30187.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416875368","file0":"1416875366"},"map_files_photo_id_array":[{"photo_id":"1416875368","filename":"file1"},{"photo_id":"1416875366","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416875366":["hashtag1","hashtag2"]},{"1416875368":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416875366, 1416875368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.885000705718994 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:41:03.319311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/39/image_11052026_15_39_44_30002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/39/image_11052026_15_39_44_30002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875374"],"photo_id":"1416875374","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94f03b427ff5c214550ca79accd01693.jpg","text":"TemporaryFile(/tmp/multipartBody6048560802472293460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506924392,"filename":"image_11052026_15_39_44_30002.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416875374"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416875374"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.63719129562378 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:42:03.746270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/42/image_07052026_07_42_35_30354.jpg', '/home/pi/Desktop/images/07052026/07/41/image_07052026_07_42_05_29231.jpg', '/home/pi/Desktop/images/07052026/07/41/image_07052026_07_41_36_30348.jpg', '/home/pi/Desktop/images/07052026/07/40/image_07052026_07_41_05_30317.jpg', '/home/pi/Desktop/images/07052026/07/40/image_07052026_07_40_35_29292.jpg', '/home/pi/Desktop/images/07052026/07/38/image_07052026_07_38_35_29218.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/42/image_07052026_07_42_35_30354.jpg
/home/pi/Desktop/images/07052026/07/41/image_07052026_07_42_05_29231.jpg
/home/pi/Desktop/images/07052026/07/41/image_07052026_07_41_36_30348.jpg
/home/pi/Desktop/images/07052026/07/40/image_07052026_07_41_05_30317.jpg
/home/pi/Desktop/images/07052026/07/40/image_07052026_07_40_35_29292.jpg
/home/pi/Desktop/images/07052026/07/38/image_07052026_07_38_35_29218.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416875391","1416875643","1416875381","1416875383","1416875386","1416875389"],"photo_ids_order":["1416875381","1416875383","1416875386","1416875389","1416875391","1416875643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/156111ef34430a0e2db78722bbcee598.jpg","text":"TemporaryFile(/tmp/multipartBody3292094276449816880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_40_35_29292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b2db5200657272e9b298d3d1435bd88.jpg","text":"TemporaryFile(/tmp/multipartBody4957071414779857797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_38_35_29218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c183744862a252f795f2bda469968f3.jpg","text":"TemporaryFile(/tmp/multipartBody7869805315318475429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_42_35_30354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a545027a23859bdd56e56c144fcc39ff.jpg","text":"TemporaryFile(/tmp/multipartBody3522378618537185757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_42_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5be34b876f95167b4798d9223e012b29.jpg","text":"TemporaryFile(/tmp/multipartBody692219031526485299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_41_36_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f40d62c06f1ebb0e199bdbb6b1ac631d.jpg","text":"TemporaryFile(/tmp/multipartBody2374417498846529295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778506985671,"filename":"image_07052026_07_41_05_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416875386","file1":"1416875383","file0":"1416875381","file4":"1416875391","file5":"1416875643","file3":"1416875389"},"map_files_photo_id_array":[{"photo_id":"1416875643","filename":"file5"},{"photo_id":"1416875386","filename":"file2"},{"photo_id":"1416875391","filename":"file4"},{"photo_id":"1416875383","filename":"file1"},{"photo_id":"1416875381","filename":"file0"},{"photo_id":"1416875389","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416875391":["hashtag1","hashtag2"]},{"1416875643":["hashtag1","hashtag2"]},{"1416875381":["hashtag1","hashtag2"]},{"1416875383":["hashtag1","hashtag2"]},{"1416875386":["hashtag1","hashtag2"]},{"1416875389":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416875391, 1416875643, 1416875381, 1416875383, 1416875386, 1416875389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41871643066406 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:43:04.292481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg', '/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg', '/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg', '/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg
/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg
/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.13020658493042 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:44:03.197368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg', '/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg', '/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg', '/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg
/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg
/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.jpg
2026-05-11 15:44:03.358256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.jpg', '/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg', '/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg', '/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg', '/home/pi/Desktop/images/11052026/15/43/image_11052026_15_43_44_30127.jpg', '/home/pi/Desktop/images/11052026/15/43/image_11052026_15_44_13_29055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/40/image_11052026_15_40_43_29978.jpg
/home/pi/Desktop/images/11052026/15/41/image_11052026_15_42_14_30096.jpg
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_42_44_30163.jpg
/home/pi/Desktop/images/11052026/15/42/image_11052026_15_43_14_30209.jpg
/home/pi/Desktop/images/11052026/15/43/image_11052026_15_43_44_30127.jpg
/home/pi/Desktop/images/11052026/15/43/image_11052026_15_44_13_29055.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416876680","1416876683","1416876673","1416876676"],"photo_ids_order":["1416876673","1416876676","1416876680","1416876683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47bcda5725134d1496bec7b7962ce4c9.jpg","text":"TemporaryFile(/tmp/multipartBody6399919411433020856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105272,"filename":"image_11052026_15_42_14_30096.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/08622234577383c3230b1ac9fc9b2a7b.jpg","text":"TemporaryFile(/tmp/multipartBody180886909951727363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105272,"filename":"image_11052026_15_40_43_29978.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94c20434b5adc5f6c5b5fc2f82a936dd.jpg","text":"TemporaryFile(/tmp/multipartBody351102043909717319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105272,"filename":"image_11052026_15_43_14_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bc04339be14f1065686d40580877c20.jpg","text":"TemporaryFile(/tmp/multipartBody4294809115687872155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105272,"filename":"image_11052026_15_42_44_30163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416876680","file1":"1416876676","file0":"1416876673","file3":"1416876683"},"map_files_photo_id_array":[{"photo_id":"1416876680","filename":"file2"},{"photo_id":"1416876676","filename":"file1"},{"photo_id":"1416876673","filename":"file0"},{"photo_id":"1416876683","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416876680":["hashtag1","hashtag2"]},{"1416876683":["hashtag1","hashtag2"]},{"1416876673":["hashtag1","hashtag2"]},{"1416876676":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416876680, 1416876683, 1416876673, 1416876676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.315513849258423 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416876711","1416876674","1416876677","1416877025","1416876679","1416876682"],"photo_ids_order":["1416876674","1416876677","1416876679","1416876682","1416876711","1416877025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d22c12f4c5d57bf2204f1e4503d83c48.jpg","text":"TemporaryFile(/tmp/multipartBody1755576145484912714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_43_44_30127.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/912756df9b37ef24b1b5749567eedde3.jpg","text":"TemporaryFile(/tmp/multipartBody2846778856802864062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_40_43_29978.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c03f6f84b037031c771b32888f6abfc.jpg","text":"TemporaryFile(/tmp/multipartBody760038047741449237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_42_14_30096.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/577ff4f94bb4de1dcf4ca308fcdcfbf5.jpg","text":"TemporaryFile(/tmp/multipartBody7987854695777913718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_44_13_29055.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9bb1a3667170390a7d20b986d6d83d5.jpg","text":"TemporaryFile(/tmp/multipartBody6353708892117827131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_42_44_30163.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/71ba77216da784daf8fbdeb9bc1cd8d0.jpg","text":"TemporaryFile(/tmp/multipartBody8797248583524381775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507105645,"filename":"image_11052026_15_43_14_30209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416876679","file1":"1416876677","file0":"1416876674","file4":"1416876711","file5":"1416877025","file3":"1416876682"},"map_files_photo_id_array":[{"photo_id":"1416877025","filename":"file5"},{"photo_id":"1416876679","filename":"file2"},{"photo_id":"1416876711","filename":"file4"},{"photo_id":"1416876677","filename":"file1"},{"photo_id":"1416876674","filename":"file0"},{"photo_id":"1416876682","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416876711":["hashtag1","hashtag2"]},{"1416876674":["hashtag1","hashtag2"]},{"1416876677":["hashtag1","hashtag2"]},{"1416877025":["hashtag1","hashtag2"]},{"1416876679":["hashtag1","hashtag2"]},{"1416876682":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416876711, 1416876674, 1416876677, 1416877025, 1416876679, 1416876682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41004300117493 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:45:04.389597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/37/image_07052026_07_38_06_30383.jpg', '/home/pi/Desktop/images/07052026/07/37/image_07052026_07_37_35_29383.jpg', '/home/pi/Desktop/images/07052026/07/36/image_07052026_07_37_06_30338.jpg', '/home/pi/Desktop/images/07052026/07/35/image_07052026_07_36_05_30232.jpg', '/home/pi/Desktop/images/07052026/07/35/image_07052026_07_35_35_29246.jpg', '/home/pi/Desktop/images/07052026/07/34/image_07052026_07_35_06_30369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/37/image_07052026_07_38_06_30383.jpg
/home/pi/Desktop/images/07052026/07/37/image_07052026_07_37_35_29383.jpg
/home/pi/Desktop/images/07052026/07/36/image_07052026_07_37_06_30338.jpg
/home/pi/Desktop/images/07052026/07/35/image_07052026_07_36_05_30232.jpg
/home/pi/Desktop/images/07052026/07/35/image_07052026_07_35_35_29246.jpg
/home/pi/Desktop/images/07052026/07/34/image_07052026_07_35_06_30369.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877496","1416877676","1416877645","1416877495","1416877644","1416877638"],"photo_ids_order":["1416877495","1416877496","1416877638","1416877644","1416877645","1416877676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63bcd67221b482f3bd22f2e06b01fc43.jpg","text":"TemporaryFile(/tmp/multipartBody4387246817427135966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_37_35_29383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7d9179e33735fd0734fc2445ba8b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody2109780019346143866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_35_06_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ef20b3225ea87d4071d143b52cfa145.jpg","text":"TemporaryFile(/tmp/multipartBody708370727080013680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_35_35_29246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d81610960ec4d2d4f30e050cb538a7d8.jpg","text":"TemporaryFile(/tmp/multipartBody496585673846497293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_38_06_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/067911e590ee4f2aba3ad6c7da639b06.jpg","text":"TemporaryFile(/tmp/multipartBody7889665806593052073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_36_05_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25a30ac27c07d5b106dfdf84606dbbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5460819339211906846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507166573,"filename":"image_07052026_07_37_06_30338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416877638","file1":"1416877496","file0":"1416877495","file4":"1416877645","file5":"1416877676","file3":"1416877644"},"map_files_photo_id_array":[{"photo_id":"1416877676","filename":"file5"},{"photo_id":"1416877638","filename":"file2"},{"photo_id":"1416877645","filename":"file4"},{"photo_id":"1416877496","filename":"file1"},{"photo_id":"1416877495","filename":"file0"},{"photo_id":"1416877644","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416877496":["hashtag1","hashtag2"]},{"1416877676":["hashtag1","hashtag2"]},{"1416877645":["hashtag1","hashtag2"]},{"1416877495":["hashtag1","hashtag2"]},{"1416877644":["hashtag1","hashtag2"]},{"1416877638":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416877496, 1416877676, 1416877645, 1416877495, 1416877644, 1416877638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.039700508117676 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:46:03.336473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/44/image_11052026_15_45_14_30250.jpg', '/home/pi/Desktop/images/11052026/15/44/image_11052026_15_44_44_30263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/44/image_11052026_15_45_14_30250.jpg
/home/pi/Desktop/images/11052026/15/44/image_11052026_15_44_44_30263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877756","1416877755"],"photo_ids_order":["1416877755","1416877756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/856dc4a8d075dbbc240a8ae6585f9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6546068733778485839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507224628,"filename":"image_11052026_15_44_44_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9b8e0b1d6c0bbfe4c332e64ba2dace1.jpg","text":"TemporaryFile(/tmp/multipartBody1693569910817467422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507224628,"filename":"image_11052026_15_45_14_30250.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416877756","file0":"1416877755"},"map_files_photo_id_array":[{"photo_id":"1416877756","filename":"file1"},{"photo_id":"1416877755","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877756":["hashtag1","hashtag2"]},{"1416877755":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877756, 1416877755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.172537803649902 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:47:03.890312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/45/image_11052026_15_46_14_29288.jpg', '/home/pi/Desktop/images/11052026/15/45/image_11052026_15_45_44_30227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/45/image_11052026_15_46_14_29288.jpg
/home/pi/Desktop/images/11052026/15/45/image_11052026_15_45_44_30227.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877763","1416877764"],"photo_ids_order":["1416877763","1416877764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48290377b450272200c78be7aa390d64.jpg","text":"TemporaryFile(/tmp/multipartBody1161101075393582081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507285902,"filename":"image_11052026_15_46_14_29288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2909d75248cc68ff0022b110a9d0054d.jpg","text":"TemporaryFile(/tmp/multipartBody2615865929219527236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507285902,"filename":"image_11052026_15_45_44_30227.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416877764","file0":"1416877763"},"map_files_photo_id_array":[{"photo_id":"1416877764","filename":"file1"},{"photo_id":"1416877763","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877763":["hashtag1","hashtag2"]},{"1416877764":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877763, 1416877764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.979278326034546 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:48:03.491072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/46/image_11052026_15_47_14_30210.jpg', '/home/pi/Desktop/images/11052026/15/46/image_11052026_15_46_44_30216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/46/image_11052026_15_47_14_30210.jpg
/home/pi/Desktop/images/11052026/15/46/image_11052026_15_46_44_30216.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877767","1416877769"],"photo_ids_order":["1416877767","1416877769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24df447d697a769b140f499442447913.jpg","text":"TemporaryFile(/tmp/multipartBody962032839892737811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507345060,"filename":"image_11052026_15_47_14_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5018e28f8481ed6f75a05b748f1e930.jpg","text":"TemporaryFile(/tmp/multipartBody7104225267985029677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507345060,"filename":"image_11052026_15_46_44_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416877769","file0":"1416877767"},"map_files_photo_id_array":[{"photo_id":"1416877769","filename":"file1"},{"photo_id":"1416877767","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877767":["hashtag1","hashtag2"]},{"1416877769":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877767, 1416877769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.329864025115967 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:49:04.061529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/47/image_11052026_15_47_44_30122.jpg', '/home/pi/Desktop/images/11052026/15/47/image_11052026_15_48_14_30228.jpg', '/home/pi/Desktop/images/11052026/15/48/image_11052026_15_48_44_30070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/47/image_11052026_15_47_44_30122.jpg
/home/pi/Desktop/images/11052026/15/47/image_11052026_15_48_14_30228.jpg
/home/pi/Desktop/images/11052026/15/48/image_11052026_15_48_44_30070.jpg
2026-05-11 15:49:04.245644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/48/image_11052026_15_48_44_30070.jpg', '/home/pi/Desktop/images/11052026/15/47/image_11052026_15_48_14_30228.jpg', '/home/pi/Desktop/images/11052026/15/47/image_11052026_15_47_44_30122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/48/image_11052026_15_48_44_30070.jpg
/home/pi/Desktop/images/11052026/15/47/image_11052026_15_48_14_30228.jpg
/home/pi/Desktop/images/11052026/15/47/image_11052026_15_47_44_30122.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6107637882232666 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877781","1416877785","1416877782"],"photo_ids_order":["1416877781","1416877782","1416877785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/39b26316447d60eb54b11a8cccf036bc.jpg","text":"TemporaryFile(/tmp/multipartBody7859789160624923478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507407507,"filename":"image_11052026_15_48_44_30070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84735e7362100078e90e65d929e4aee5.jpg","text":"TemporaryFile(/tmp/multipartBody5954293529154812954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507407507,"filename":"image_11052026_15_47_44_30122.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/202528598b27ed6ffd2649268d6c82c0.jpg","text":"TemporaryFile(/tmp/multipartBody8257948955640222325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507407507,"filename":"image_11052026_15_48_14_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416877785","file1":"1416877782","file0":"1416877781"},"map_files_photo_id_array":[{"photo_id":"1416877785","filename":"file2"},{"photo_id":"1416877782","filename":"file1"},{"photo_id":"1416877781","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877781":["hashtag1","hashtag2"]},{"1416877785":["hashtag1","hashtag2"]},{"1416877782":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877781, 1416877785, 1416877782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.16697359085083 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:50:03.538182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/34/image_07052026_07_34_35_30233.jpg', '/home/pi/Desktop/images/07052026/07/33/image_07052026_07_34_05_30248.jpg', '/home/pi/Desktop/images/07052026/07/33/image_07052026_07_33_35_29126.jpg', '/home/pi/Desktop/images/07052026/07/31/image_07052026_07_32_05_29254.jpg', '/home/pi/Desktop/images/07052026/07/26/image_07052026_07_26_36_30235.jpg', '/home/pi/Desktop/images/07052026/07/25/image_07052026_07_26_05_30301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/34/image_07052026_07_34_35_30233.jpg
/home/pi/Desktop/images/07052026/07/33/image_07052026_07_34_05_30248.jpg
/home/pi/Desktop/images/07052026/07/33/image_07052026_07_33_35_29126.jpg
/home/pi/Desktop/images/07052026/07/31/image_07052026_07_32_05_29254.jpg
/home/pi/Desktop/images/07052026/07/26/image_07052026_07_26_36_30235.jpg
/home/pi/Desktop/images/07052026/07/25/image_07052026_07_26_05_30301.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877790","1416877795","1416877798","1416877792","1416877788","1416877797"],"photo_ids_order":["1416877788","1416877790","1416877792","1416877795","1416877797","1416877798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d587397905906adcf07432ebfc530980.jpg","text":"TemporaryFile(/tmp/multipartBody3112595545971527043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_34_05_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d992ed989c7e5c25ef7e318990a032e9.jpg","text":"TemporaryFile(/tmp/multipartBody2694567981829853912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_32_05_29254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd7d5e00809a52340a8d031153c8f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4369536218374588151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_26_05_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac62dcb9520dde3e08c72d10ca346013.jpg","text":"TemporaryFile(/tmp/multipartBody9215239025142291009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_33_35_29126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6c69b0c3086cf638e3122d1fe049c3b.jpg","text":"TemporaryFile(/tmp/multipartBody242732307593498191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_34_35_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a516a827a865665ca392137e35bf2635.jpg","text":"TemporaryFile(/tmp/multipartBody7521456799312564113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507467636,"filename":"image_07052026_07_26_36_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416877792","file1":"1416877790","file0":"1416877788","file4":"1416877797","file5":"1416877798","file3":"1416877795"},"map_files_photo_id_array":[{"photo_id":"1416877798","filename":"file5"},{"photo_id":"1416877792","filename":"file2"},{"photo_id":"1416877797","filename":"file4"},{"photo_id":"1416877790","filename":"file1"},{"photo_id":"1416877788","filename":"file0"},{"photo_id":"1416877795","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416877790":["hashtag1","hashtag2"]},{"1416877795":["hashtag1","hashtag2"]},{"1416877798":["hashtag1","hashtag2"]},{"1416877792":["hashtag1","hashtag2"]},{"1416877788":["hashtag1","hashtag2"]},{"1416877797":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416877790, 1416877795, 1416877798, 1416877792, 1416877788, 1416877797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5972261428833 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:51:03.851655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/50/image_11052026_15_51_14_30077.jpg', '/home/pi/Desktop/images/11052026/15/50/image_11052026_15_50_44_30176.jpg', '/home/pi/Desktop/images/11052026/15/49/image_11052026_15_50_14_30138.jpg', '/home/pi/Desktop/images/11052026/15/49/image_11052026_15_49_44_30058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/50/image_11052026_15_51_14_30077.jpg
/home/pi/Desktop/images/11052026/15/50/image_11052026_15_50_44_30176.jpg
/home/pi/Desktop/images/11052026/15/49/image_11052026_15_50_14_30138.jpg
/home/pi/Desktop/images/11052026/15/49/image_11052026_15_49_44_30058.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877800","1416877803","1416877802","1416877801"],"photo_ids_order":["1416877800","1416877801","1416877802","1416877803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cc29c75c7db7fe3442cefff7b51bed8.jpg","text":"TemporaryFile(/tmp/multipartBody2784530759961012682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507526090,"filename":"image_11052026_15_51_14_30077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7bdc904f1f8c979dac3255661bd5fd06.jpg","text":"TemporaryFile(/tmp/multipartBody7466969590650597991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507526090,"filename":"image_11052026_15_49_44_30058.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c51c87c7abeb9aebae334e5c4694cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2707322798305468535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507526090,"filename":"image_11052026_15_50_14_30138.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7afb2a9d7d7aa73790410347e67da4d0.jpg","text":"TemporaryFile(/tmp/multipartBody5182971886413726084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507526090,"filename":"image_11052026_15_50_44_30176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416877802","file1":"1416877801","file0":"1416877800","file3":"1416877803"},"map_files_photo_id_array":[{"photo_id":"1416877802","filename":"file2"},{"photo_id":"1416877801","filename":"file1"},{"photo_id":"1416877800","filename":"file0"},{"photo_id":"1416877803","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877800":["hashtag1","hashtag2"]},{"1416877803":["hashtag1","hashtag2"]},{"1416877802":["hashtag1","hashtag2"]},{"1416877801":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877800, 1416877803, 1416877802, 1416877801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.751286268234253 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:52:03.406830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/52/image_11052026_15_52_44_30009.jpg', '/home/pi/Desktop/images/11052026/15/51/image_11052026_15_51_44_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/52/image_11052026_15_52_44_30009.jpg
/home/pi/Desktop/images/11052026/15/51/image_11052026_15_51_44_30201.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416877806","1416877808"],"photo_ids_order":["1416877806","1416877808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c90d247a4f5cbdc0fb0ddfa0fe5ade1.jpg","text":"TemporaryFile(/tmp/multipartBody8820642387568586930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507584741,"filename":"image_11052026_15_52_44_30009.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aaaa289e3a6b052bbf808c08fbc2c053.jpg","text":"TemporaryFile(/tmp/multipartBody7874462753344044262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507584741,"filename":"image_11052026_15_51_44_30201.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416877808","file0":"1416877806"},"map_files_photo_id_array":[{"photo_id":"1416877808","filename":"file1"},{"photo_id":"1416877806","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416877806":["hashtag1","hashtag2"]},{"1416877808":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416877806, 1416877808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.62757897377014 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:53:03.613375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/52/image_11052026_15_53_14_30028.jpg', '/home/pi/Desktop/images/11052026/15/51/image_11052026_15_52_14_30160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/52/image_11052026_15_53_14_30028.jpg
/home/pi/Desktop/images/11052026/15/51/image_11052026_15_52_14_30160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416878824","1416878823"],"photo_ids_order":["1416878823","1416878824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af4176333afe14212f996537109e0a66.jpg","text":"TemporaryFile(/tmp/multipartBody8500918037414870496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507645161,"filename":"image_11052026_15_52_14_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96dbf9403b59c35fc207f4ee4c190ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2388432741255091744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507645161,"filename":"image_11052026_15_53_14_30028.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416878824","file0":"1416878823"},"map_files_photo_id_array":[{"photo_id":"1416878824","filename":"file1"},{"photo_id":"1416878823","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416878824":["hashtag1","hashtag2"]},{"1416878823":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416878824, 1416878823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.04196810722351 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:54:03.071095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/25/image_07052026_07_25_35_29263.jpg', '/home/pi/Desktop/images/07052026/07/24/image_07052026_07_24_35_30289.jpg', '/home/pi/Desktop/images/07052026/07/23/image_07052026_07_24_05_30306.jpg', '/home/pi/Desktop/images/07052026/07/23/image_07052026_07_23_35_29313.jpg', '/home/pi/Desktop/images/07052026/07/22/image_07052026_07_23_06_30345.jpg', '/home/pi/Desktop/images/07052026/07/20/image_07052026_07_21_05_30286.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/25/image_07052026_07_25_35_29263.jpg
/home/pi/Desktop/images/07052026/07/24/image_07052026_07_24_35_30289.jpg
/home/pi/Desktop/images/07052026/07/23/image_07052026_07_24_05_30306.jpg
/home/pi/Desktop/images/07052026/07/23/image_07052026_07_23_35_29313.jpg
/home/pi/Desktop/images/07052026/07/22/image_07052026_07_23_06_30345.jpg
/home/pi/Desktop/images/07052026/07/20/image_07052026_07_21_05_30286.jpg
2026-05-11 15:54:03.309012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/41/image_07052026_02_42_06_30338.jpg', '/home/pi/Desktop/images/07052026/02/42/image_07052026_02_42_35_29250.jpg', '/home/pi/Desktop/images/07052026/02/42/image_07052026_02_43_05_30380.jpg', '/home/pi/Desktop/images/07052026/02/43/image_07052026_02_43_36_30420.jpg', '/home/pi/Desktop/images/07052026/02/44/image_07052026_02_44_35_30332.jpg', '/home/pi/Desktop/images/07052026/02/49/image_07052026_02_50_05_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/41/image_07052026_02_42_06_30338.jpg
/home/pi/Desktop/images/07052026/02/42/image_07052026_02_42_35_29250.jpg
/home/pi/Desktop/images/07052026/02/42/image_07052026_02_43_05_30380.jpg
/home/pi/Desktop/images/07052026/02/43/image_07052026_02_43_36_30420.jpg
/home/pi/Desktop/images/07052026/02/44/image_07052026_02_44_35_30332.jpg
/home/pi/Desktop/images/07052026/02/49/image_07052026_02_50_05_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416879122","1416879116","1416879119","1416879113","1416879109","1416879111"],"photo_ids_order":["1416879109","1416879111","1416879113","1416879116","1416879119","1416879122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76234a2c79d25c1913b848a84a034b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3545087790894214793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_21_05_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3c47c4031ab54150638524ac436e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody833690373168467838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_23_35_29313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c30bf4fe6910dc44c3d660c466475063.jpg","text":"TemporaryFile(/tmp/multipartBody8297488501453476997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_23_06_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7668682b54928ced87af73a8f0dc96e5.jpg","text":"TemporaryFile(/tmp/multipartBody6503036429024996124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_24_05_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96a87156e29e23647101d7ddb396fbc3.jpg","text":"TemporaryFile(/tmp/multipartBody8633282303527040606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_25_35_29263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ff508b076cf3f060d674572794a8752.jpg","text":"TemporaryFile(/tmp/multipartBody4703636013761327646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507712100,"filename":"image_07052026_07_24_35_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416879113","file1":"1416879111","file0":"1416879109","file4":"1416879119","file5":"1416879122","file3":"1416879116"},"map_files_photo_id_array":[{"photo_id":"1416879122","filename":"file5"},{"photo_id":"1416879113","filename":"file2"},{"photo_id":"1416879119","filename":"file4"},{"photo_id":"1416879111","filename":"file1"},{"photo_id":"1416879109","filename":"file0"},{"photo_id":"1416879116","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416879122":["hashtag1","hashtag2"]},{"1416879116":["hashtag1","hashtag2"]},{"1416879119":["hashtag1","hashtag2"]},{"1416879113":["hashtag1","hashtag2"]},{"1416879109":["hashtag1","hashtag2"]},{"1416879111":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416879122, 1416879116, 1416879119, 1416879113, 1416879109, 1416879111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.9941041469574 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416879110","1416879115","1416879118","1416879112","1416879120","1416879123"],"photo_ids_order":["1416879110","1416879112","1416879115","1416879118","1416879120","1416879123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2413a00d5c74d34dc94bee0eab9fb2dd.jpg","text":"TemporaryFile(/tmp/multipartBody4588765802240069231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_42_06_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3513b43876e84054ab8b43ca4fc748e5.jpg","text":"TemporaryFile(/tmp/multipartBody2333808485056121214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_43_05_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59c3e6821b3ff0be621f760bead1a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody7586542807291278882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_43_36_30420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be26b861cee98c79a2336a37772fb00e.jpg","text":"TemporaryFile(/tmp/multipartBody2911435981645074288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_42_35_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f260263c9ed8f457d41d924934e3a194.jpg","text":"TemporaryFile(/tmp/multipartBody4365271566791063784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_44_35_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12f75a67111abfae3eecd3d1477f9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8182993566230383099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778507714680,"filename":"image_07052026_02_50_05_30329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416879115","file1":"1416879112","file0":"1416879110","file4":"1416879120","file5":"1416879123","file3":"1416879118"},"map_files_photo_id_array":[{"photo_id":"1416879123","filename":"file5"},{"photo_id":"1416879115","filename":"file2"},{"photo_id":"1416879120","filename":"file4"},{"photo_id":"1416879112","filename":"file1"},{"photo_id":"1416879110","filename":"file0"},{"photo_id":"1416879118","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416879110":["hashtag1","hashtag2"]},{"1416879115":["hashtag1","hashtag2"]},{"1416879118":["hashtag1","hashtag2"]},{"1416879112":["hashtag1","hashtag2"]},{"1416879120":["hashtag1","hashtag2"]},{"1416879123":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416879110, 1416879115, 1416879118, 1416879112, 1416879120, 1416879123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.432915925979614 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 15:59:04.651149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/53/image_11052026_15_53_44_29996.jpg', '/home/pi/Desktop/images/11052026/15/53/image_11052026_15_54_14_29889.jpg', '/home/pi/Desktop/images/11052026/15/54/image_11052026_15_54_44_29963.jpg', '/home/pi/Desktop/images/11052026/15/54/image_11052026_15_55_14_30044.jpg', '/home/pi/Desktop/images/11052026/15/56/image_11052026_15_56_44_30065.jpg', '/home/pi/Desktop/images/11052026/15/56/image_11052026_15_57_14_30141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/53/image_11052026_15_53_44_29996.jpg
/home/pi/Desktop/images/11052026/15/53/image_11052026_15_54_14_29889.jpg
/home/pi/Desktop/images/11052026/15/54/image_11052026_15_54_44_29963.jpg
/home/pi/Desktop/images/11052026/15/54/image_11052026_15_55_14_30044.jpg
/home/pi/Desktop/images/11052026/15/56/image_11052026_15_56_44_30065.jpg
/home/pi/Desktop/images/11052026/15/56/image_11052026_15_57_14_30141.jpg
2026-05-11 15:59:05.068242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/57/image_11052026_15_58_14_30073.jpg', '/home/pi/Desktop/images/11052026/15/57/image_11052026_15_57_43_29086.jpg', '/home/pi/Desktop/images/11052026/15/56/image_11052026_15_57_14_30141.jpg', '/home/pi/Desktop/images/11052026/15/56/image_11052026_15_56_44_30065.jpg', '/home/pi/Desktop/images/11052026/15/54/image_11052026_15_55_14_30044.jpg', '/home/pi/Desktop/images/11052026/15/54/image_11052026_15_54_44_29963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/57/image_11052026_15_58_14_30073.jpg
/home/pi/Desktop/images/11052026/15/57/image_11052026_15_57_43_29086.jpg
/home/pi/Desktop/images/11052026/15/56/image_11052026_15_57_14_30141.jpg
/home/pi/Desktop/images/11052026/15/56/image_11052026_15_56_44_30065.jpg
/home/pi/Desktop/images/11052026/15/54/image_11052026_15_55_14_30044.jpg
/home/pi/Desktop/images/11052026/15/54/image_11052026_15_54_44_29963.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416880451","1416880454","1416880448","1416880453","1416880456","1416880459"],"photo_ids_order":["1416880448","1416880451","1416880453","1416880454","1416880456","1416880459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/700fbee7badd8e6bbbf5fbf39076e56a.jpg","text":"TemporaryFile(/tmp/multipartBody7343280570624547755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_54_14_29889.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de15e9f8e804a4f156d8dedcaa92171c.jpg","text":"TemporaryFile(/tmp/multipartBody7222990892143377239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_55_14_30044.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c51d24e79aca6c880ee7f245a18beaa.jpg","text":"TemporaryFile(/tmp/multipartBody9091948002631513008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_53_44_29996.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df39b1b3d168d1c7a9226c11e0f8031f.jpg","text":"TemporaryFile(/tmp/multipartBody6029440491630072218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_54_44_29963.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccd5c21ef96c811fb33fca8ae34ff309.jpg","text":"TemporaryFile(/tmp/multipartBody3218653433565151710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_56_44_30065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/318195daa8e0c2c78786f62b424510d5.jpg","text":"TemporaryFile(/tmp/multipartBody3562611640535475171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508007765,"filename":"image_11052026_15_57_14_30141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416880453","file1":"1416880451","file0":"1416880448","file4":"1416880456","file5":"1416880459","file3":"1416880454"},"map_files_photo_id_array":[{"photo_id":"1416880459","filename":"file5"},{"photo_id":"1416880453","filename":"file2"},{"photo_id":"1416880456","filename":"file4"},{"photo_id":"1416880451","filename":"file1"},{"photo_id":"1416880448","filename":"file0"},{"photo_id":"1416880454","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416880451":["hashtag1","hashtag2"]},{"1416880454":["hashtag1","hashtag2"]},{"1416880448":["hashtag1","hashtag2"]},{"1416880453":["hashtag1","hashtag2"]},{"1416880456":["hashtag1","hashtag2"]},{"1416880459":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416880451, 1416880454, 1416880448, 1416880453, 1416880456, 1416880459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.434937477111816 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416880463","1416880457","1416880452","1416880461","1416880455","1416880449"],"photo_ids_order":["1416880449","1416880452","1416880455","1416880457","1416880461","1416880463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8e0f314ca1c7af4984bc6e05fc54c42.jpg","text":"TemporaryFile(/tmp/multipartBody8234401641091105912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_54_44_29963.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/889ac6061498a013802490e3170ffa0e.jpg","text":"TemporaryFile(/tmp/multipartBody8453101073666961288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_56_44_30065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ada387f028a148a565b09c4f4965fc95.jpg","text":"TemporaryFile(/tmp/multipartBody1758408626417677505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_57_43_29086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d13f13dd2c24cbc843a38aae8b799a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6396456528832679592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_55_14_30044.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6cb39ad3d0bac07b516fe944bfa8e47d.jpg","text":"TemporaryFile(/tmp/multipartBody6010313360484154091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_57_14_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb6389158ac92eabd718152db52906e9.jpg","text":"TemporaryFile(/tmp/multipartBody1057073624691024505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508008590,"filename":"image_11052026_15_58_14_30073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416880455","file1":"1416880452","file0":"1416880449","file4":"1416880461","file5":"1416880463","file3":"1416880457"},"map_files_photo_id_array":[{"photo_id":"1416880463","filename":"file5"},{"photo_id":"1416880455","filename":"file2"},{"photo_id":"1416880461","filename":"file4"},{"photo_id":"1416880452","filename":"file1"},{"photo_id":"1416880449","filename":"file0"},{"photo_id":"1416880457","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416880463":["hashtag1","hashtag2"]},{"1416880457":["hashtag1","hashtag2"]},{"1416880452":["hashtag1","hashtag2"]},{"1416880461":["hashtag1","hashtag2"]},{"1416880455":["hashtag1","hashtag2"]},{"1416880449":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416880463, 1416880457, 1416880452, 1416880461, 1416880455, 1416880449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.870452642440796 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:00:03.526753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/15/58/image_11052026_15_59_14_30036.jpg', '/home/pi/Desktop/images/11052026/15/58/image_11052026_15_58_44_30086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/15/58/image_11052026_15_59_14_30036.jpg
/home/pi/Desktop/images/11052026/15/58/image_11052026_15_58_44_30086.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9854099750518799 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:01:03.783595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/00/image_11052026_16_01_14_30129.jpg', '/home/pi/Desktop/images/11052026/16/00/image_11052026_16_00_44_30229.jpg', '/home/pi/Desktop/images/11052026/15/59/image_11052026_16_00_14_30070.jpg', '/home/pi/Desktop/images/11052026/15/59/image_11052026_15_59_44_30180.jpg', '/home/pi/Desktop/images/11052026/15/58/image_11052026_15_59_14_30036.jpg', '/home/pi/Desktop/images/11052026/15/58/image_11052026_15_58_44_30086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/00/image_11052026_16_01_14_30129.jpg
/home/pi/Desktop/images/11052026/16/00/image_11052026_16_00_44_30229.jpg
/home/pi/Desktop/images/11052026/15/59/image_11052026_16_00_14_30070.jpg
/home/pi/Desktop/images/11052026/15/59/image_11052026_15_59_44_30180.jpg
/home/pi/Desktop/images/11052026/15/58/image_11052026_15_59_14_30036.jpg
/home/pi/Desktop/images/11052026/15/58/image_11052026_15_58_44_30086.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416880475","1416880472","1416880474","1416880477","1416880476","1416880473"],"photo_ids_order":["1416880472","1416880473","1416880474","1416880475","1416880476","1416880477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5a825aad9b0b43f2a1942214bfe585f.jpg","text":"TemporaryFile(/tmp/multipartBody2752369772369266894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_15_59_44_30180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a612ac179f72696fc74a9732a7dc569.jpg","text":"TemporaryFile(/tmp/multipartBody7192914545549489251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_16_01_14_30129.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d6349948c76f045905e6234e0c1a512.jpg","text":"TemporaryFile(/tmp/multipartBody2517187851153349492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_16_00_14_30070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e2519351a3e9f191e62ea3bb97349c4.jpg","text":"TemporaryFile(/tmp/multipartBody8327498813456735754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_15_58_44_30086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b015af1f6f7b20a4e72e5c8eb419938.jpg","text":"TemporaryFile(/tmp/multipartBody18397337422677435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_15_59_14_30036.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/042d7a2c4efd3d1deae8cafcd3c3ade5.jpg","text":"TemporaryFile(/tmp/multipartBody186847164687702173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508126492,"filename":"image_11052026_16_00_44_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416880474","file1":"1416880473","file0":"1416880472","file4":"1416880476","file5":"1416880477","file3":"1416880475"},"map_files_photo_id_array":[{"photo_id":"1416880477","filename":"file5"},{"photo_id":"1416880474","filename":"file2"},{"photo_id":"1416880476","filename":"file4"},{"photo_id":"1416880473","filename":"file1"},{"photo_id":"1416880472","filename":"file0"},{"photo_id":"1416880475","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416880475":["hashtag1","hashtag2"]},{"1416880472":["hashtag1","hashtag2"]},{"1416880474":["hashtag1","hashtag2"]},{"1416880477":["hashtag1","hashtag2"]},{"1416880476":["hashtag1","hashtag2"]},{"1416880473":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416880475, 1416880472, 1416880474, 1416880477, 1416880476, 1416880473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67728066444397 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:02:02.984550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/18/image_07052026_07_19_06_30363.jpg', '/home/pi/Desktop/images/07052026/07/17/image_07052026_07_17_36_30459.jpg', '/home/pi/Desktop/images/07052026/07/16/image_07052026_07_16_35_29261.jpg', '/home/pi/Desktop/images/07052026/07/15/image_07052026_07_15_35_30366.jpg', '/home/pi/Desktop/images/07052026/07/14/image_07052026_07_15_05_29246.jpg', '/home/pi/Desktop/images/07052026/07/14/image_07052026_07_14_36_30386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/18/image_07052026_07_19_06_30363.jpg
/home/pi/Desktop/images/07052026/07/17/image_07052026_07_17_36_30459.jpg
/home/pi/Desktop/images/07052026/07/16/image_07052026_07_16_35_29261.jpg
/home/pi/Desktop/images/07052026/07/15/image_07052026_07_15_35_30366.jpg
/home/pi/Desktop/images/07052026/07/14/image_07052026_07_15_05_29246.jpg
/home/pi/Desktop/images/07052026/07/14/image_07052026_07_14_36_30386.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416880490","1416880484","1416880486","1416880480","1416880482","1416880488"],"photo_ids_order":["1416880480","1416880482","1416880484","1416880486","1416880488","1416880490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b11bfa7bf5623b7a7939ccc0dde08d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4822342317971710869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_14_36_30386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2dd1cc656ac799cbb2b7fcaf286a0f73.jpg","text":"TemporaryFile(/tmp/multipartBody6095812567698898248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_16_35_29261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95a4c64620d854c76c76cf465c6b15d2.jpg","text":"TemporaryFile(/tmp/multipartBody6158953255462182798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_15_35_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aec1fbc8039f582f1a73144add1be6e8.jpg","text":"TemporaryFile(/tmp/multipartBody5961873985479360159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_19_06_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d42f98a8dffa78b274db38cb4f423a3.jpg","text":"TemporaryFile(/tmp/multipartBody5750229212924247102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_17_36_30459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f7de47c688b1ee36f1a16b1656ec914.jpg","text":"TemporaryFile(/tmp/multipartBody4042878624121092242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508187137,"filename":"image_07052026_07_15_05_29246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416880484","file1":"1416880482","file0":"1416880480","file4":"1416880488","file5":"1416880490","file3":"1416880486"},"map_files_photo_id_array":[{"photo_id":"1416880490","filename":"file5"},{"photo_id":"1416880484","filename":"file2"},{"photo_id":"1416880488","filename":"file4"},{"photo_id":"1416880482","filename":"file1"},{"photo_id":"1416880480","filename":"file0"},{"photo_id":"1416880486","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416880490":["hashtag1","hashtag2"]},{"1416880484":["hashtag1","hashtag2"]},{"1416880486":["hashtag1","hashtag2"]},{"1416880480":["hashtag1","hashtag2"]},{"1416880482":["hashtag1","hashtag2"]},{"1416880488":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416880490, 1416880484, 1416880486, 1416880480, 1416880482, 1416880488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5336549282074 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:03:04.170980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/02/image_11052026_16_03_14_30046.jpg', '/home/pi/Desktop/images/11052026/16/02/image_11052026_16_02_44_30173.jpg', '/home/pi/Desktop/images/11052026/16/01/image_11052026_16_02_13_29004.jpg', '/home/pi/Desktop/images/11052026/16/01/image_11052026_16_01_44_30108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/02/image_11052026_16_03_14_30046.jpg
/home/pi/Desktop/images/11052026/16/02/image_11052026_16_02_44_30173.jpg
/home/pi/Desktop/images/11052026/16/01/image_11052026_16_02_13_29004.jpg
/home/pi/Desktop/images/11052026/16/01/image_11052026_16_01_44_30108.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416880492","1416880891","1416881070","1416880590"],"photo_ids_order":["1416880492","1416880590","1416880891","1416881070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2aa7916df3efb40b5ca41e9156ec4e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8054291377415657412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508246210,"filename":"image_11052026_16_03_14_30046.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52658846e7bd24d5e0eb31a5ff7d850f.jpg","text":"TemporaryFile(/tmp/multipartBody2342471386138749713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508246210,"filename":"image_11052026_16_02_13_29004.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be0a367cdeb859c90bd8aaeba0302fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3633658606797641790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508246210,"filename":"image_11052026_16_01_44_30108.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43de3bb9309df0ac7edc2c7b1ab1281e.jpg","text":"TemporaryFile(/tmp/multipartBody4454891476186587003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508246210,"filename":"image_11052026_16_02_44_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416880891","file1":"1416880590","file0":"1416880492","file3":"1416881070"},"map_files_photo_id_array":[{"photo_id":"1416880891","filename":"file2"},{"photo_id":"1416880590","filename":"file1"},{"photo_id":"1416880492","filename":"file0"},{"photo_id":"1416881070","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416880492":["hashtag1","hashtag2"]},{"1416880891":["hashtag1","hashtag2"]},{"1416881070":["hashtag1","hashtag2"]},{"1416880590":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416880492, 1416880891, 1416881070, 1416880590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.71609926223755 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:04:03.692105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/12/image_07052026_07_13_06_30306.jpg', '/home/pi/Desktop/images/07052026/07/09/image_07052026_07_09_36_30434.jpg', '/home/pi/Desktop/images/07052026/07/06/image_07052026_07_07_05_30197.jpg', '/home/pi/Desktop/images/07052026/07/03/image_07052026_07_04_06_30405.jpg', '/home/pi/Desktop/images/07052026/07/03/image_07052026_07_03_35_30319.jpg', '/home/pi/Desktop/images/07052026/07/02/image_07052026_07_03_05_29306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/12/image_07052026_07_13_06_30306.jpg
/home/pi/Desktop/images/07052026/07/09/image_07052026_07_09_36_30434.jpg
/home/pi/Desktop/images/07052026/07/06/image_07052026_07_07_05_30197.jpg
/home/pi/Desktop/images/07052026/07/03/image_07052026_07_04_06_30405.jpg
/home/pi/Desktop/images/07052026/07/03/image_07052026_07_03_35_30319.jpg
/home/pi/Desktop/images/07052026/07/02/image_07052026_07_03_05_29306.jpg
2026-05-11 16:04:03.886165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/51/image_07052026_02_52_05_30292.jpg', '/home/pi/Desktop/images/07052026/02/52/image_07052026_02_52_35_29285.jpg', '/home/pi/Desktop/images/07052026/02/52/image_07052026_02_53_05_30374.jpg', '/home/pi/Desktop/images/07052026/02/54/image_07052026_02_54_35_30335.jpg', '/home/pi/Desktop/images/07052026/02/54/image_07052026_02_55_05_30261.jpg', '/home/pi/Desktop/images/07052026/02/55/image_07052026_02_55_36_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/51/image_07052026_02_52_05_30292.jpg
/home/pi/Desktop/images/07052026/02/52/image_07052026_02_52_35_29285.jpg
/home/pi/Desktop/images/07052026/02/52/image_07052026_02_53_05_30374.jpg
/home/pi/Desktop/images/07052026/02/54/image_07052026_02_54_35_30335.jpg
/home/pi/Desktop/images/07052026/02/54/image_07052026_02_55_05_30261.jpg
/home/pi/Desktop/images/07052026/02/55/image_07052026_02_55_36_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881266","1416881275","1416881269","1416881260","1416881263","1416881273"],"photo_ids_order":["1416881260","1416881263","1416881266","1416881269","1416881273","1416881275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99f86d05d98c7286595715c73aaee64b.jpg","text":"TemporaryFile(/tmp/multipartBody861390729385162530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_07_05_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59013ffcc3d1cde175b85d4e0f9d502e.jpg","text":"TemporaryFile(/tmp/multipartBody5655321255092776373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_03_05_29306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9f3e72ae3f5a31ad5b191ac2b3afeb0.jpg","text":"TemporaryFile(/tmp/multipartBody5387989961924005100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_04_06_30405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8aa4249fa0049f360c0e04911a8191d.jpg","text":"TemporaryFile(/tmp/multipartBody5436669650045892359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_13_06_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00532b4493698be39447d9379d8d0506.jpg","text":"TemporaryFile(/tmp/multipartBody765321360019540666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_09_36_30434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aec7544b4ea2e7b614d2ff3473238b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7418975922798403569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508309934,"filename":"image_07052026_07_03_35_30319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416881266","file1":"1416881263","file0":"1416881260","file4":"1416881273","file5":"1416881275","file3":"1416881269"},"map_files_photo_id_array":[{"photo_id":"1416881275","filename":"file5"},{"photo_id":"1416881266","filename":"file2"},{"photo_id":"1416881273","filename":"file4"},{"photo_id":"1416881263","filename":"file1"},{"photo_id":"1416881260","filename":"file0"},{"photo_id":"1416881269","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416881266":["hashtag1","hashtag2"]},{"1416881275":["hashtag1","hashtag2"]},{"1416881269":["hashtag1","hashtag2"]},{"1416881260":["hashtag1","hashtag2"]},{"1416881263":["hashtag1","hashtag2"]},{"1416881273":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416881266, 1416881275, 1416881269, 1416881260, 1416881263, 1416881273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.078492403030396 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881267","1416881272","1416881274","1416881261","1416881270","1416881264"],"photo_ids_order":["1416881261","1416881264","1416881267","1416881270","1416881272","1416881274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/755bd485a88a4edabebc1f7ac34dd970.jpg","text":"TemporaryFile(/tmp/multipartBody2759924618484702713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_53_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c5b4b882b7d4e2df5134a0e066d924b.jpg","text":"TemporaryFile(/tmp/multipartBody6116709622005651594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_55_05_30261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82dab1c04fe4c507179004090049a111.jpg","text":"TemporaryFile(/tmp/multipartBody9136380829304824506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_55_36_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b06159bce89d190fb8037686737a08c.jpg","text":"TemporaryFile(/tmp/multipartBody4658945792895278118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_52_05_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/153d19562f57e834dd9dc7c322457aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6045253764960947244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_54_35_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/303caddb4e774d78ff5a0baaef8bc8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5790306393639244879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508310337,"filename":"image_07052026_02_52_35_29285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416881267","file1":"1416881264","file0":"1416881261","file4":"1416881272","file5":"1416881274","file3":"1416881270"},"map_files_photo_id_array":[{"photo_id":"1416881274","filename":"file5"},{"photo_id":"1416881267","filename":"file2"},{"photo_id":"1416881272","filename":"file4"},{"photo_id":"1416881264","filename":"file1"},{"photo_id":"1416881261","filename":"file0"},{"photo_id":"1416881270","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416881267":["hashtag1","hashtag2"]},{"1416881272":["hashtag1","hashtag2"]},{"1416881274":["hashtag1","hashtag2"]},{"1416881261":["hashtag1","hashtag2"]},{"1416881270":["hashtag1","hashtag2"]},{"1416881264":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416881267, 1416881272, 1416881274, 1416881261, 1416881270, 1416881264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13261270523071 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:05:04.153597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/03/image_11052026_16_04_14_30045.jpg', '/home/pi/Desktop/images/11052026/16/03/image_11052026_16_03_44_30164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/03/image_11052026_16_04_14_30045.jpg
/home/pi/Desktop/images/11052026/16/03/image_11052026_16_03_44_30164.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881284","1416881282"],"photo_ids_order":["1416881282","1416881284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31d5b13aea34bf99c421dd705a495b30.jpg","text":"TemporaryFile(/tmp/multipartBody6800419395238565487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508365540,"filename":"image_11052026_16_03_44_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f9ece012bbb4063ff8df3042193568e.jpg","text":"TemporaryFile(/tmp/multipartBody3704605823018029597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508365540,"filename":"image_11052026_16_04_14_30045.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416881284","file0":"1416881282"},"map_files_photo_id_array":[{"photo_id":"1416881284","filename":"file1"},{"photo_id":"1416881282","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416881284":["hashtag1","hashtag2"]},{"1416881282":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416881284, 1416881282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.88360047340393 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:06:03.755340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/04/image_11052026_16_04_44_30223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/04/image_11052026_16_04_44_30223.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881287"],"photo_id":"1416881287","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0352ff12dfdbaf3d88672c5b3d1197b1.jpg","text":"TemporaryFile(/tmp/multipartBody1357918780272862848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508424928,"filename":"image_11052026_16_04_44_30223.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416881287"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416881287"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.476059913635254 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:07:04.025268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/05/image_11052026_16_06_14_30108.jpg', '/home/pi/Desktop/images/11052026/16/04/image_11052026_16_05_14_30138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/05/image_11052026_16_06_14_30108.jpg
/home/pi/Desktop/images/11052026/16/04/image_11052026_16_05_14_30138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881295","1416881294"],"photo_ids_order":["1416881294","1416881295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a19cd13db5cdd49f3605a9382a2de0a.jpg","text":"TemporaryFile(/tmp/multipartBody4811257262541167677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508485417,"filename":"image_11052026_16_05_14_30138.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f168071a737eba2be16ce7e3863fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody5762571936581094161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508485417,"filename":"image_11052026_16_06_14_30108.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416881295","file0":"1416881294"},"map_files_photo_id_array":[{"photo_id":"1416881295","filename":"file1"},{"photo_id":"1416881294","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416881295":["hashtag1","hashtag2"]},{"1416881294":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416881295, 1416881294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.846704959869385 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:08:03.673132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/06/image_11052026_16_07_14_30132.jpg', '/home/pi/Desktop/images/11052026/16/06/image_11052026_16_06_43_29035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/06/image_11052026_16_07_14_30132.jpg
/home/pi/Desktop/images/11052026/16/06/image_11052026_16_06_43_29035.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881300","1416881298"],"photo_ids_order":["1416881298","1416881300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4234f37b4643ab2f610a1f0a685ff21.jpg","text":"TemporaryFile(/tmp/multipartBody4639900903187858130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508545014,"filename":"image_11052026_16_06_43_29035.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23d6fa683549418159d2b47e6457bb7e.jpg","text":"TemporaryFile(/tmp/multipartBody5681027525047918806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508545014,"filename":"image_11052026_16_07_14_30132.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416881300","file0":"1416881298"},"map_files_photo_id_array":[{"photo_id":"1416881300","filename":"file1"},{"photo_id":"1416881298","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416881300":["hashtag1","hashtag2"]},{"1416881298":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416881300, 1416881298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.602158069610596 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:09:04.331482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/07/image_11052026_16_07_44_30099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/07/image_11052026_16_07_44_30099.jpg
2026-05-11 16:09:04.453788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/07/image_11052026_16_07_44_30099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/07/image_11052026_16_07_44_30099.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9457461833953857 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416881306"],"photo_id":"1416881306","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12f070f3e2a950126b7611496548906c.jpg","text":"TemporaryFile(/tmp/multipartBody5139472264463850050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508605932,"filename":"image_11052026_16_07_44_30099.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416881306"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416881306"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.691164493560791 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:10:03.228362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/08/image_11052026_16_09_14_30264.jpg', '/home/pi/Desktop/images/11052026/16/07/image_11052026_16_08_14_30138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/08/image_11052026_16_09_14_30264.jpg
/home/pi/Desktop/images/11052026/16/07/image_11052026_16_08_14_30138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416882201","1416882203"],"photo_ids_order":["1416882201","1416882203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d48605f3d8dc93cbd7c845b71218f802.jpg","text":"TemporaryFile(/tmp/multipartBody1495752268700050985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508664645,"filename":"image_11052026_16_09_14_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58e98bfbc1a9c9262bbc9245f93a6002.jpg","text":"TemporaryFile(/tmp/multipartBody4596390039254781454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508664645,"filename":"image_11052026_16_08_14_30138.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416882203","file0":"1416882201"},"map_files_photo_id_array":[{"photo_id":"1416882203","filename":"file1"},{"photo_id":"1416882201","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416882201":["hashtag1","hashtag2"]},{"1416882203":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416882201, 1416882203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.6555597782135 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:11:03.473671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/09/image_11052026_16_10_13_29040.jpg', '/home/pi/Desktop/images/11052026/16/09/image_11052026_16_09_44_30068.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/09/image_11052026_16_10_13_29040.jpg
/home/pi/Desktop/images/11052026/16/09/image_11052026_16_09_44_30068.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416882481","1416882483"],"photo_ids_order":["1416882481","1416882483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37f5537dc9fefe137d00427d5e5295e1.jpg","text":"TemporaryFile(/tmp/multipartBody1938631624358654220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508724952,"filename":"image_11052026_16_10_13_29040.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29a74daafb1f5d3555ac0a6fab1d7bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2835389035996784197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508724952,"filename":"image_11052026_16_09_44_30068.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416882483","file0":"1416882481"},"map_files_photo_id_array":[{"photo_id":"1416882483","filename":"file1"},{"photo_id":"1416882481","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416882481":["hashtag1","hashtag2"]},{"1416882483":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416882481, 1416882483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.043710947036743 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:12:02.978164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/10/image_11052026_16_10_44_30170.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/10/image_11052026_16_10_44_30170.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416882494"],"photo_id":"1416882494","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12c0f06c9105871e862e3b1a23357d4e.jpg","text":"TemporaryFile(/tmp/multipartBody4943119716661884038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508784089,"filename":"image_11052026_16_10_44_30170.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416882494"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416882494"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.856906414031982 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:13:04.477472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg', '/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg', '/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg', '/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg
/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg
/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7133936882019043 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:14:04.083617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg', '/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg', '/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg', '/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg
/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg
/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.jpg
2026-05-11 16:14:04.086996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.jpg', '/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg', '/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg', '/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/10/image_11052026_16_11_14_30231.jpg
/home/pi/Desktop/images/11052026/16/11/image_11052026_16_12_14_30140.jpg
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_12_44_30086.jpg
/home/pi/Desktop/images/11052026/16/12/image_11052026_16_13_13_29116.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416883203","1416883196","1416883200","1416883192"],"photo_ids_order":["1416883192","1416883196","1416883200","1416883203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bce675e96b59406c040a1336ec54caf7.jpg","text":"TemporaryFile(/tmp/multipartBody6093945523767499123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508906827,"filename":"image_11052026_16_11_14_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51ba7aa7ade256da43d3c89dd46d9136.jpg","text":"TemporaryFile(/tmp/multipartBody2321522229169364401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508906827,"filename":"image_11052026_16_12_44_30086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77afc8d227ffe126b47ac07c115d9042.jpg","text":"TemporaryFile(/tmp/multipartBody6286468479778077070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508906827,"filename":"image_11052026_16_12_14_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f14b3fba15e17f8f3cbf2153d237db84.jpg","text":"TemporaryFile(/tmp/multipartBody7500873068883980425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508906827,"filename":"image_11052026_16_13_13_29116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416883200","file1":"1416883196","file0":"1416883192","file3":"1416883203"},"map_files_photo_id_array":[{"photo_id":"1416883200","filename":"file2"},{"photo_id":"1416883196","filename":"file1"},{"photo_id":"1416883192","filename":"file0"},{"photo_id":"1416883203","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416883203":["hashtag1","hashtag2"]},{"1416883196":["hashtag1","hashtag2"]},{"1416883200":["hashtag1","hashtag2"]},{"1416883192":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416883203, 1416883196, 1416883200, 1416883192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.789436101913452 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416883197","1416883199","1416883193","1416883202"],"photo_ids_order":["1416883193","1416883197","1416883199","1416883202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e9187581f07a2f37f461204ac4302b7.jpg","text":"TemporaryFile(/tmp/multipartBody2097771855078836913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508907260,"filename":"image_11052026_16_12_14_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf9b728c0f96dd22251260c86294ac69.jpg","text":"TemporaryFile(/tmp/multipartBody7974911564856486934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508907260,"filename":"image_11052026_16_12_44_30086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2509fe9d60405f2ed7727f86b14cb80e.jpg","text":"TemporaryFile(/tmp/multipartBody5260649938859036347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508907260,"filename":"image_11052026_16_11_14_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14d21b159f3f9cfda1097f6560281c51.jpg","text":"TemporaryFile(/tmp/multipartBody7705996894311007639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508907260,"filename":"image_11052026_16_13_13_29116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416883199","file1":"1416883197","file0":"1416883193","file3":"1416883202"},"map_files_photo_id_array":[{"photo_id":"1416883199","filename":"file2"},{"photo_id":"1416883197","filename":"file1"},{"photo_id":"1416883193","filename":"file0"},{"photo_id":"1416883202","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416883197":["hashtag1","hashtag2"]},{"1416883199":["hashtag1","hashtag2"]},{"1416883193":["hashtag1","hashtag2"]},{"1416883202":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416883197, 1416883199, 1416883193, 1416883202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.976635694503784 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:15:04.471379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/14/image_11052026_16_15_14_29977.jpg', '/home/pi/Desktop/images/11052026/16/14/image_11052026_16_14_44_30001.jpg', '/home/pi/Desktop/images/11052026/16/13/image_11052026_16_14_14_30052.jpg', '/home/pi/Desktop/images/11052026/16/13/image_11052026_16_13_44_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/14/image_11052026_16_15_14_29977.jpg
/home/pi/Desktop/images/11052026/16/14/image_11052026_16_14_44_30001.jpg
/home/pi/Desktop/images/11052026/16/13/image_11052026_16_14_14_30052.jpg
/home/pi/Desktop/images/11052026/16/13/image_11052026_16_13_44_30312.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416883426","1416883425","1416883424","1416883427"],"photo_ids_order":["1416883424","1416883425","1416883426","1416883427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8cf6f8b5bbc96a772b92605a64d3e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7535798423261447632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508966354,"filename":"image_11052026_16_14_14_30052.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc4e9ca7a558d7f75433feea1b8936f2.jpg","text":"TemporaryFile(/tmp/multipartBody652391189454638727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508966354,"filename":"image_11052026_16_14_44_30001.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d0d6e062a95dc5d61a7cbfd2d768820f.jpg","text":"TemporaryFile(/tmp/multipartBody9120199122075663265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508966354,"filename":"image_11052026_16_15_14_29977.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c66748643434bd675fde02df9bed0eb.jpg","text":"TemporaryFile(/tmp/multipartBody6761548835227355450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778508966354,"filename":"image_11052026_16_13_44_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416883426","file1":"1416883425","file0":"1416883424","file3":"1416883427"},"map_files_photo_id_array":[{"photo_id":"1416883426","filename":"file2"},{"photo_id":"1416883425","filename":"file1"},{"photo_id":"1416883424","filename":"file0"},{"photo_id":"1416883427","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416883426":["hashtag1","hashtag2"]},{"1416883425":["hashtag1","hashtag2"]},{"1416883424":["hashtag1","hashtag2"]},{"1416883427":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416883426, 1416883425, 1416883424, 1416883427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.967657566070557 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:16:03.168363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/15/image_11052026_16_16_14_29970.jpg', '/home/pi/Desktop/images/11052026/16/15/image_11052026_16_15_44_29917.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/15/image_11052026_16_16_14_29970.jpg
/home/pi/Desktop/images/11052026/16/15/image_11052026_16_15_44_29917.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416883432","1416883430"],"photo_ids_order":["1416883430","1416883432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/058bebb1f2dee4b6cd9906dfaafb9650.jpg","text":"TemporaryFile(/tmp/multipartBody421072294852627692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509024674,"filename":"image_11052026_16_15_44_29917.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b806ecf1d50aab3319c6c1938c20352e.jpg","text":"TemporaryFile(/tmp/multipartBody5866970113036533314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509024674,"filename":"image_11052026_16_16_14_29970.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416883432","file0":"1416883430"},"map_files_photo_id_array":[{"photo_id":"1416883432","filename":"file1"},{"photo_id":"1416883430","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416883432":["hashtag1","hashtag2"]},{"1416883430":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416883432, 1416883430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.747905254364014 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:17:04.412449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/02/image_07052026_07_02_36_30425.jpg', '/home/pi/Desktop/images/07052026/07/01/image_07052026_07_02_05_29387.jpg', '/home/pi/Desktop/images/07052026/07/00/image_07052026_07_00_35_29336.jpg', '/home/pi/Desktop/images/07052026/06/59/image_07052026_07_00_06_30404.jpg', '/home/pi/Desktop/images/07052026/06/59/image_07052026_06_59_35_30328.jpg', '/home/pi/Desktop/images/07052026/06/58/image_07052026_06_59_05_29207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/02/image_07052026_07_02_36_30425.jpg
/home/pi/Desktop/images/07052026/07/01/image_07052026_07_02_05_29387.jpg
/home/pi/Desktop/images/07052026/07/00/image_07052026_07_00_35_29336.jpg
/home/pi/Desktop/images/07052026/06/59/image_07052026_07_00_06_30404.jpg
/home/pi/Desktop/images/07052026/06/59/image_07052026_06_59_35_30328.jpg
/home/pi/Desktop/images/07052026/06/58/image_07052026_06_59_05_29207.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.143632650375366 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:18:03.065431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/07/02/image_07052026_07_02_36_30425.jpg', '/home/pi/Desktop/images/07052026/07/01/image_07052026_07_02_05_29387.jpg', '/home/pi/Desktop/images/07052026/07/00/image_07052026_07_00_35_29336.jpg', '/home/pi/Desktop/images/07052026/06/59/image_07052026_07_00_06_30404.jpg', '/home/pi/Desktop/images/07052026/06/59/image_07052026_06_59_35_30328.jpg', '/home/pi/Desktop/images/07052026/06/58/image_07052026_06_59_05_29207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/07/02/image_07052026_07_02_36_30425.jpg
/home/pi/Desktop/images/07052026/07/01/image_07052026_07_02_05_29387.jpg
/home/pi/Desktop/images/07052026/07/00/image_07052026_07_00_35_29336.jpg
/home/pi/Desktop/images/07052026/06/59/image_07052026_07_00_06_30404.jpg
/home/pi/Desktop/images/07052026/06/59/image_07052026_06_59_35_30328.jpg
/home/pi/Desktop/images/07052026/06/58/image_07052026_06_59_05_29207.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884002","1416884034","1416884039","1416884035","1416884038","1416884032"],"photo_ids_order":["1416884002","1416884032","1416884034","1416884035","1416884038","1416884039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b357cc34341a4153892fa1d1c066b4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8876338361610374443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_07_02_36_30425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d70740309057eb0f61b9822605ffac56.jpg","text":"TemporaryFile(/tmp/multipartBody6332636306896410624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_07_00_35_29336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b28f89095f7434abd52a0aaca7fa53d.jpg","text":"TemporaryFile(/tmp/multipartBody5978806640199515801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_06_59_05_29207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31a78fb761995242b0049e1a2a065917.jpg","text":"TemporaryFile(/tmp/multipartBody1341713045403614757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_07_00_06_30404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d27df6c5aeada6aa27a14728d2a31c03.jpg","text":"TemporaryFile(/tmp/multipartBody1146986513228879824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_06_59_35_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69a92067b70eb0cf969debe395b2de45.jpg","text":"TemporaryFile(/tmp/multipartBody3525401254646402453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509146135,"filename":"image_07052026_07_02_05_29387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884034","file1":"1416884032","file0":"1416884002","file4":"1416884038","file5":"1416884039","file3":"1416884035"},"map_files_photo_id_array":[{"photo_id":"1416884039","filename":"file5"},{"photo_id":"1416884034","filename":"file2"},{"photo_id":"1416884038","filename":"file4"},{"photo_id":"1416884032","filename":"file1"},{"photo_id":"1416884002","filename":"file0"},{"photo_id":"1416884035","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416884002":["hashtag1","hashtag2"]},{"1416884034":["hashtag1","hashtag2"]},{"1416884039":["hashtag1","hashtag2"]},{"1416884035":["hashtag1","hashtag2"]},{"1416884038":["hashtag1","hashtag2"]},{"1416884032":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416884002, 1416884034, 1416884039, 1416884035, 1416884038, 1416884032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.33850073814392 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:19:05.120822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/16/image_11052026_16_16_44_30096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/16/image_11052026_16_16_44_30096.jpg
2026-05-11 16:19:05.139501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/16/image_11052026_16_16_44_30096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/16/image_11052026_16_16_44_30096.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8922507762908936 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884042"],"photo_id":"1416884042","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0027cf4befb588f61e4ea9e563d91ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1763576624632912731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509206450,"filename":"image_11052026_16_16_44_30096.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416884042"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416884042"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.372864484786987 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:20:02.959706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/18/image_11052026_16_19_14_30097.jpg', '/home/pi/Desktop/images/11052026/16/17/image_11052026_16_18_14_29993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/18/image_11052026_16_19_14_30097.jpg
/home/pi/Desktop/images/11052026/16/17/image_11052026_16_18_14_29993.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884049","1416884050"],"photo_ids_order":["1416884049","1416884050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43370269bbb544b9b669c253dccbfda3.jpg","text":"TemporaryFile(/tmp/multipartBody135659861940274031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509264483,"filename":"image_11052026_16_19_14_30097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7a1358753c13632f71bffab072353c0.jpg","text":"TemporaryFile(/tmp/multipartBody4618778795344254726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509264483,"filename":"image_11052026_16_18_14_29993.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416884050","file0":"1416884049"},"map_files_photo_id_array":[{"photo_id":"1416884050","filename":"file1"},{"photo_id":"1416884049","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884049":["hashtag1","hashtag2"]},{"1416884050":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884049, 1416884050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.566514253616333 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:21:04.197952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/19/image_11052026_16_20_14_30145.jpg', '/home/pi/Desktop/images/11052026/16/19/image_11052026_16_19_44_30115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/19/image_11052026_16_20_14_30145.jpg
/home/pi/Desktop/images/11052026/16/19/image_11052026_16_19_44_30115.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2617027759552002 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:22:03.239114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/21/image_11052026_16_22_14_30081.jpg', '/home/pi/Desktop/images/11052026/16/21/image_11052026_16_21_44_30129.jpg', '/home/pi/Desktop/images/11052026/16/20/image_11052026_16_21_14_30129.jpg', '/home/pi/Desktop/images/11052026/16/20/image_11052026_16_20_43_29047.jpg', '/home/pi/Desktop/images/11052026/16/19/image_11052026_16_20_14_30145.jpg', '/home/pi/Desktop/images/11052026/16/19/image_11052026_16_19_44_30115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/21/image_11052026_16_22_14_30081.jpg
/home/pi/Desktop/images/11052026/16/21/image_11052026_16_21_44_30129.jpg
/home/pi/Desktop/images/11052026/16/20/image_11052026_16_21_14_30129.jpg
/home/pi/Desktop/images/11052026/16/20/image_11052026_16_20_43_29047.jpg
/home/pi/Desktop/images/11052026/16/19/image_11052026_16_20_14_30145.jpg
/home/pi/Desktop/images/11052026/16/19/image_11052026_16_19_44_30115.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884238","1416884235","1416884237","1416884234","1416884233","1416884236"],"photo_ids_order":["1416884233","1416884234","1416884235","1416884236","1416884237","1416884238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1835c897797480f316551f87b1dbd0e2.jpg","text":"TemporaryFile(/tmp/multipartBody6540066248529441963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_19_44_30115.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2943b080d7b36ef244b4b08a6be27703.jpg","text":"TemporaryFile(/tmp/multipartBody7107602875130652598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_21_14_30129.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b17e0c93c938acd7b125bae244d0b532.jpg","text":"TemporaryFile(/tmp/multipartBody8180155841409762134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_20_14_30145.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86f0059e373fa8d5542ebc22dd4c2abc.jpg","text":"TemporaryFile(/tmp/multipartBody2061797627052124132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_21_44_30129.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06ff4a756f95cb0fc172ae8e79a53711.jpg","text":"TemporaryFile(/tmp/multipartBody3290223843238103956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_22_14_30081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f70cd35dc0285cbd5ad3fa1b22b337fc.jpg","text":"TemporaryFile(/tmp/multipartBody612892172327411888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509386044,"filename":"image_11052026_16_20_43_29047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884235","file1":"1416884234","file0":"1416884233","file4":"1416884237","file5":"1416884238","file3":"1416884236"},"map_files_photo_id_array":[{"photo_id":"1416884238","filename":"file5"},{"photo_id":"1416884235","filename":"file2"},{"photo_id":"1416884237","filename":"file4"},{"photo_id":"1416884234","filename":"file1"},{"photo_id":"1416884233","filename":"file0"},{"photo_id":"1416884236","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884238":["hashtag1","hashtag2"]},{"1416884235":["hashtag1","hashtag2"]},{"1416884237":["hashtag1","hashtag2"]},{"1416884234":["hashtag1","hashtag2"]},{"1416884233":["hashtag1","hashtag2"]},{"1416884236":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884238, 1416884235, 1416884237, 1416884234, 1416884233, 1416884236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70236015319824 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:23:04.306060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/58/image_07052026_06_58_36_30260.jpg', '/home/pi/Desktop/images/07052026/06/57/image_07052026_06_58_06_30341.jpg', '/home/pi/Desktop/images/07052026/06/56/image_07052026_06_56_36_30317.jpg', '/home/pi/Desktop/images/07052026/06/55/image_07052026_06_56_05_30325.jpg', '/home/pi/Desktop/images/07052026/06/54/image_07052026_06_55_06_30302.jpg', '/home/pi/Desktop/images/07052026/06/50/image_07052026_06_51_06_30372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/58/image_07052026_06_58_36_30260.jpg
/home/pi/Desktop/images/07052026/06/57/image_07052026_06_58_06_30341.jpg
/home/pi/Desktop/images/07052026/06/56/image_07052026_06_56_36_30317.jpg
/home/pi/Desktop/images/07052026/06/55/image_07052026_06_56_05_30325.jpg
/home/pi/Desktop/images/07052026/06/54/image_07052026_06_55_06_30302.jpg
/home/pi/Desktop/images/07052026/06/50/image_07052026_06_51_06_30372.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884250","1416884243","1416884246","1416884251","1416884248","1416884242"],"photo_ids_order":["1416884242","1416884243","1416884246","1416884248","1416884250","1416884251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/540d9cbcefbc5b770e61128cfdf0200d.jpg","text":"TemporaryFile(/tmp/multipartBody5227936185808955655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_55_06_30302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77713b6c506c7909314e1eb872406992.jpg","text":"TemporaryFile(/tmp/multipartBody349979223956760888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_58_06_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59521769ad45e963825b7b90e2fea97c.jpg","text":"TemporaryFile(/tmp/multipartBody2197523230281834782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_56_36_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89eb203eaaa17824be17c6745d0eace8.jpg","text":"TemporaryFile(/tmp/multipartBody820313459990911423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_51_06_30372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fcc854c4e16338549752b6aa1560b02.jpg","text":"TemporaryFile(/tmp/multipartBody5322900389940794350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_56_05_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/452b2479bfffccf61143aadfba8f9910.jpg","text":"TemporaryFile(/tmp/multipartBody3831263474541714562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509447777,"filename":"image_07052026_06_58_36_30260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884246","file1":"1416884243","file0":"1416884242","file4":"1416884250","file5":"1416884251","file3":"1416884248"},"map_files_photo_id_array":[{"photo_id":"1416884251","filename":"file5"},{"photo_id":"1416884246","filename":"file2"},{"photo_id":"1416884250","filename":"file4"},{"photo_id":"1416884243","filename":"file1"},{"photo_id":"1416884242","filename":"file0"},{"photo_id":"1416884248","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416884250":["hashtag1","hashtag2"]},{"1416884243":["hashtag1","hashtag2"]},{"1416884246":["hashtag1","hashtag2"]},{"1416884251":["hashtag1","hashtag2"]},{"1416884248":["hashtag1","hashtag2"]},{"1416884242":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416884250, 1416884243, 1416884246, 1416884251, 1416884248, 1416884242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8964102268219 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:24:03.380963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/23/image_11052026_16_23_44_30142.jpg', '/home/pi/Desktop/images/11052026/16/22/image_11052026_16_23_14_30157.jpg', '/home/pi/Desktop/images/11052026/16/22/image_11052026_16_22_44_30192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/23/image_11052026_16_23_44_30142.jpg
/home/pi/Desktop/images/11052026/16/22/image_11052026_16_23_14_30157.jpg
/home/pi/Desktop/images/11052026/16/22/image_11052026_16_22_44_30192.jpg
2026-05-11 16:24:03.510552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/22/image_11052026_16_22_44_30192.jpg', '/home/pi/Desktop/images/11052026/16/22/image_11052026_16_23_14_30157.jpg', '/home/pi/Desktop/images/11052026/16/23/image_11052026_16_23_44_30142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/22/image_11052026_16_22_44_30192.jpg
/home/pi/Desktop/images/11052026/16/22/image_11052026_16_23_14_30157.jpg
/home/pi/Desktop/images/11052026/16/23/image_11052026_16_23_44_30142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884260","1416884263","1416884257"],"photo_ids_order":["1416884257","1416884260","1416884263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbb73c94faace0f91d90d0845b373be8.jpg","text":"TemporaryFile(/tmp/multipartBody8690536308839604826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509506496,"filename":"image_11052026_16_23_14_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/953f9c44e83c7295ed980e07ed68959f.jpg","text":"TemporaryFile(/tmp/multipartBody7136301381081073587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509506496,"filename":"image_11052026_16_22_44_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a5705b1226719b28f9ff2202fd04de5.jpg","text":"TemporaryFile(/tmp/multipartBody7676086346560768593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509506496,"filename":"image_11052026_16_23_44_30142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884263","file1":"1416884260","file0":"1416884257"},"map_files_photo_id_array":[{"photo_id":"1416884263","filename":"file2"},{"photo_id":"1416884260","filename":"file1"},{"photo_id":"1416884257","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884260":["hashtag1","hashtag2"]},{"1416884263":["hashtag1","hashtag2"]},{"1416884257":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884260, 1416884263, 1416884257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.524881839752197 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884261","1416884264","1416884258"],"photo_ids_order":["1416884258","1416884261","1416884264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a7c68aee055538444867c9a076b8513.jpg","text":"TemporaryFile(/tmp/multipartBody5175152359528652737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509507278,"filename":"image_11052026_16_23_14_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/086e73199caffb56a99400e22643a910.jpg","text":"TemporaryFile(/tmp/multipartBody686135676747116198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509507278,"filename":"image_11052026_16_23_44_30142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/727703bc62db01a9083b1d85f641b930.jpg","text":"TemporaryFile(/tmp/multipartBody937443412339114964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509507278,"filename":"image_11052026_16_22_44_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884264","file1":"1416884261","file0":"1416884258"},"map_files_photo_id_array":[{"photo_id":"1416884264","filename":"file2"},{"photo_id":"1416884261","filename":"file1"},{"photo_id":"1416884258","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884261":["hashtag1","hashtag2"]},{"1416884264":["hashtag1","hashtag2"]},{"1416884258":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884261, 1416884264, 1416884258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.759273290634155 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:25:03.834104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/50/image_07052026_06_50_35_30293.jpg', '/home/pi/Desktop/images/07052026/06/49/image_07052026_06_50_05_30299.jpg', '/home/pi/Desktop/images/07052026/06/49/image_07052026_06_49_35_29297.jpg', '/home/pi/Desktop/images/07052026/06/48/image_07052026_06_49_06_30363.jpg', '/home/pi/Desktop/images/07052026/06/48/image_07052026_06_48_35_30395.jpg', '/home/pi/Desktop/images/07052026/06/47/image_07052026_06_48_05_29328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/50/image_07052026_06_50_35_30293.jpg
/home/pi/Desktop/images/07052026/06/49/image_07052026_06_50_05_30299.jpg
/home/pi/Desktop/images/07052026/06/49/image_07052026_06_49_35_29297.jpg
/home/pi/Desktop/images/07052026/06/48/image_07052026_06_49_06_30363.jpg
/home/pi/Desktop/images/07052026/06/48/image_07052026_06_48_35_30395.jpg
/home/pi/Desktop/images/07052026/06/47/image_07052026_06_48_05_29328.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.551093578338623 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:26:03.487117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/24/image_11052026_16_25_14_30154.jpg', '/home/pi/Desktop/images/11052026/16/23/image_11052026_16_24_14_29195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/24/image_11052026_16_25_14_30154.jpg
/home/pi/Desktop/images/11052026/16/23/image_11052026_16_24_14_29195.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884272","1416884274"],"photo_ids_order":["1416884272","1416884274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6cf691db143efc83f7ab9a49872ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody1084601478799446610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509624988,"filename":"image_11052026_16_25_14_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/141479ecc9e51b00cb517329e377308b.jpg","text":"TemporaryFile(/tmp/multipartBody2359897716276170352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509624988,"filename":"image_11052026_16_24_14_29195.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416884274","file0":"1416884272"},"map_files_photo_id_array":[{"photo_id":"1416884274","filename":"file1"},{"photo_id":"1416884272","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884272":["hashtag1","hashtag2"]},{"1416884274":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884272, 1416884274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.122697591781616 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:27:03.768861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/25/image_11052026_16_26_14_30156.jpg', '/home/pi/Desktop/images/11052026/16/25/image_11052026_16_25_44_30214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/25/image_11052026_16_26_14_30156.jpg
/home/pi/Desktop/images/11052026/16/25/image_11052026_16_25_44_30214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884660","1416884662"],"photo_ids_order":["1416884660","1416884662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8c7ee6a15d1baaa5c9ddc6591dcef7e.jpg","text":"TemporaryFile(/tmp/multipartBody288134734028481299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509685281,"filename":"image_11052026_16_26_14_30156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a24f0aad66c595b529a2448f4d5fc4d.jpg","text":"TemporaryFile(/tmp/multipartBody7478118617206866788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509685281,"filename":"image_11052026_16_25_44_30214.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416884662","file0":"1416884660"},"map_files_photo_id_array":[{"photo_id":"1416884662","filename":"file1"},{"photo_id":"1416884660","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884660":["hashtag1","hashtag2"]},{"1416884662":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884660, 1416884662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.168561220169067 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:28:03.770039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/27/image_11052026_16_28_14_30173.jpg', '/home/pi/Desktop/images/11052026/16/26/image_11052026_16_27_13_29045.jpg', '/home/pi/Desktop/images/11052026/16/26/image_11052026_16_26_44_30120.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/27/image_11052026_16_28_14_30173.jpg
/home/pi/Desktop/images/11052026/16/26/image_11052026_16_27_13_29045.jpg
/home/pi/Desktop/images/11052026/16/26/image_11052026_16_26_44_30120.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884789","1416884791","1416884790"],"photo_ids_order":["1416884789","1416884790","1416884791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/790b66e45a44564f840f89d94def9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7788283458290223289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509745112,"filename":"image_11052026_16_28_14_30173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7210277d22e4bfe928bb16f43f174114.jpg","text":"TemporaryFile(/tmp/multipartBody7010242579331158584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509745112,"filename":"image_11052026_16_26_44_30120.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77ec384a0e1e70549c23d698c61145bc.jpg","text":"TemporaryFile(/tmp/multipartBody4219911387280604826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509745112,"filename":"image_11052026_16_27_13_29045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884791","file1":"1416884790","file0":"1416884789"},"map_files_photo_id_array":[{"photo_id":"1416884791","filename":"file2"},{"photo_id":"1416884790","filename":"file1"},{"photo_id":"1416884789","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884789":["hashtag1","hashtag2"]},{"1416884791":["hashtag1","hashtag2"]},{"1416884790":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884789, 1416884791, 1416884790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.967848300933838 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:29:04.465254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/27/image_11052026_16_27_44_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/27/image_11052026_16_27_44_30242.jpg
2026-05-11 16:29:04.703432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/27/image_11052026_16_27_44_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/27/image_11052026_16_27_44_30242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884793"],"photo_id":"1416884793","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5241c5aa15054bf89567b3f5746eebc.jpg","text":"TemporaryFile(/tmp/multipartBody5150094886999159763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509805526,"filename":"image_11052026_16_27_44_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416884793"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416884793"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.138173818588257 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884794"],"photo_id":"1416884794","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9122bcbe720982ebfe0ca5df9f3a0166.jpg","text":"TemporaryFile(/tmp/multipartBody424532612998666073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509805724,"filename":"image_11052026_16_27_44_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416884794"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416884794"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.294137239456177 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:30:03.380224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/50/image_07052026_06_50_35_30293.jpg', '/home/pi/Desktop/images/07052026/06/49/image_07052026_06_50_05_30299.jpg', '/home/pi/Desktop/images/07052026/06/49/image_07052026_06_49_35_29297.jpg', '/home/pi/Desktop/images/07052026/06/48/image_07052026_06_49_06_30363.jpg', '/home/pi/Desktop/images/07052026/06/48/image_07052026_06_48_35_30395.jpg', '/home/pi/Desktop/images/07052026/06/47/image_07052026_06_48_05_29328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/50/image_07052026_06_50_35_30293.jpg
/home/pi/Desktop/images/07052026/06/49/image_07052026_06_50_05_30299.jpg
/home/pi/Desktop/images/07052026/06/49/image_07052026_06_49_35_29297.jpg
/home/pi/Desktop/images/07052026/06/48/image_07052026_06_49_06_30363.jpg
/home/pi/Desktop/images/07052026/06/48/image_07052026_06_48_35_30395.jpg
/home/pi/Desktop/images/07052026/06/47/image_07052026_06_48_05_29328.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884811","1416884801","1416884803","1416884806","1416884809","1416884799"],"photo_ids_order":["1416884799","1416884801","1416884803","1416884806","1416884809","1416884811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba376f77179cb122caa9c59f17486f72.jpg","text":"TemporaryFile(/tmp/multipartBody5435208175558288037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_48_05_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7896b94425a82ace3d31987cea102692.jpg","text":"TemporaryFile(/tmp/multipartBody5912756032823884920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_50_05_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/caa2958a179ee912018f6148ed9e686e.jpg","text":"TemporaryFile(/tmp/multipartBody1165903441651062146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_49_35_29297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ee385eed16269560df23594384515dc.jpg","text":"TemporaryFile(/tmp/multipartBody1293416127688287085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_49_06_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/41d9f444d1b91af5eb4414807e43b568.jpg","text":"TemporaryFile(/tmp/multipartBody1068162749957020685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_48_35_30395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ab1719039a4091a27eae37fc43d9493.jpg","text":"TemporaryFile(/tmp/multipartBody1003191067660059616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509867090,"filename":"image_07052026_06_50_35_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884803","file1":"1416884801","file0":"1416884799","file4":"1416884809","file5":"1416884811","file3":"1416884806"},"map_files_photo_id_array":[{"photo_id":"1416884811","filename":"file5"},{"photo_id":"1416884803","filename":"file2"},{"photo_id":"1416884809","filename":"file4"},{"photo_id":"1416884801","filename":"file1"},{"photo_id":"1416884799","filename":"file0"},{"photo_id":"1416884806","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416884811":["hashtag1","hashtag2"]},{"1416884801":["hashtag1","hashtag2"]},{"1416884803":["hashtag1","hashtag2"]},{"1416884806":["hashtag1","hashtag2"]},{"1416884809":["hashtag1","hashtag2"]},{"1416884799":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416884811, 1416884801, 1416884803, 1416884806, 1416884809, 1416884799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03331398963928 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:31:03.895128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/30/image_11052026_16_31_14_30087.jpg', '/home/pi/Desktop/images/11052026/16/30/image_11052026_16_30_44_30149.jpg', '/home/pi/Desktop/images/11052026/16/29/image_11052026_16_30_14_30160.jpg', '/home/pi/Desktop/images/11052026/16/28/image_11052026_16_28_44_30040.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/30/image_11052026_16_31_14_30087.jpg
/home/pi/Desktop/images/11052026/16/30/image_11052026_16_30_44_30149.jpg
/home/pi/Desktop/images/11052026/16/29/image_11052026_16_30_14_30160.jpg
/home/pi/Desktop/images/11052026/16/28/image_11052026_16_28_44_30040.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416884820","1416884817","1416884819","1416884818"],"photo_ids_order":["1416884817","1416884818","1416884819","1416884820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b19a0c692e135ffec21e2bff78718494.jpg","text":"TemporaryFile(/tmp/multipartBody5738774413471312528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509925911,"filename":"image_11052026_16_28_44_30040.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86859e26d86a596a84a35fe2db528fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2468460598064656540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509925911,"filename":"image_11052026_16_31_14_30087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a7296b0a4e1e910916ef2f7c6da61fb.jpg","text":"TemporaryFile(/tmp/multipartBody4360539548368838019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509925911,"filename":"image_11052026_16_30_14_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e95a1f8a35f815652a8636f4fc180351.jpg","text":"TemporaryFile(/tmp/multipartBody1775240284196472403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509925911,"filename":"image_11052026_16_30_44_30149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416884819","file1":"1416884818","file0":"1416884817","file3":"1416884820"},"map_files_photo_id_array":[{"photo_id":"1416884819","filename":"file2"},{"photo_id":"1416884818","filename":"file1"},{"photo_id":"1416884817","filename":"file0"},{"photo_id":"1416884820","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416884820":["hashtag1","hashtag2"]},{"1416884817":["hashtag1","hashtag2"]},{"1416884819":["hashtag1","hashtag2"]},{"1416884818":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416884820, 1416884817, 1416884819, 1416884818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.19235587120056 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:32:03.286280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/47/image_07052026_06_47_36_30344.jpg', '/home/pi/Desktop/images/07052026/06/46/image_07052026_06_47_05_30279.jpg', '/home/pi/Desktop/images/07052026/06/46/image_07052026_06_46_35_29332.jpg', '/home/pi/Desktop/images/07052026/06/45/image_07052026_06_46_06_30361.jpg', '/home/pi/Desktop/images/07052026/06/45/image_07052026_06_45_35_30399.jpg', '/home/pi/Desktop/images/07052026/06/44/image_07052026_06_45_05_29262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/47/image_07052026_06_47_36_30344.jpg
/home/pi/Desktop/images/07052026/06/46/image_07052026_06_47_05_30279.jpg
/home/pi/Desktop/images/07052026/06/46/image_07052026_06_46_35_29332.jpg
/home/pi/Desktop/images/07052026/06/45/image_07052026_06_46_06_30361.jpg
/home/pi/Desktop/images/07052026/06/45/image_07052026_06_45_35_30399.jpg
/home/pi/Desktop/images/07052026/06/44/image_07052026_06_45_05_29262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885266","1416885271","1416885166","1416885268","1416885241","1416885270"],"photo_ids_order":["1416885166","1416885241","1416885266","1416885268","1416885270","1416885271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b605c8302d6a58eb68efc920e0f68fab.jpg","text":"TemporaryFile(/tmp/multipartBody6590289606953391055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_46_35_29332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/987d30364de2af717c731baa5ed7ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody83640173706796385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_45_05_29262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/725a55de45dcd6a8142795172a463de2.jpg","text":"TemporaryFile(/tmp/multipartBody4973843870304893798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_47_36_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/61b0fe119896ad031152356285762445.jpg","text":"TemporaryFile(/tmp/multipartBody8025738779401493631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_46_06_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b19b6fbe8a72260906d058f67c4dbcb.jpg","text":"TemporaryFile(/tmp/multipartBody5950801229400612479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_47_05_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0394b6234d2ea24c564877f13740e76.jpg","text":"TemporaryFile(/tmp/multipartBody9103773595850141972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778509986768,"filename":"image_07052026_06_45_35_30399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885266","file1":"1416885241","file0":"1416885166","file4":"1416885270","file5":"1416885271","file3":"1416885268"},"map_files_photo_id_array":[{"photo_id":"1416885271","filename":"file5"},{"photo_id":"1416885266","filename":"file2"},{"photo_id":"1416885270","filename":"file4"},{"photo_id":"1416885241","filename":"file1"},{"photo_id":"1416885166","filename":"file0"},{"photo_id":"1416885268","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416885266":["hashtag1","hashtag2"]},{"1416885271":["hashtag1","hashtag2"]},{"1416885166":["hashtag1","hashtag2"]},{"1416885268":["hashtag1","hashtag2"]},{"1416885241":["hashtag1","hashtag2"]},{"1416885270":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416885266, 1416885271, 1416885166, 1416885268, 1416885241, 1416885270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72082996368408 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:33:03.702076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg', '/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0570979118347168 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:34:03.495608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/32/image_11052026_16_32_44_30189.jpg', '/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg', '/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/32/image_11052026_16_32_44_30189.jpg
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.jpg
2026-05-11 16:34:03.650806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.jpg', '/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg', '/home/pi/Desktop/images/11052026/16/32/image_11052026_16_32_44_30189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_31_43_28950.jpg
/home/pi/Desktop/images/11052026/16/31/image_11052026_16_32_14_30113.jpg
/home/pi/Desktop/images/11052026/16/32/image_11052026_16_32_44_30189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885280","1416885277","1416885282"],"photo_ids_order":["1416885277","1416885280","1416885282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b7ba03a4b322ec1484ef557935ed87c.jpg","text":"TemporaryFile(/tmp/multipartBody7868771461587658608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106423,"filename":"image_11052026_16_32_14_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a4a593141e3013b43c1eb056ef94b03.jpg","text":"TemporaryFile(/tmp/multipartBody2552406902723240123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106423,"filename":"image_11052026_16_31_43_28950.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e2b3700ce9cb823101e0287d9b28147.jpg","text":"TemporaryFile(/tmp/multipartBody7596748359797689126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106423,"filename":"image_11052026_16_32_44_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885282","file1":"1416885280","file0":"1416885277"},"map_files_photo_id_array":[{"photo_id":"1416885282","filename":"file2"},{"photo_id":"1416885280","filename":"file1"},{"photo_id":"1416885277","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885280":["hashtag1","hashtag2"]},{"1416885277":["hashtag1","hashtag2"]},{"1416885282":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885280, 1416885277, 1416885282)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885283","1416885276","1416885279"],"photo_ids_order":["1416885276","1416885279","1416885283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1650b7dd62162c510019112932b949c.jpg","text":"TemporaryFile(/tmp/multipartBody9218725063423050443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106230,"filename":"image_11052026_16_31_43_28950.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64f14b100ac05de525fe9aa532f99687.jpg","text":"TemporaryFile(/tmp/multipartBody5162309335823259282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106230,"filename":"image_11052026_16_32_44_30189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4fdc182a03a7a46580d9c92064d4d02d.jpg","text":"TemporaryFile(/tmp/multipartBody7847167861024642991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510106230,"filename":"image_11052026_16_32_14_30113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885283","file1":"1416885279","file0":"1416885276"},"map_files_photo_id_array":[{"photo_id":"1416885283","filename":"file2"},{"photo_id":"1416885279","filename":"file1"},{"photo_id":"1416885276","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885283":["hashtag1","hashtag2"]},{"1416885276":["hashtag1","hashtag2"]},{"1416885279":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885283, 1416885276, 1416885279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.230632305145264 secondes ---
uploaded 3 photos
time to upload: 26.43424415588379 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:35:04.113029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/33/image_11052026_16_34_14_30070.jpg', '/home/pi/Desktop/images/11052026/16/32/image_11052026_16_33_14_30114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/33/image_11052026_16_34_14_30070.jpg
/home/pi/Desktop/images/11052026/16/32/image_11052026_16_33_14_30114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885289","1416885288"],"photo_ids_order":["1416885288","1416885289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd16915000cef6215f772c071d414343.jpg","text":"TemporaryFile(/tmp/multipartBody6653847774144046127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510165706,"filename":"image_11052026_16_33_14_30114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df31a0ec51929591fdad67c7ba7593fc.jpg","text":"TemporaryFile(/tmp/multipartBody5624384149607651465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510165706,"filename":"image_11052026_16_34_14_30070.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416885289","file0":"1416885288"},"map_files_photo_id_array":[{"photo_id":"1416885289","filename":"file1"},{"photo_id":"1416885288","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885289":["hashtag1","hashtag2"]},{"1416885288":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885289, 1416885288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.456129550933838 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:36:03.876984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/34/image_11052026_16_35_13_29170.jpg', '/home/pi/Desktop/images/11052026/16/34/image_11052026_16_34_44_30204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/34/image_11052026_16_35_13_29170.jpg
/home/pi/Desktop/images/11052026/16/34/image_11052026_16_34_44_30204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885292","1416885294"],"photo_ids_order":["1416885292","1416885294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da140a550ff139f45e64905f99599aea.jpg","text":"TemporaryFile(/tmp/multipartBody4945379117373744588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510225410,"filename":"image_11052026_16_35_13_29170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c70ac055fcdd03cfbf175270c9397f3d.jpg","text":"TemporaryFile(/tmp/multipartBody1580960113117847569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510225410,"filename":"image_11052026_16_34_44_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416885294","file0":"1416885292"},"map_files_photo_id_array":[{"photo_id":"1416885294","filename":"file1"},{"photo_id":"1416885292","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885292":["hashtag1","hashtag2"]},{"1416885294":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885292, 1416885294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.531553030014038 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:37:04.212033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/36/image_11052026_16_36_44_30113.jpg', '/home/pi/Desktop/images/11052026/16/35/image_11052026_16_36_14_30101.jpg', '/home/pi/Desktop/images/11052026/16/35/image_11052026_16_35_43_30108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/36/image_11052026_16_36_44_30113.jpg
/home/pi/Desktop/images/11052026/16/35/image_11052026_16_36_14_30101.jpg
/home/pi/Desktop/images/11052026/16/35/image_11052026_16_35_43_30108.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3005719184875488 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:38:03.776782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/37/image_11052026_16_37_44_30236.jpg', '/home/pi/Desktop/images/11052026/16/36/image_11052026_16_36_44_30113.jpg', '/home/pi/Desktop/images/11052026/16/35/image_11052026_16_36_14_30101.jpg', '/home/pi/Desktop/images/11052026/16/35/image_11052026_16_35_43_30108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/37/image_11052026_16_37_44_30236.jpg
/home/pi/Desktop/images/11052026/16/36/image_11052026_16_36_44_30113.jpg
/home/pi/Desktop/images/11052026/16/35/image_11052026_16_36_14_30101.jpg
/home/pi/Desktop/images/11052026/16/35/image_11052026_16_35_43_30108.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885717","1416885719","1416885721","1416885715"],"photo_ids_order":["1416885715","1416885717","1416885719","1416885721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b918fc97c72c710f325ed742c9c33c2a.jpg","text":"TemporaryFile(/tmp/multipartBody273623597561109950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510345816,"filename":"image_11052026_16_36_44_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42ae20212cfdd55eb61290f024180b54.jpg","text":"TemporaryFile(/tmp/multipartBody291611888584403203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510345816,"filename":"image_11052026_16_36_14_30101.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36c0aa45665ac7b6913910bf06dd056b.jpg","text":"TemporaryFile(/tmp/multipartBody1373154747907295756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510345816,"filename":"image_11052026_16_35_43_30108.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c912199d9165c738c5db28a9115e175.jpg","text":"TemporaryFile(/tmp/multipartBody9177012690863554353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510345816,"filename":"image_11052026_16_37_44_30236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885719","file1":"1416885717","file0":"1416885715","file3":"1416885721"},"map_files_photo_id_array":[{"photo_id":"1416885719","filename":"file2"},{"photo_id":"1416885717","filename":"file1"},{"photo_id":"1416885715","filename":"file0"},{"photo_id":"1416885721","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885717":["hashtag1","hashtag2"]},{"1416885719":["hashtag1","hashtag2"]},{"1416885721":["hashtag1","hashtag2"]},{"1416885715":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885717, 1416885719, 1416885721, 1416885715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.11166548728943 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:39:04.027641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/55/image_07052026_02_56_05_29316.jpg', '/home/pi/Desktop/images/07052026/02/56/image_07052026_02_57_06_30334.jpg', '/home/pi/Desktop/images/07052026/02/57/image_07052026_02_57_35_29248.jpg', '/home/pi/Desktop/images/07052026/02/57/image_07052026_02_58_05_30364.jpg', '/home/pi/Desktop/images/07052026/02/58/image_07052026_02_59_05_30499.jpg', '/home/pi/Desktop/images/07052026/02/59/image_07052026_02_59_36_30391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/55/image_07052026_02_56_05_29316.jpg
/home/pi/Desktop/images/07052026/02/56/image_07052026_02_57_06_30334.jpg
/home/pi/Desktop/images/07052026/02/57/image_07052026_02_57_35_29248.jpg
/home/pi/Desktop/images/07052026/02/57/image_07052026_02_58_05_30364.jpg
/home/pi/Desktop/images/07052026/02/58/image_07052026_02_59_05_30499.jpg
/home/pi/Desktop/images/07052026/02/59/image_07052026_02_59_36_30391.jpg
2026-05-11 16:39:04.179375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/44/image_07052026_06_44_36_30401.jpg', '/home/pi/Desktop/images/07052026/06/33/image_07052026_06_34_05_29231.jpg', '/home/pi/Desktop/images/07052026/06/33/image_07052026_06_33_36_30396.jpg', '/home/pi/Desktop/images/07052026/06/32/image_07052026_06_32_35_29277.jpg', '/home/pi/Desktop/images/07052026/06/31/image_07052026_06_32_06_30408.jpg', '/home/pi/Desktop/images/07052026/06/31/image_07052026_06_31_35_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/44/image_07052026_06_44_36_30401.jpg
/home/pi/Desktop/images/07052026/06/33/image_07052026_06_34_05_29231.jpg
/home/pi/Desktop/images/07052026/06/33/image_07052026_06_33_36_30396.jpg
/home/pi/Desktop/images/07052026/06/32/image_07052026_06_32_35_29277.jpg
/home/pi/Desktop/images/07052026/06/31/image_07052026_06_32_06_30408.jpg
/home/pi/Desktop/images/07052026/06/31/image_07052026_06_31_35_30319.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.994164705276489 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885735","1416885725","1416885728","1416885730","1416885732","1416885726"],"photo_ids_order":["1416885725","1416885726","1416885728","1416885730","1416885732","1416885735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d36aca716dcab5dfa1b585636a685b2.jpg","text":"TemporaryFile(/tmp/multipartBody7202306816743759753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_59_36_30391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd2588957d6890997b1afde28beab1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1601791282430043894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_56_05_29316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1f4e94fe3f83f1e5217d4ab07c182ea.jpg","text":"TemporaryFile(/tmp/multipartBody6440346006124208970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_57_35_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a142508515a64873a0ce5b349c39d17.jpg","text":"TemporaryFile(/tmp/multipartBody2202654307194968789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_58_05_30364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/190afe9fd6bc19d02447385054caa546.jpg","text":"TemporaryFile(/tmp/multipartBody5568378385447834609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_59_05_30499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f5a1e76621eef3df17195e374aae944.jpg","text":"TemporaryFile(/tmp/multipartBody6827219230483755627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510408836,"filename":"image_07052026_02_57_06_30334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885728","file1":"1416885726","file0":"1416885725","file4":"1416885732","file5":"1416885735","file3":"1416885730"},"map_files_photo_id_array":[{"photo_id":"1416885735","filename":"file5"},{"photo_id":"1416885728","filename":"file2"},{"photo_id":"1416885732","filename":"file4"},{"photo_id":"1416885726","filename":"file1"},{"photo_id":"1416885725","filename":"file0"},{"photo_id":"1416885730","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416885735":["hashtag1","hashtag2"]},{"1416885725":["hashtag1","hashtag2"]},{"1416885728":["hashtag1","hashtag2"]},{"1416885730":["hashtag1","hashtag2"]},{"1416885732":["hashtag1","hashtag2"]},{"1416885726":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416885735, 1416885725, 1416885728, 1416885730, 1416885732, 1416885726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.340317249298096 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:40:02.977737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/37/image_11052026_16_38_14_30174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/37/image_11052026_16_38_14_30174.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885738"],"photo_id":"1416885738","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f5513809b260fff6b7eff4f8292ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody302358561098938190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510464158,"filename":"image_11052026_16_38_14_30174.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416885738"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416885738"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.396154403686523 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:41:04.627149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/40/image_11052026_16_40_44_30217.jpg', '/home/pi/Desktop/images/11052026/16/39/image_11052026_16_39_44_30254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/40/image_11052026_16_40_44_30217.jpg
/home/pi/Desktop/images/11052026/16/39/image_11052026_16_39_44_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885746","1416885745"],"photo_ids_order":["1416885745","1416885746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7771830a9538deecb9f9e597a53cc6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8779484214782433595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510526036,"filename":"image_11052026_16_39_44_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31f4b6e7589b93aec9c9ba203543117a.jpg","text":"TemporaryFile(/tmp/multipartBody6766549460644102791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510526036,"filename":"image_11052026_16_40_44_30217.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416885746","file0":"1416885745"},"map_files_photo_id_array":[{"photo_id":"1416885746","filename":"file1"},{"photo_id":"1416885745","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885746":["hashtag1","hashtag2"]},{"1416885745":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885746, 1416885745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.381237268447876 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:42:03.135849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/44/image_07052026_06_44_36_30401.jpg', '/home/pi/Desktop/images/07052026/06/33/image_07052026_06_34_05_29231.jpg', '/home/pi/Desktop/images/07052026/06/33/image_07052026_06_33_36_30396.jpg', '/home/pi/Desktop/images/07052026/06/32/image_07052026_06_32_35_29277.jpg', '/home/pi/Desktop/images/07052026/06/31/image_07052026_06_32_06_30408.jpg', '/home/pi/Desktop/images/07052026/06/31/image_07052026_06_31_35_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/44/image_07052026_06_44_36_30401.jpg
/home/pi/Desktop/images/07052026/06/33/image_07052026_06_34_05_29231.jpg
/home/pi/Desktop/images/07052026/06/33/image_07052026_06_33_36_30396.jpg
/home/pi/Desktop/images/07052026/06/32/image_07052026_06_32_35_29277.jpg
/home/pi/Desktop/images/07052026/06/31/image_07052026_06_32_06_30408.jpg
/home/pi/Desktop/images/07052026/06/31/image_07052026_06_31_35_30319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885755","1416885749","1416885751","1416885757","1416885759","1416885753"],"photo_ids_order":["1416885749","1416885751","1416885753","1416885755","1416885757","1416885759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a61c071a87ce7b61c414a508d26a9b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6600516387764019588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_32_35_29277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57789283b6d2dfbb2244322463248490.jpg","text":"TemporaryFile(/tmp/multipartBody4977650722182037287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_44_36_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fd6707358243b3543b255549ce53971.jpg","text":"TemporaryFile(/tmp/multipartBody266135555203589391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_34_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e749bc089595f3c5879d01f2444af76.jpg","text":"TemporaryFile(/tmp/multipartBody1070794611764257092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_32_06_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7655f4dd8e4d66aded1fee758915589.jpg","text":"TemporaryFile(/tmp/multipartBody8477981769336565590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_31_35_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53474c7f53507ef042b9fd9c06618ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8383718272895762795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510586795,"filename":"image_07052026_06_33_36_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885753","file1":"1416885751","file0":"1416885749","file4":"1416885757","file5":"1416885759","file3":"1416885755"},"map_files_photo_id_array":[{"photo_id":"1416885759","filename":"file5"},{"photo_id":"1416885753","filename":"file2"},{"photo_id":"1416885757","filename":"file4"},{"photo_id":"1416885751","filename":"file1"},{"photo_id":"1416885749","filename":"file0"},{"photo_id":"1416885755","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416885755":["hashtag1","hashtag2"]},{"1416885749":["hashtag1","hashtag2"]},{"1416885751":["hashtag1","hashtag2"]},{"1416885757":["hashtag1","hashtag2"]},{"1416885759":["hashtag1","hashtag2"]},{"1416885753":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416885755, 1416885749, 1416885751, 1416885757, 1416885759, 1416885753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42591071128845 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:43:04.400559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/42/image_11052026_16_42_44_30153.jpg', '/home/pi/Desktop/images/11052026/16/41/image_11052026_16_42_14_29184.jpg', '/home/pi/Desktop/images/11052026/16/40/image_11052026_16_41_14_30240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/42/image_11052026_16_42_44_30153.jpg
/home/pi/Desktop/images/11052026/16/41/image_11052026_16_42_14_29184.jpg
/home/pi/Desktop/images/11052026/16/40/image_11052026_16_41_14_30240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885761","1416885763","1416885762"],"photo_ids_order":["1416885761","1416885762","1416885763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/edf76d53289a7242dfc3484591347856.jpg","text":"TemporaryFile(/tmp/multipartBody6223825127065426060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510646073,"filename":"image_11052026_16_42_44_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42086412e1031a2cbc3b11950e84a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody938662223592389524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510646073,"filename":"image_11052026_16_41_14_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e18945c00f118aeb930c771f8d7c3e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8721225233079303431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510646073,"filename":"image_11052026_16_42_14_29184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885763","file1":"1416885762","file0":"1416885761"},"map_files_photo_id_array":[{"photo_id":"1416885763","filename":"file2"},{"photo_id":"1416885762","filename":"file1"},{"photo_id":"1416885761","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885761":["hashtag1","hashtag2"]},{"1416885763":["hashtag1","hashtag2"]},{"1416885762":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885761, 1416885763, 1416885762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.03643274307251 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:44:03.023242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/02/59/image_07052026_03_00_05_29228.jpg', '/home/pi/Desktop/images/07052026/03/00/image_07052026_03_00_35_30248.jpg', '/home/pi/Desktop/images/07052026/03/00/image_07052026_03_01_06_30339.jpg', '/home/pi/Desktop/images/07052026/03/02/image_07052026_03_02_36_30308.jpg', '/home/pi/Desktop/images/07052026/03/09/image_07052026_03_09_36_30402.jpg', '/home/pi/Desktop/images/07052026/03/11/image_07052026_03_11_35_30407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/02/59/image_07052026_03_00_05_29228.jpg
/home/pi/Desktop/images/07052026/03/00/image_07052026_03_00_35_30248.jpg
/home/pi/Desktop/images/07052026/03/00/image_07052026_03_01_06_30339.jpg
/home/pi/Desktop/images/07052026/03/02/image_07052026_03_02_36_30308.jpg
/home/pi/Desktop/images/07052026/03/09/image_07052026_03_09_36_30402.jpg
/home/pi/Desktop/images/07052026/03/11/image_07052026_03_11_35_30407.jpg
2026-05-11 16:44:03.254359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/30/image_07052026_06_31_05_29235.jpg', '/home/pi/Desktop/images/07052026/06/30/image_07052026_06_30_36_30369.jpg', '/home/pi/Desktop/images/07052026/06/29/image_07052026_06_30_05_30440.jpg', '/home/pi/Desktop/images/07052026/06/29/image_07052026_06_29_35_29323.jpg', '/home/pi/Desktop/images/07052026/06/28/image_07052026_06_29_06_30322.jpg', '/home/pi/Desktop/images/07052026/06/28/image_07052026_06_28_35_30340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/30/image_07052026_06_31_05_29235.jpg
/home/pi/Desktop/images/07052026/06/30/image_07052026_06_30_36_30369.jpg
/home/pi/Desktop/images/07052026/06/29/image_07052026_06_30_05_30440.jpg
/home/pi/Desktop/images/07052026/06/29/image_07052026_06_29_35_29323.jpg
/home/pi/Desktop/images/07052026/06/28/image_07052026_06_29_06_30322.jpg
/home/pi/Desktop/images/07052026/06/28/image_07052026_06_28_35_30340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885779","1416885788","1416885773","1416885782","1416885776","1416885786"],"photo_ids_order":["1416885773","1416885776","1416885779","1416885782","1416885786","1416885788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/60808f99298996fca16fd8e010d036b1.jpg","text":"TemporaryFile(/tmp/multipartBody6308332152193459668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_01_06_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b812b798ea78d29540d4d11944662dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6993395321649756138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_11_35_30407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69e36114893d9e162dcf93af8162f993.jpg","text":"TemporaryFile(/tmp/multipartBody6668058996206535067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_00_05_29228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/806d5560706730f74dfb0f8b00feb7d9.jpg","text":"TemporaryFile(/tmp/multipartBody639561114025080813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_02_36_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83a05f4f345b23737c3c22d80ef45096.jpg","text":"TemporaryFile(/tmp/multipartBody8213126970740797032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_00_35_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34efe14c564bdeec28220e6fd0d823a9.jpg","text":"TemporaryFile(/tmp/multipartBody2522777715058527395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510710075,"filename":"image_07052026_03_09_36_30402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885779","file1":"1416885776","file0":"1416885773","file4":"1416885786","file5":"1416885788","file3":"1416885782"},"map_files_photo_id_array":[{"photo_id":"1416885788","filename":"file5"},{"photo_id":"1416885779","filename":"file2"},{"photo_id":"1416885786","filename":"file4"},{"photo_id":"1416885776","filename":"file1"},{"photo_id":"1416885773","filename":"file0"},{"photo_id":"1416885782","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416885779":["hashtag1","hashtag2"]},{"1416885788":["hashtag1","hashtag2"]},{"1416885773":["hashtag1","hashtag2"]},{"1416885782":["hashtag1","hashtag2"]},{"1416885776":["hashtag1","hashtag2"]},{"1416885786":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416885779, 1416885788, 1416885773, 1416885782, 1416885776, 1416885786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.469045877456665 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885785","1416885781","1416885778","1416885787","1416885789","1416885774"],"photo_ids_order":["1416885774","1416885778","1416885781","1416885785","1416885787","1416885789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f74322d8936f6db357bdf553c0f0fff0.jpg","text":"TemporaryFile(/tmp/multipartBody7275188021737136444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_29_35_29323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d20ebb3df60d8f540830d468ab69c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7276063751776293257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_30_05_30440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00d7632afd493578b10b147ba717e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody6798400415396295090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_30_36_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb7b018bbea020b766a709c1beddcb80.jpg","text":"TemporaryFile(/tmp/multipartBody1207571319646213568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_29_06_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56bec3ea4858df1f8a072adbb257442e.jpg","text":"TemporaryFile(/tmp/multipartBody1003529237330578132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_28_35_30340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b84bcfdf30750d289abfefb8204e253.jpg","text":"TemporaryFile(/tmp/multipartBody7347107311648747832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510712639,"filename":"image_07052026_06_31_05_29235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416885781","file1":"1416885778","file0":"1416885774","file4":"1416885787","file5":"1416885789","file3":"1416885785"},"map_files_photo_id_array":[{"photo_id":"1416885789","filename":"file5"},{"photo_id":"1416885781","filename":"file2"},{"photo_id":"1416885787","filename":"file4"},{"photo_id":"1416885778","filename":"file1"},{"photo_id":"1416885774","filename":"file0"},{"photo_id":"1416885785","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416885785":["hashtag1","hashtag2"]},{"1416885781":["hashtag1","hashtag2"]},{"1416885778":["hashtag1","hashtag2"]},{"1416885787":["hashtag1","hashtag2"]},{"1416885789":["hashtag1","hashtag2"]},{"1416885774":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416885785, 1416885781, 1416885778, 1416885787, 1416885789, 1416885774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.37730669975281 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:45:04.598689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/44/image_11052026_16_45_14_30052.jpg', '/home/pi/Desktop/images/11052026/16/43/image_11052026_16_43_44_30250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/44/image_11052026_16_45_14_30052.jpg
/home/pi/Desktop/images/11052026/16/43/image_11052026_16_43_44_30250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416885793","1416885792"],"photo_ids_order":["1416885792","1416885793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be7e9d9e66dd8a6fc616a0cfc204b425.jpg","text":"TemporaryFile(/tmp/multipartBody240188414642995272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510766503,"filename":"image_11052026_16_43_44_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a3f8f4146a49be8079074ef35b34502.jpg","text":"TemporaryFile(/tmp/multipartBody8483430175782984079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510766503,"filename":"image_11052026_16_45_14_30052.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416885793","file0":"1416885792"},"map_files_photo_id_array":[{"photo_id":"1416885793","filename":"file1"},{"photo_id":"1416885792","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416885793":["hashtag1","hashtag2"]},{"1416885792":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416885793, 1416885792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.430309534072876 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:46:03.035476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/27/image_07052026_06_28_05_29206.jpg', '/home/pi/Desktop/images/07052026/06/27/image_07052026_06_27_36_30436.jpg', '/home/pi/Desktop/images/07052026/06/26/image_07052026_06_27_05_30320.jpg', '/home/pi/Desktop/images/07052026/06/26/image_07052026_06_26_35_29230.jpg', '/home/pi/Desktop/images/07052026/06/23/image_07052026_06_24_06_30341.jpg', '/home/pi/Desktop/images/07052026/06/23/image_07052026_06_23_35_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/27/image_07052026_06_28_05_29206.jpg
/home/pi/Desktop/images/07052026/06/27/image_07052026_06_27_36_30436.jpg
/home/pi/Desktop/images/07052026/06/26/image_07052026_06_27_05_30320.jpg
/home/pi/Desktop/images/07052026/06/26/image_07052026_06_26_35_29230.jpg
/home/pi/Desktop/images/07052026/06/23/image_07052026_06_24_06_30341.jpg
/home/pi/Desktop/images/07052026/06/23/image_07052026_06_23_35_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886040","1416886043","1416886036","1416886044","1416886038","1416886023"],"photo_ids_order":["1416886023","1416886036","1416886038","1416886040","1416886043","1416886044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb105aff7b0730056acb4949bb242bea.jpg","text":"TemporaryFile(/tmp/multipartBody8528436485414148287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_26_35_29230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd16252e05c333dbda34652b0c115035.jpg","text":"TemporaryFile(/tmp/multipartBody5056818247799099208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_24_06_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ade77f27a8b81ce446a947ccb425bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4903008557746534397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_27_36_30436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb6569921a1a16149d752d2c88ab74f2.jpg","text":"TemporaryFile(/tmp/multipartBody7986461106832647727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_23_35_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ea936c57cba7279afa01fa7ad79dad1.jpg","text":"TemporaryFile(/tmp/multipartBody5070781154888233591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_27_05_30320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4991b6b71b5c7d393979ca79a1510c3.jpg","text":"TemporaryFile(/tmp/multipartBody1532553550059083197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510827648,"filename":"image_07052026_06_28_05_29206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886038","file1":"1416886036","file0":"1416886023","file4":"1416886043","file5":"1416886044","file3":"1416886040"},"map_files_photo_id_array":[{"photo_id":"1416886044","filename":"file5"},{"photo_id":"1416886038","filename":"file2"},{"photo_id":"1416886043","filename":"file4"},{"photo_id":"1416886036","filename":"file1"},{"photo_id":"1416886023","filename":"file0"},{"photo_id":"1416886040","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886040":["hashtag1","hashtag2"]},{"1416886043":["hashtag1","hashtag2"]},{"1416886036":["hashtag1","hashtag2"]},{"1416886044":["hashtag1","hashtag2"]},{"1416886038":["hashtag1","hashtag2"]},{"1416886023":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886040, 1416886043, 1416886036, 1416886044, 1416886038, 1416886023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.77569365501404 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:47:04.503514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/45/image_11052026_16_45_44_30203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/45/image_11052026_16_45_44_30203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886046"],"photo_id":"1416886046","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cff4709b42db6848e4c22629500b21bb.jpg","text":"TemporaryFile(/tmp/multipartBody2992618384763265415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510885592,"filename":"image_11052026_16_45_44_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886046"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886046"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.490427255630493 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:48:02.926013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/20/image_07052026_06_21_06_30357.jpg', '/home/pi/Desktop/images/07052026/06/20/image_07052026_06_20_35_30277.jpg', '/home/pi/Desktop/images/07052026/06/19/image_07052026_06_20_05_30315.jpg', '/home/pi/Desktop/images/07052026/06/19/image_07052026_06_19_35_29360.jpg', '/home/pi/Desktop/images/07052026/06/18/image_07052026_06_18_35_30299.jpg', '/home/pi/Desktop/images/07052026/06/16/image_07052026_06_16_36_30396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/20/image_07052026_06_21_06_30357.jpg
/home/pi/Desktop/images/07052026/06/20/image_07052026_06_20_35_30277.jpg
/home/pi/Desktop/images/07052026/06/19/image_07052026_06_20_05_30315.jpg
/home/pi/Desktop/images/07052026/06/19/image_07052026_06_19_35_29360.jpg
/home/pi/Desktop/images/07052026/06/18/image_07052026_06_18_35_30299.jpg
/home/pi/Desktop/images/07052026/06/16/image_07052026_06_16_36_30396.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886055","1416886049","1416886057","1416886051","1416886053","1416886059"],"photo_ids_order":["1416886049","1416886051","1416886053","1416886055","1416886057","1416886059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d728dff45b096cd73b3bc52be46d2143.jpg","text":"TemporaryFile(/tmp/multipartBody8329492957348465081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_19_35_29360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/847f6557e4a148c191d03ba4fbb5f190.jpg","text":"TemporaryFile(/tmp/multipartBody5358571389264122450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_21_06_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/885132f07f9639658c973dc6b467e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2990783396875726866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_18_35_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79c1581e06181c4805eaa2fef28f2299.jpg","text":"TemporaryFile(/tmp/multipartBody3598399067298660103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_20_35_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07fd892469b0ff3c4c91bb2b8b5040f6.jpg","text":"TemporaryFile(/tmp/multipartBody7989965295323810723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_20_05_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32b5c043e6bd7d361a0ba1f9a0ac5d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1869374967836227330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778510946550,"filename":"image_07052026_06_16_36_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886053","file1":"1416886051","file0":"1416886049","file4":"1416886057","file5":"1416886059","file3":"1416886055"},"map_files_photo_id_array":[{"photo_id":"1416886059","filename":"file5"},{"photo_id":"1416886053","filename":"file2"},{"photo_id":"1416886057","filename":"file4"},{"photo_id":"1416886051","filename":"file1"},{"photo_id":"1416886049","filename":"file0"},{"photo_id":"1416886055","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886055":["hashtag1","hashtag2"]},{"1416886049":["hashtag1","hashtag2"]},{"1416886057":["hashtag1","hashtag2"]},{"1416886051":["hashtag1","hashtag2"]},{"1416886053":["hashtag1","hashtag2"]},{"1416886059":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886055, 1416886049, 1416886057, 1416886051, 1416886053, 1416886059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.862754821777344 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:49:04.705476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/15/image_07052026_06_16_05_30356.jpg', '/home/pi/Desktop/images/07052026/06/14/image_07052026_06_14_35_30383.jpg', '/home/pi/Desktop/images/07052026/06/13/image_07052026_06_14_05_29241.jpg', '/home/pi/Desktop/images/07052026/06/13/image_07052026_06_13_36_30427.jpg', '/home/pi/Desktop/images/07052026/06/12/image_07052026_06_13_05_30374.jpg', '/home/pi/Desktop/images/07052026/06/10/image_07052026_06_10_36_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/15/image_07052026_06_16_05_30356.jpg
/home/pi/Desktop/images/07052026/06/14/image_07052026_06_14_35_30383.jpg
/home/pi/Desktop/images/07052026/06/13/image_07052026_06_14_05_29241.jpg
/home/pi/Desktop/images/07052026/06/13/image_07052026_06_13_36_30427.jpg
/home/pi/Desktop/images/07052026/06/12/image_07052026_06_13_05_30374.jpg
/home/pi/Desktop/images/07052026/06/10/image_07052026_06_10_36_30224.jpg
2026-05-11 16:49:04.804863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/46/image_11052026_16_46_44_30146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/46/image_11052026_16_46_44_30146.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886061"],"photo_id":"1416886061","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a325c84e09f163af83957d3585c3e8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7738130476586786766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511006780,"filename":"image_11052026_16_46_44_30146.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886061"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886061"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.655648469924927 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886064","1416886063","1416886066","1416886068","1416886062","1416886065"],"photo_ids_order":["1416886062","1416886063","1416886064","1416886065","1416886066","1416886068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/819161d4395961f9806bfa20392df0e1.jpg","text":"TemporaryFile(/tmp/multipartBody8592593994072457141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_14_05_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b09db5cf6529bdff25cef152f082261d.jpg","text":"TemporaryFile(/tmp/multipartBody634952361139569336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_14_35_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0807a58f6b5904e99981cb98bd6b708a.jpg","text":"TemporaryFile(/tmp/multipartBody1477895857550498650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_13_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9907bf61ff56cfea2f29b405e707363f.jpg","text":"TemporaryFile(/tmp/multipartBody1853391631509371862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_10_36_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6bbb89654f5d378fb13c6fd59fac58ad.jpg","text":"TemporaryFile(/tmp/multipartBody9063414489705976123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_16_05_30356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/daa6b48f96ad2fbc4a3a5b8681c9b539.jpg","text":"TemporaryFile(/tmp/multipartBody4622109808396089698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511009222,"filename":"image_07052026_06_13_36_30427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886064","file1":"1416886063","file0":"1416886062","file4":"1416886066","file5":"1416886068","file3":"1416886065"},"map_files_photo_id_array":[{"photo_id":"1416886068","filename":"file5"},{"photo_id":"1416886064","filename":"file2"},{"photo_id":"1416886066","filename":"file4"},{"photo_id":"1416886063","filename":"file1"},{"photo_id":"1416886062","filename":"file0"},{"photo_id":"1416886065","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886064":["hashtag1","hashtag2"]},{"1416886063":["hashtag1","hashtag2"]},{"1416886066":["hashtag1","hashtag2"]},{"1416886068":["hashtag1","hashtag2"]},{"1416886062":["hashtag1","hashtag2"]},{"1416886065":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886064, 1416886063, 1416886066, 1416886068, 1416886062, 1416886065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72531771659851 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:50:03.580029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/06/09/image_07052026_06_10_06_30377.jpg', '/home/pi/Desktop/images/07052026/06/05/image_07052026_06_06_05_29275.jpg', '/home/pi/Desktop/images/07052026/06/05/image_07052026_06_05_36_30411.jpg', '/home/pi/Desktop/images/07052026/06/01/image_07052026_06_01_35_29273.jpg', '/home/pi/Desktop/images/07052026/06/00/image_07052026_06_01_06_30286.jpg', '/home/pi/Desktop/images/07052026/05/59/image_07052026_06_00_05_29235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/06/09/image_07052026_06_10_06_30377.jpg
/home/pi/Desktop/images/07052026/06/05/image_07052026_06_06_05_29275.jpg
/home/pi/Desktop/images/07052026/06/05/image_07052026_06_05_36_30411.jpg
/home/pi/Desktop/images/07052026/06/01/image_07052026_06_01_35_29273.jpg
/home/pi/Desktop/images/07052026/06/00/image_07052026_06_01_06_30286.jpg
/home/pi/Desktop/images/07052026/05/59/image_07052026_06_00_05_29235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886085","1416886084","1416886071","1416886080","1416886077","1416886082"],"photo_ids_order":["1416886071","1416886077","1416886080","1416886082","1416886084","1416886085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/372df95c4d1c1879fc1d54e63b03a558.jpg","text":"TemporaryFile(/tmp/multipartBody4527531966544088041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_00_05_29235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/412b2f23a2a26f17e533cefc9c986969.jpg","text":"TemporaryFile(/tmp/multipartBody7402607509258969648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_01_06_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76481f578104da95688f4e8104cb6bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4248173753131886938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_10_06_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/016905ba549fd42cdb3508612be697bd.jpg","text":"TemporaryFile(/tmp/multipartBody6278965288654145444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_05_36_30411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e12925a83b251894893ad03d89ad0f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5684250368963797700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_06_05_29275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92de29667158e7ebeadd6bdd3d3e22d4.jpg","text":"TemporaryFile(/tmp/multipartBody6326822796483400096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511066996,"filename":"image_07052026_06_01_35_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886080","file1":"1416886077","file0":"1416886071","file4":"1416886084","file5":"1416886085","file3":"1416886082"},"map_files_photo_id_array":[{"photo_id":"1416886085","filename":"file5"},{"photo_id":"1416886080","filename":"file2"},{"photo_id":"1416886084","filename":"file4"},{"photo_id":"1416886077","filename":"file1"},{"photo_id":"1416886071","filename":"file0"},{"photo_id":"1416886082","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886085":["hashtag1","hashtag2"]},{"1416886084":["hashtag1","hashtag2"]},{"1416886071":["hashtag1","hashtag2"]},{"1416886080":["hashtag1","hashtag2"]},{"1416886077":["hashtag1","hashtag2"]},{"1416886082":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886085, 1416886084, 1416886071, 1416886080, 1416886077, 1416886082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.10731482505798 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:51:03.929260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/50/image_11052026_16_50_44_30249.jpg', '/home/pi/Desktop/images/11052026/16/49/image_11052026_16_50_14_29227.jpg', '/home/pi/Desktop/images/11052026/16/48/image_11052026_16_49_14_30368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/50/image_11052026_16_50_44_30249.jpg
/home/pi/Desktop/images/11052026/16/49/image_11052026_16_50_14_29227.jpg
/home/pi/Desktop/images/11052026/16/48/image_11052026_16_49_14_30368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886088","1416886087","1416886089"],"photo_ids_order":["1416886087","1416886088","1416886089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b603782694ebd96a8e2298a9c474418.jpg","text":"TemporaryFile(/tmp/multipartBody520589515445580785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511126436,"filename":"image_11052026_16_50_14_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b75769c9c8518685ebd6517132888e3.jpg","text":"TemporaryFile(/tmp/multipartBody3578102764333191369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511126436,"filename":"image_11052026_16_50_44_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/efa92028f4e75fd10a37cdb2229bda9d.jpg","text":"TemporaryFile(/tmp/multipartBody5126954388773094706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511126436,"filename":"image_11052026_16_49_14_30368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886089","file1":"1416886088","file0":"1416886087"},"map_files_photo_id_array":[{"photo_id":"1416886089","filename":"file2"},{"photo_id":"1416886088","filename":"file1"},{"photo_id":"1416886087","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886088":["hashtag1","hashtag2"]},{"1416886087":["hashtag1","hashtag2"]},{"1416886089":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886088, 1416886087, 1416886089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.914702653884888 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:52:03.467711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/57/image_07052026_05_58_06_30329.jpg', '/home/pi/Desktop/images/07052026/05/56/image_07052026_05_56_36_30323.jpg', '/home/pi/Desktop/images/07052026/05/55/image_07052026_05_55_35_29352.jpg', '/home/pi/Desktop/images/07052026/05/54/image_07052026_05_54_35_30398.jpg', '/home/pi/Desktop/images/07052026/05/53/image_07052026_05_53_36_30399.jpg', '/home/pi/Desktop/images/07052026/05/51/image_07052026_05_51_35_30443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/57/image_07052026_05_58_06_30329.jpg
/home/pi/Desktop/images/07052026/05/56/image_07052026_05_56_36_30323.jpg
/home/pi/Desktop/images/07052026/05/55/image_07052026_05_55_35_29352.jpg
/home/pi/Desktop/images/07052026/05/54/image_07052026_05_54_35_30398.jpg
/home/pi/Desktop/images/07052026/05/53/image_07052026_05_53_36_30399.jpg
/home/pi/Desktop/images/07052026/05/51/image_07052026_05_51_35_30443.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886101","1416886099","1416886102","1416886092","1416886094","1416886097"],"photo_ids_order":["1416886092","1416886094","1416886097","1416886099","1416886101","1416886102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db9c0821c3da0f3c4ac8961439ed5233.jpg","text":"TemporaryFile(/tmp/multipartBody847056626357189673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_53_36_30399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6bb23a3e9235cd7d363ce065b4ae829.jpg","text":"TemporaryFile(/tmp/multipartBody3991499823203137112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_54_35_30398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9fa68c3ba79dc1c1f53bc4057b39b4d.jpg","text":"TemporaryFile(/tmp/multipartBody107201720632541777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_51_35_30443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ea0bc2e2480cbefe04bb4a55f820317.jpg","text":"TemporaryFile(/tmp/multipartBody5638844854826629219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_58_06_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cd1ff49a2cd40301a53f0d3d46be5c3.jpg","text":"TemporaryFile(/tmp/multipartBody9187680433231242536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_56_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a9d715206c960cb2327a2deb9b910eb.jpg","text":"TemporaryFile(/tmp/multipartBody3139968686250667538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511187164,"filename":"image_07052026_05_55_35_29352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886097","file1":"1416886094","file0":"1416886092","file4":"1416886101","file5":"1416886102","file3":"1416886099"},"map_files_photo_id_array":[{"photo_id":"1416886102","filename":"file5"},{"photo_id":"1416886097","filename":"file2"},{"photo_id":"1416886101","filename":"file4"},{"photo_id":"1416886094","filename":"file1"},{"photo_id":"1416886092","filename":"file0"},{"photo_id":"1416886099","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886101":["hashtag1","hashtag2"]},{"1416886099":["hashtag1","hashtag2"]},{"1416886102":["hashtag1","hashtag2"]},{"1416886092":["hashtag1","hashtag2"]},{"1416886094":["hashtag1","hashtag2"]},{"1416886097":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886101, 1416886099, 1416886102, 1416886092, 1416886094, 1416886097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22051382064819 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:53:03.778681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/52/image_11052026_16_52_44_30048.jpg', '/home/pi/Desktop/images/11052026/16/51/image_11052026_16_52_14_29202.jpg', '/home/pi/Desktop/images/11052026/16/51/image_11052026_16_51_44_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/52/image_11052026_16_52_44_30048.jpg
/home/pi/Desktop/images/11052026/16/51/image_11052026_16_52_14_29202.jpg
/home/pi/Desktop/images/11052026/16/51/image_11052026_16_51_44_30211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886106","1416886105","1416886104"],"photo_ids_order":["1416886104","1416886105","1416886106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b78f00368024b870b3872f21b9533e46.jpg","text":"TemporaryFile(/tmp/multipartBody5019607237296388157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511245653,"filename":"image_11052026_16_51_44_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/768da516da6896a6b1de9e8f7cbfafef.jpg","text":"TemporaryFile(/tmp/multipartBody5870806472757256995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511245653,"filename":"image_11052026_16_52_14_29202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6004844b3e7b2b5b27f47b1274980362.jpg","text":"TemporaryFile(/tmp/multipartBody6838112946582825490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511245653,"filename":"image_11052026_16_52_44_30048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886106","file1":"1416886105","file0":"1416886104"},"map_files_photo_id_array":[{"photo_id":"1416886106","filename":"file2"},{"photo_id":"1416886105","filename":"file1"},{"photo_id":"1416886104","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886106":["hashtag1","hashtag2"]},{"1416886105":["hashtag1","hashtag2"]},{"1416886104":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886106, 1416886105, 1416886104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.024654388427734 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:54:03.612523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/52/image_11052026_16_53_14_30135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/52/image_11052026_16_53_14_30135.jpg
2026-05-11 16:54:03.649324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/52/image_11052026_16_53_14_30135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/52/image_11052026_16_53_14_30135.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886110"],"photo_id":"1416886110","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86551c48dac4958264a721351597976b.jpg","text":"TemporaryFile(/tmp/multipartBody270043407444359626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511305431,"filename":"image_11052026_16_53_14_30135.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886110"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886110"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.608853101730347 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886109"],"photo_id":"1416886109","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/510d60f8424696f9bb6a3a69e79b89e5.jpg","text":"TemporaryFile(/tmp/multipartBody1874598113216988723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511305350,"filename":"image_11052026_16_53_14_30135.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886109"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886109"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.903275966644287 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 16:59:04.743266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/57/image_11052026_16_58_14_30141.jpg', '/home/pi/Desktop/images/11052026/16/57/image_11052026_16_57_44_30298.jpg', '/home/pi/Desktop/images/11052026/16/56/image_11052026_16_57_13_29190.jpg', '/home/pi/Desktop/images/11052026/16/55/image_11052026_16_55_44_30240.jpg', '/home/pi/Desktop/images/11052026/16/54/image_11052026_16_55_14_29177.jpg', '/home/pi/Desktop/images/11052026/16/54/image_11052026_16_54_44_30247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/57/image_11052026_16_58_14_30141.jpg
/home/pi/Desktop/images/11052026/16/57/image_11052026_16_57_44_30298.jpg
/home/pi/Desktop/images/11052026/16/56/image_11052026_16_57_13_29190.jpg
/home/pi/Desktop/images/11052026/16/55/image_11052026_16_55_44_30240.jpg
/home/pi/Desktop/images/11052026/16/54/image_11052026_16_55_14_29177.jpg
/home/pi/Desktop/images/11052026/16/54/image_11052026_16_54_44_30247.jpg
2026-05-11 16:59:05.077756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/54/image_11052026_16_54_44_30247.jpg', '/home/pi/Desktop/images/11052026/16/54/image_11052026_16_55_14_29177.jpg', '/home/pi/Desktop/images/11052026/16/55/image_11052026_16_55_44_30240.jpg', '/home/pi/Desktop/images/11052026/16/56/image_11052026_16_57_13_29190.jpg', '/home/pi/Desktop/images/11052026/16/57/image_11052026_16_57_44_30298.jpg', '/home/pi/Desktop/images/11052026/16/57/image_11052026_16_58_14_30141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/54/image_11052026_16_54_44_30247.jpg
/home/pi/Desktop/images/11052026/16/54/image_11052026_16_55_14_29177.jpg
/home/pi/Desktop/images/11052026/16/55/image_11052026_16_55_44_30240.jpg
/home/pi/Desktop/images/11052026/16/56/image_11052026_16_57_13_29190.jpg
/home/pi/Desktop/images/11052026/16/57/image_11052026_16_57_44_30298.jpg
/home/pi/Desktop/images/11052026/16/57/image_11052026_16_58_14_30141.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886151","1416886154","1416886148","1416886142","1416886144","1416886146"],"photo_ids_order":["1416886142","1416886144","1416886146","1416886148","1416886151","1416886154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aadaf73f721693b9db753991cf77e94f.jpg","text":"TemporaryFile(/tmp/multipartBody7311848806574133965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_55_14_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e167c132f593aa62f608d081e7943da3.jpg","text":"TemporaryFile(/tmp/multipartBody3240870693626623803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_54_44_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3775e645471ef707ac5f1f2d123ead9.jpg","text":"TemporaryFile(/tmp/multipartBody5930972630325427824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_55_44_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6e8dac6c6178f2f7c1748e87c45a2a0.jpg","text":"TemporaryFile(/tmp/multipartBody5552847562411349754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_58_14_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e348d22bad49ae39fac8c46edaad82a.jpg","text":"TemporaryFile(/tmp/multipartBody3138098122364215328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_57_44_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9e9fded598040c6af9abc543aab461d.jpg","text":"TemporaryFile(/tmp/multipartBody2658214493075215903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511609088,"filename":"image_11052026_16_57_13_29190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886146","file1":"1416886144","file0":"1416886142","file4":"1416886151","file5":"1416886154","file3":"1416886148"},"map_files_photo_id_array":[{"photo_id":"1416886154","filename":"file5"},{"photo_id":"1416886146","filename":"file2"},{"photo_id":"1416886151","filename":"file4"},{"photo_id":"1416886144","filename":"file1"},{"photo_id":"1416886142","filename":"file0"},{"photo_id":"1416886148","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886151":["hashtag1","hashtag2"]},{"1416886154":["hashtag1","hashtag2"]},{"1416886148":["hashtag1","hashtag2"]},{"1416886142":["hashtag1","hashtag2"]},{"1416886144":["hashtag1","hashtag2"]},{"1416886146":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886151, 1416886154, 1416886148, 1416886142, 1416886144, 1416886146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28199481964111 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886145","1416886150","1416886147","1416886152","1416886155","1416886143"],"photo_ids_order":["1416886143","1416886145","1416886147","1416886150","1416886152","1416886155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b162170e1834d8140ce682725a67be45.jpg","text":"TemporaryFile(/tmp/multipartBody8284283182880794803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_55_14_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a16d4ca10020a3d650d7fc4b63c84b06.jpg","text":"TemporaryFile(/tmp/multipartBody536382581075955919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_57_13_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d1d16cc8796303857a11c06c76b7270.jpg","text":"TemporaryFile(/tmp/multipartBody7350269196229205417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_55_44_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/652cc966afa99c57d0e3fc4801ed882f.jpg","text":"TemporaryFile(/tmp/multipartBody1278395668872439359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_57_44_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9348a51b746938972ad365eb6cf6d589.jpg","text":"TemporaryFile(/tmp/multipartBody1714961160077488396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_58_14_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8fcd10a72f7355960607c732e0a7808.jpg","text":"TemporaryFile(/tmp/multipartBody5651646742335104465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511610505,"filename":"image_11052026_16_54_44_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886147","file1":"1416886145","file0":"1416886143","file4":"1416886152","file5":"1416886155","file3":"1416886150"},"map_files_photo_id_array":[{"photo_id":"1416886155","filename":"file5"},{"photo_id":"1416886147","filename":"file2"},{"photo_id":"1416886152","filename":"file4"},{"photo_id":"1416886145","filename":"file1"},{"photo_id":"1416886143","filename":"file0"},{"photo_id":"1416886150","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886145":["hashtag1","hashtag2"]},{"1416886150":["hashtag1","hashtag2"]},{"1416886147":["hashtag1","hashtag2"]},{"1416886152":["hashtag1","hashtag2"]},{"1416886155":["hashtag1","hashtag2"]},{"1416886143":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886145, 1416886150, 1416886147, 1416886152, 1416886155, 1416886143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11931347846985 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:00:03.633636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/16/58/image_11052026_16_58_44_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/16/58/image_11052026_16_58_44_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886158"],"photo_id":"1416886158","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20d6c21c0d6eccfc0042a15102c174d7.jpg","text":"TemporaryFile(/tmp/multipartBody1392476946165019681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511664946,"filename":"image_11052026_16_58_44_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886158"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886158"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.473048686981201 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:01:03.990791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/00/image_11052026_17_01_13_29294.jpg', '/home/pi/Desktop/images/11052026/17/00/image_11052026_17_00_44_30330.jpg', '/home/pi/Desktop/images/11052026/16/59/image_11052026_17_00_14_30224.jpg', '/home/pi/Desktop/images/11052026/16/58/image_11052026_16_59_14_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/00/image_11052026_17_01_13_29294.jpg
/home/pi/Desktop/images/11052026/17/00/image_11052026_17_00_44_30330.jpg
/home/pi/Desktop/images/11052026/16/59/image_11052026_17_00_14_30224.jpg
/home/pi/Desktop/images/11052026/16/58/image_11052026_16_59_14_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886166","1416886168","1416886165","1416886167"],"photo_ids_order":["1416886165","1416886166","1416886167","1416886168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/756037d38bb47a1b9e73528b55a554ed.jpg","text":"TemporaryFile(/tmp/multipartBody2416075962558497909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511726246,"filename":"image_11052026_17_00_44_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5942f32b6ea6a6ff515d2a812b7b9fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8032752045529566844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511726246,"filename":"image_11052026_16_59_14_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86aef16d0615103989c7341fab1f0147.jpg","text":"TemporaryFile(/tmp/multipartBody4165468882916112400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511726246,"filename":"image_11052026_17_01_13_29294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52fbd2e727262f689c4c8cca8c1a6815.jpg","text":"TemporaryFile(/tmp/multipartBody6565279534885568287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511726246,"filename":"image_11052026_17_00_14_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886167","file1":"1416886166","file0":"1416886165","file3":"1416886168"},"map_files_photo_id_array":[{"photo_id":"1416886167","filename":"file2"},{"photo_id":"1416886166","filename":"file1"},{"photo_id":"1416886165","filename":"file0"},{"photo_id":"1416886168","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886166":["hashtag1","hashtag2"]},{"1416886168":["hashtag1","hashtag2"]},{"1416886165":["hashtag1","hashtag2"]},{"1416886167":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886166, 1416886168, 1416886165, 1416886167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.526233434677124 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:02:03.338453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/49/image_07052026_05_50_05_30374.jpg', '/home/pi/Desktop/images/07052026/05/49/image_07052026_05_49_35_29401.jpg', '/home/pi/Desktop/images/07052026/05/48/image_07052026_05_49_05_30410.jpg', '/home/pi/Desktop/images/07052026/05/48/image_07052026_05_48_35_29242.jpg', '/home/pi/Desktop/images/07052026/05/39/image_07052026_05_40_05_29416.jpg', '/home/pi/Desktop/images/07052026/05/38/image_07052026_05_39_05_29233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/49/image_07052026_05_50_05_30374.jpg
/home/pi/Desktop/images/07052026/05/49/image_07052026_05_49_35_29401.jpg
/home/pi/Desktop/images/07052026/05/48/image_07052026_05_49_05_30410.jpg
/home/pi/Desktop/images/07052026/05/48/image_07052026_05_48_35_29242.jpg
/home/pi/Desktop/images/07052026/05/39/image_07052026_05_40_05_29416.jpg
/home/pi/Desktop/images/07052026/05/38/image_07052026_05_39_05_29233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886178","1416886187","1416886172","1416886180","1416886174","1416886176"],"photo_ids_order":["1416886172","1416886174","1416886176","1416886178","1416886180","1416886187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/637fc3f2e11c5a756d445af57256c795.jpg","text":"TemporaryFile(/tmp/multipartBody8197282945581999255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_48_35_29242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bac85fbbe48eacee453c25be7fbabb5.jpg","text":"TemporaryFile(/tmp/multipartBody8346019605759143196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_39_05_29233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72588dabfbeb32eab25c553582ee7df7.jpg","text":"TemporaryFile(/tmp/multipartBody3012080654542521909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_50_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd882f298f9542019f048542ec43d98d.jpg","text":"TemporaryFile(/tmp/multipartBody1649055782313686749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_40_05_29416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b2865b479983fb4bec3b03f9ad8d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody4509894986346206327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_49_35_29401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33da3c7edf40c297d9c4a752a06fb099.jpg","text":"TemporaryFile(/tmp/multipartBody6427987867242207693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511788357,"filename":"image_07052026_05_49_05_30410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886176","file1":"1416886174","file0":"1416886172","file4":"1416886180","file5":"1416886187","file3":"1416886178"},"map_files_photo_id_array":[{"photo_id":"1416886187","filename":"file5"},{"photo_id":"1416886176","filename":"file2"},{"photo_id":"1416886180","filename":"file4"},{"photo_id":"1416886174","filename":"file1"},{"photo_id":"1416886172","filename":"file0"},{"photo_id":"1416886178","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886178":["hashtag1","hashtag2"]},{"1416886187":["hashtag1","hashtag2"]},{"1416886172":["hashtag1","hashtag2"]},{"1416886180":["hashtag1","hashtag2"]},{"1416886174":["hashtag1","hashtag2"]},{"1416886176":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886178, 1416886187, 1416886172, 1416886180, 1416886174, 1416886176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84725737571716 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:03:03.977000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/01/image_11052026_17_01_44_30297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/01/image_11052026_17_01_44_30297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886194"],"photo_id":"1416886194","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f37d302e6439a8c2c756c6f73a4d6da7.jpg","text":"TemporaryFile(/tmp/multipartBody3351369956907138581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511845500,"filename":"image_11052026_17_01_44_30297.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886194"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886194"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.72930383682251 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:04:03.920356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/12/image_07052026_03_12_35_29310.jpg', '/home/pi/Desktop/images/07052026/03/13/image_07052026_03_14_05_29340.jpg', '/home/pi/Desktop/images/07052026/03/15/image_07052026_03_16_05_30376.jpg', '/home/pi/Desktop/images/07052026/03/16/image_07052026_03_16_36_30290.jpg', '/home/pi/Desktop/images/07052026/03/16/image_07052026_03_17_05_29301.jpg', '/home/pi/Desktop/images/07052026/03/17/image_07052026_03_18_05_29325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/12/image_07052026_03_12_35_29310.jpg
/home/pi/Desktop/images/07052026/03/13/image_07052026_03_14_05_29340.jpg
/home/pi/Desktop/images/07052026/03/15/image_07052026_03_16_05_30376.jpg
/home/pi/Desktop/images/07052026/03/16/image_07052026_03_16_36_30290.jpg
/home/pi/Desktop/images/07052026/03/16/image_07052026_03_17_05_29301.jpg
/home/pi/Desktop/images/07052026/03/17/image_07052026_03_18_05_29325.jpg
2026-05-11 17:04:04.048049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/38/image_07052026_05_38_36_30271.jpg', '/home/pi/Desktop/images/07052026/05/37/image_07052026_05_38_05_30325.jpg', '/home/pi/Desktop/images/07052026/05/37/image_07052026_05_37_35_29366.jpg', '/home/pi/Desktop/images/07052026/05/36/image_07052026_05_37_06_30362.jpg', '/home/pi/Desktop/images/07052026/05/36/image_07052026_05_36_35_30349.jpg', '/home/pi/Desktop/images/07052026/05/35/image_07052026_05_36_05_29300.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/38/image_07052026_05_38_36_30271.jpg
/home/pi/Desktop/images/07052026/05/37/image_07052026_05_38_05_30325.jpg
/home/pi/Desktop/images/07052026/05/37/image_07052026_05_37_35_29366.jpg
/home/pi/Desktop/images/07052026/05/36/image_07052026_05_37_06_30362.jpg
/home/pi/Desktop/images/07052026/05/36/image_07052026_05_36_35_30349.jpg
/home/pi/Desktop/images/07052026/05/35/image_07052026_05_36_05_29300.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886198","1416886210","1416886204","1416886207","1416886201","1416886212"],"photo_ids_order":["1416886198","1416886201","1416886204","1416886207","1416886210","1416886212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47c0ac3d86518ce217354aece5b1364f.jpg","text":"TemporaryFile(/tmp/multipartBody6546943396540730143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_12_35_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df43969f8bb91eaee7773518388a4073.jpg","text":"TemporaryFile(/tmp/multipartBody4597559194134832642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_17_05_29301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22bd2f95077f6152f7274e23ee15e390.jpg","text":"TemporaryFile(/tmp/multipartBody6986304575748149412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_16_05_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab8d89c5eff4acdc772c93454017138a.jpg","text":"TemporaryFile(/tmp/multipartBody2545193551318237790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_16_36_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67bda10f638c9f87ed2af74f92241e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2515161291642797531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_14_05_29340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68955e032389efd9f7eaa2cf655b2005.jpg","text":"TemporaryFile(/tmp/multipartBody6584889736818261637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511909711,"filename":"image_07052026_03_18_05_29325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886204","file1":"1416886201","file0":"1416886198","file4":"1416886210","file5":"1416886212","file3":"1416886207"},"map_files_photo_id_array":[{"photo_id":"1416886212","filename":"file5"},{"photo_id":"1416886204","filename":"file2"},{"photo_id":"1416886210","filename":"file4"},{"photo_id":"1416886201","filename":"file1"},{"photo_id":"1416886198","filename":"file0"},{"photo_id":"1416886207","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886198":["hashtag1","hashtag2"]},{"1416886210":["hashtag1","hashtag2"]},{"1416886204":["hashtag1","hashtag2"]},{"1416886207":["hashtag1","hashtag2"]},{"1416886201":["hashtag1","hashtag2"]},{"1416886212":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886198, 1416886210, 1416886204, 1416886207, 1416886201, 1416886212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.063936710357666 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886199","1416886211","1416886208","1416886202","1416886205","1416886213"],"photo_ids_order":["1416886199","1416886202","1416886205","1416886208","1416886211","1416886213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf61be665e53ba6224e2933f04125dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8399894392989102877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_38_36_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56fcb6b5e8a21a1902619d350ca176f0.jpg","text":"TemporaryFile(/tmp/multipartBody8788439454361468180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_36_35_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb3aaf7606837bf4b14b6a117ee7fb00.jpg","text":"TemporaryFile(/tmp/multipartBody7586316566748412093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_37_06_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de3dff73a78ef8b70a60c6f63f5b69ec.jpg","text":"TemporaryFile(/tmp/multipartBody7589512896894410185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_38_05_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7630394a6f0ed775de42770dd76fc78.jpg","text":"TemporaryFile(/tmp/multipartBody1107764415321883879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_37_35_29366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/432f9945ddab5ec5d2b3dfed1012a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody2865028122484037970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511910365,"filename":"image_07052026_05_36_05_29300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886205","file1":"1416886202","file0":"1416886199","file4":"1416886211","file5":"1416886213","file3":"1416886208"},"map_files_photo_id_array":[{"photo_id":"1416886213","filename":"file5"},{"photo_id":"1416886205","filename":"file2"},{"photo_id":"1416886211","filename":"file4"},{"photo_id":"1416886202","filename":"file1"},{"photo_id":"1416886199","filename":"file0"},{"photo_id":"1416886208","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886199":["hashtag1","hashtag2"]},{"1416886211":["hashtag1","hashtag2"]},{"1416886208":["hashtag1","hashtag2"]},{"1416886202":["hashtag1","hashtag2"]},{"1416886205":["hashtag1","hashtag2"]},{"1416886213":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886199, 1416886211, 1416886208, 1416886202, 1416886205, 1416886213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.89160466194153 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:05:04.231801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/35/image_07052026_05_35_36_30333.jpg', '/home/pi/Desktop/images/07052026/05/34/image_07052026_05_34_35_29298.jpg', '/home/pi/Desktop/images/07052026/05/33/image_07052026_05_34_06_30381.jpg', '/home/pi/Desktop/images/07052026/05/33/image_07052026_05_33_35_30421.jpg', '/home/pi/Desktop/images/07052026/05/32/image_07052026_05_33_05_29238.jpg', '/home/pi/Desktop/images/07052026/05/32/image_07052026_05_32_36_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/35/image_07052026_05_35_36_30333.jpg
/home/pi/Desktop/images/07052026/05/34/image_07052026_05_34_35_29298.jpg
/home/pi/Desktop/images/07052026/05/33/image_07052026_05_34_06_30381.jpg
/home/pi/Desktop/images/07052026/05/33/image_07052026_05_33_35_30421.jpg
/home/pi/Desktop/images/07052026/05/32/image_07052026_05_33_05_29238.jpg
/home/pi/Desktop/images/07052026/05/32/image_07052026_05_32_36_30387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886226","1416886223","1416886225","1416886219","1416886221","1416886224"],"photo_ids_order":["1416886219","1416886221","1416886223","1416886224","1416886225","1416886226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f12c8dff2a779331710849990904e240.jpg","text":"TemporaryFile(/tmp/multipartBody399874074244482911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_32_36_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9d9d55842cb8290c7926c3a57e6d990.jpg","text":"TemporaryFile(/tmp/multipartBody5707676911374302794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_34_06_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58ca549c5c09455761a355da0f8691d3.jpg","text":"TemporaryFile(/tmp/multipartBody7149984764375433003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_33_05_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eba65e4832b0635e56904968302c23b4.jpg","text":"TemporaryFile(/tmp/multipartBody7479333162143390612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_35_36_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7bcea76089fba235ccb246ecdb0de7a.jpg","text":"TemporaryFile(/tmp/multipartBody1814452405061093614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_34_35_29298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbb769afa37403acbd0c6ef43d8927ae.jpg","text":"TemporaryFile(/tmp/multipartBody9141310920228036582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778511968093,"filename":"image_07052026_05_33_35_30421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886223","file1":"1416886221","file0":"1416886219","file4":"1416886225","file5":"1416886226","file3":"1416886224"},"map_files_photo_id_array":[{"photo_id":"1416886226","filename":"file5"},{"photo_id":"1416886223","filename":"file2"},{"photo_id":"1416886225","filename":"file4"},{"photo_id":"1416886221","filename":"file1"},{"photo_id":"1416886219","filename":"file0"},{"photo_id":"1416886224","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886226":["hashtag1","hashtag2"]},{"1416886223":["hashtag1","hashtag2"]},{"1416886225":["hashtag1","hashtag2"]},{"1416886219":["hashtag1","hashtag2"]},{"1416886221":["hashtag1","hashtag2"]},{"1416886224":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886226, 1416886223, 1416886225, 1416886219, 1416886221, 1416886224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.986334800720215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:06:03.101420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/05/image_11052026_17_06_14_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/05/image_11052026_17_06_14_30179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886229"],"photo_id":"1416886229","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38d45a54c7758930a545b50324829bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2659837366620666568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512024214,"filename":"image_11052026_17_06_14_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886229"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886229"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.455538511276245 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:07:04.498951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/31/image_07052026_05_32_05_30399.jpg', '/home/pi/Desktop/images/07052026/05/31/image_07052026_05_31_35_29321.jpg', '/home/pi/Desktop/images/07052026/05/30/image_07052026_05_31_06_30330.jpg', '/home/pi/Desktop/images/07052026/05/21/image_07052026_05_21_35_30488.jpg', '/home/pi/Desktop/images/07052026/05/20/image_07052026_05_20_36_30459.jpg', '/home/pi/Desktop/images/07052026/05/19/image_07052026_05_19_36_30381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/31/image_07052026_05_32_05_30399.jpg
/home/pi/Desktop/images/07052026/05/31/image_07052026_05_31_35_29321.jpg
/home/pi/Desktop/images/07052026/05/30/image_07052026_05_31_06_30330.jpg
/home/pi/Desktop/images/07052026/05/21/image_07052026_05_21_35_30488.jpg
/home/pi/Desktop/images/07052026/05/20/image_07052026_05_20_36_30459.jpg
/home/pi/Desktop/images/07052026/05/19/image_07052026_05_19_36_30381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886238","1416886235","1416886240","1416886237","1416886234","1416886236"],"photo_ids_order":["1416886234","1416886235","1416886236","1416886237","1416886238","1416886240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6201a05e12eaea19829b43c384be8afd.jpg","text":"TemporaryFile(/tmp/multipartBody4329569774100341812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_20_36_30459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/128bd0905c846f37524b82c38d315305.jpg","text":"TemporaryFile(/tmp/multipartBody6985592769275100076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_31_35_29321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f34b86ab89d3408e5c059374382aad1.jpg","text":"TemporaryFile(/tmp/multipartBody7114002864459933512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_19_36_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd21d6edc00fcffeb9128a4ef879c359.jpg","text":"TemporaryFile(/tmp/multipartBody1205411274467012804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_21_35_30488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32c25c513686b15db0ea0ee4301f9df8.jpg","text":"TemporaryFile(/tmp/multipartBody951720319890871952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_32_05_30399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03caf7ba6bec846764d02265914c221e.jpg","text":"TemporaryFile(/tmp/multipartBody2420820452658657237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512088198,"filename":"image_07052026_05_31_06_30330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886236","file1":"1416886235","file0":"1416886234","file4":"1416886238","file5":"1416886240","file3":"1416886237"},"map_files_photo_id_array":[{"photo_id":"1416886240","filename":"file5"},{"photo_id":"1416886236","filename":"file2"},{"photo_id":"1416886238","filename":"file4"},{"photo_id":"1416886235","filename":"file1"},{"photo_id":"1416886234","filename":"file0"},{"photo_id":"1416886237","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886238":["hashtag1","hashtag2"]},{"1416886235":["hashtag1","hashtag2"]},{"1416886240":["hashtag1","hashtag2"]},{"1416886237":["hashtag1","hashtag2"]},{"1416886234":["hashtag1","hashtag2"]},{"1416886236":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886238, 1416886235, 1416886240, 1416886237, 1416886234, 1416886236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09648656845093 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:08:03.254256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/18/image_07052026_05_19_05_30417.jpg', '/home/pi/Desktop/images/07052026/05/15/image_07052026_05_15_35_29290.jpg', '/home/pi/Desktop/images/07052026/05/14/image_07052026_05_15_06_30419.jpg', '/home/pi/Desktop/images/07052026/05/11/image_07052026_05_12_06_30278.jpg', '/home/pi/Desktop/images/07052026/05/11/image_07052026_05_11_35_30379.jpg', '/home/pi/Desktop/images/07052026/05/10/image_07052026_05_11_05_29250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/18/image_07052026_05_19_05_30417.jpg
/home/pi/Desktop/images/07052026/05/15/image_07052026_05_15_35_29290.jpg
/home/pi/Desktop/images/07052026/05/14/image_07052026_05_15_06_30419.jpg
/home/pi/Desktop/images/07052026/05/11/image_07052026_05_12_06_30278.jpg
/home/pi/Desktop/images/07052026/05/11/image_07052026_05_11_35_30379.jpg
/home/pi/Desktop/images/07052026/05/10/image_07052026_05_11_05_29250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886244","1416886241","1416886243","1416886246","1416886245","1416886242"],"photo_ids_order":["1416886241","1416886242","1416886243","1416886244","1416886245","1416886246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed7d7206999a07ddeb3513945277c079.jpg","text":"TemporaryFile(/tmp/multipartBody2008048486697578189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_12_06_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cdbb2297ec88ee5ce0962f1399725903.jpg","text":"TemporaryFile(/tmp/multipartBody1851034122988611471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_19_05_30417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76cb11e97704b71763b2ea4cfb0e921e.jpg","text":"TemporaryFile(/tmp/multipartBody4418218472600441172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_15_06_30419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96120d15b9c7b70a28ac2f7c44069cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4076923229865920918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_11_05_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8fd3725f04464b490653be7ba33a80f0.jpg","text":"TemporaryFile(/tmp/multipartBody4467912539275301710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_11_35_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9d93ec796a87fd78a968f157e3f989f.jpg","text":"TemporaryFile(/tmp/multipartBody3940660365107697736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512146548,"filename":"image_07052026_05_15_35_29290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886243","file1":"1416886242","file0":"1416886241","file4":"1416886245","file5":"1416886246","file3":"1416886244"},"map_files_photo_id_array":[{"photo_id":"1416886246","filename":"file5"},{"photo_id":"1416886243","filename":"file2"},{"photo_id":"1416886245","filename":"file4"},{"photo_id":"1416886242","filename":"file1"},{"photo_id":"1416886241","filename":"file0"},{"photo_id":"1416886244","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886244":["hashtag1","hashtag2"]},{"1416886241":["hashtag1","hashtag2"]},{"1416886243":["hashtag1","hashtag2"]},{"1416886246":["hashtag1","hashtag2"]},{"1416886245":["hashtag1","hashtag2"]},{"1416886242":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886244, 1416886241, 1416886243, 1416886246, 1416886245, 1416886242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75292611122131 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:09:04.036258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/03/image_11052026_17_03_44_30229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/03/image_11052026_17_03_44_30229.jpg
2026-05-11 17:09:04.278758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/03/image_11052026_17_03_44_30229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/03/image_11052026_17_03_44_30229.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1832926273345947 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886248"],"photo_id":"1416886248","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13c363c23d3df77174eb55418407de97.jpg","text":"TemporaryFile(/tmp/multipartBody683455523458444488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512205503,"filename":"image_11052026_17_03_44_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886248"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886248"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.272951364517212 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:10:03.803597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/10/image_07052026_05_10_36_30324.jpg', '/home/pi/Desktop/images/07052026/05/09/image_07052026_05_10_05_30412.jpg', '/home/pi/Desktop/images/07052026/05/09/image_07052026_05_09_35_29372.jpg', '/home/pi/Desktop/images/07052026/05/08/image_07052026_05_09_06_30329.jpg', '/home/pi/Desktop/images/07052026/05/07/image_07052026_05_07_36_30317.jpg', '/home/pi/Desktop/images/07052026/05/06/image_07052026_05_07_05_30388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/10/image_07052026_05_10_36_30324.jpg
/home/pi/Desktop/images/07052026/05/09/image_07052026_05_10_05_30412.jpg
/home/pi/Desktop/images/07052026/05/09/image_07052026_05_09_35_29372.jpg
/home/pi/Desktop/images/07052026/05/08/image_07052026_05_09_06_30329.jpg
/home/pi/Desktop/images/07052026/05/07/image_07052026_05_07_36_30317.jpg
/home/pi/Desktop/images/07052026/05/06/image_07052026_05_07_05_30388.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886250","1416886253","1416886255","1416886252","1416886251","1416886254"],"photo_ids_order":["1416886250","1416886251","1416886252","1416886253","1416886254","1416886255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47b0afa22470eca409712fe565826b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8007039250332357433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_10_36_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8771c382d6636d0e5296a89536bc8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4544839230442793495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_09_06_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/214ec5ad7a66fd385e685f3a75be0b30.jpg","text":"TemporaryFile(/tmp/multipartBody1681986271468860693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_07_05_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b57f4ab693db17c45d1e4dcc41cf1e9.jpg","text":"TemporaryFile(/tmp/multipartBody3797680969366766383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_09_35_29372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62d702a75e818bfd9e101782e8424202.jpg","text":"TemporaryFile(/tmp/multipartBody7627507245763615746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_10_05_30412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed34cef558f85afc8fda51c6c1333f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8496225562803085348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512267533,"filename":"image_07052026_05_07_36_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886252","file1":"1416886251","file0":"1416886250","file4":"1416886254","file5":"1416886255","file3":"1416886253"},"map_files_photo_id_array":[{"photo_id":"1416886255","filename":"file5"},{"photo_id":"1416886252","filename":"file2"},{"photo_id":"1416886254","filename":"file4"},{"photo_id":"1416886251","filename":"file1"},{"photo_id":"1416886250","filename":"file0"},{"photo_id":"1416886253","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886250":["hashtag1","hashtag2"]},{"1416886253":["hashtag1","hashtag2"]},{"1416886255":["hashtag1","hashtag2"]},{"1416886252":["hashtag1","hashtag2"]},{"1416886251":["hashtag1","hashtag2"]},{"1416886254":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886250, 1416886253, 1416886255, 1416886252, 1416886251, 1416886254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12539982795715 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:11:04.312612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/06/image_07052026_05_06_35_29328.jpg', '/home/pi/Desktop/images/07052026/05/05/image_07052026_05_06_06_30463.jpg', '/home/pi/Desktop/images/07052026/05/05/image_07052026_05_05_35_29385.jpg', '/home/pi/Desktop/images/07052026/05/04/image_07052026_05_05_06_30375.jpg', '/home/pi/Desktop/images/07052026/05/03/image_07052026_05_03_35_29189.jpg', '/home/pi/Desktop/images/07052026/05/02/image_07052026_05_03_06_30323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/06/image_07052026_05_06_35_29328.jpg
/home/pi/Desktop/images/07052026/05/05/image_07052026_05_06_06_30463.jpg
/home/pi/Desktop/images/07052026/05/05/image_07052026_05_05_35_29385.jpg
/home/pi/Desktop/images/07052026/05/04/image_07052026_05_05_06_30375.jpg
/home/pi/Desktop/images/07052026/05/03/image_07052026_05_03_35_29189.jpg
/home/pi/Desktop/images/07052026/05/02/image_07052026_05_03_06_30323.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.7403666973114014 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:12:03.170178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/06/image_07052026_05_06_35_29328.jpg', '/home/pi/Desktop/images/07052026/05/05/image_07052026_05_06_06_30463.jpg', '/home/pi/Desktop/images/07052026/05/05/image_07052026_05_05_35_29385.jpg', '/home/pi/Desktop/images/07052026/05/04/image_07052026_05_05_06_30375.jpg', '/home/pi/Desktop/images/07052026/05/03/image_07052026_05_03_35_29189.jpg', '/home/pi/Desktop/images/07052026/05/02/image_07052026_05_03_06_30323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/06/image_07052026_05_06_35_29328.jpg
/home/pi/Desktop/images/07052026/05/05/image_07052026_05_06_06_30463.jpg
/home/pi/Desktop/images/07052026/05/05/image_07052026_05_05_35_29385.jpg
/home/pi/Desktop/images/07052026/05/04/image_07052026_05_05_06_30375.jpg
/home/pi/Desktop/images/07052026/05/03/image_07052026_05_03_35_29189.jpg
/home/pi/Desktop/images/07052026/05/02/image_07052026_05_03_06_30323.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886271","1416886273","1416886270","1416886272","1416886269","1416886274"],"photo_ids_order":["1416886269","1416886270","1416886271","1416886272","1416886273","1416886274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8907168f96665edebe3c4b08569f603c.jpg","text":"TemporaryFile(/tmp/multipartBody416831411726566419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_05_35_29385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/492c29e87581e5994b55378227cb8f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1723610118077049370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_03_35_29189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c356494944139918c3125b552eb1b85.jpg","text":"TemporaryFile(/tmp/multipartBody8201583723410535673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_06_06_30463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00312f357ff8f6f2be52ced7034544fa.jpg","text":"TemporaryFile(/tmp/multipartBody5831041942029223705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_05_06_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c7b00d7c9083f5adf34491c189449e8.jpg","text":"TemporaryFile(/tmp/multipartBody3443395656380501761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_06_35_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/856e900e46ea6f6f50844b619177ec40.jpg","text":"TemporaryFile(/tmp/multipartBody7134203103670250557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512387430,"filename":"image_07052026_05_03_06_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886271","file1":"1416886270","file0":"1416886269","file4":"1416886273","file5":"1416886274","file3":"1416886272"},"map_files_photo_id_array":[{"photo_id":"1416886274","filename":"file5"},{"photo_id":"1416886271","filename":"file2"},{"photo_id":"1416886273","filename":"file4"},{"photo_id":"1416886270","filename":"file1"},{"photo_id":"1416886269","filename":"file0"},{"photo_id":"1416886272","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886271":["hashtag1","hashtag2"]},{"1416886273":["hashtag1","hashtag2"]},{"1416886270":["hashtag1","hashtag2"]},{"1416886272":["hashtag1","hashtag2"]},{"1416886269":["hashtag1","hashtag2"]},{"1416886274":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886271, 1416886273, 1416886270, 1416886272, 1416886269, 1416886274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19554305076599 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:13:03.707921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/12/image_11052026_17_13_14_30246.jpg', '/home/pi/Desktop/images/11052026/17/07/image_11052026_17_08_14_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/12/image_11052026_17_13_14_30246.jpg
/home/pi/Desktop/images/11052026/17/07/image_11052026_17_08_14_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886277","1416886276"],"photo_ids_order":["1416886276","1416886277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c750380d4cf98fb238760a940d2dc6d8.jpg","text":"TemporaryFile(/tmp/multipartBody7086216820427102439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512445415,"filename":"image_11052026_17_08_14_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb0947e7ac6c1c3ae8e71bb20046a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody9109662068080691390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512445415,"filename":"image_11052026_17_13_14_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416886277","file0":"1416886276"},"map_files_photo_id_array":[{"photo_id":"1416886277","filename":"file1"},{"photo_id":"1416886276","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886277":["hashtag1","hashtag2"]},{"1416886276":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886277, 1416886276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.676172971725464 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:14:03.129617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/19/image_07052026_03_20_05_30396.jpg', '/home/pi/Desktop/images/07052026/03/22/image_07052026_03_22_35_29382.jpg', '/home/pi/Desktop/images/07052026/03/23/image_07052026_03_23_36_30369.jpg', '/home/pi/Desktop/images/07052026/03/24/image_07052026_03_24_35_30349.jpg', '/home/pi/Desktop/images/07052026/03/26/image_07052026_03_27_05_29259.jpg', '/home/pi/Desktop/images/07052026/03/28/image_07052026_03_28_35_29361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/19/image_07052026_03_20_05_30396.jpg
/home/pi/Desktop/images/07052026/03/22/image_07052026_03_22_35_29382.jpg
/home/pi/Desktop/images/07052026/03/23/image_07052026_03_23_36_30369.jpg
/home/pi/Desktop/images/07052026/03/24/image_07052026_03_24_35_30349.jpg
/home/pi/Desktop/images/07052026/03/26/image_07052026_03_27_05_29259.jpg
/home/pi/Desktop/images/07052026/03/28/image_07052026_03_28_35_29361.jpg
2026-05-11 17:14:03.323664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/05/02/image_07052026_05_02_35_30387.jpg', '/home/pi/Desktop/images/07052026/05/01/image_07052026_05_02_05_29254.jpg', '/home/pi/Desktop/images/07052026/05/01/image_07052026_05_01_36_30497.jpg', '/home/pi/Desktop/images/07052026/05/00/image_07052026_05_00_35_29288.jpg', '/home/pi/Desktop/images/07052026/04/59/image_07052026_05_00_06_30347.jpg', '/home/pi/Desktop/images/07052026/04/59/image_07052026_04_59_35_29347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/05/02/image_07052026_05_02_35_30387.jpg
/home/pi/Desktop/images/07052026/05/01/image_07052026_05_02_05_29254.jpg
/home/pi/Desktop/images/07052026/05/01/image_07052026_05_01_36_30497.jpg
/home/pi/Desktop/images/07052026/05/00/image_07052026_05_00_35_29288.jpg
/home/pi/Desktop/images/07052026/04/59/image_07052026_05_00_06_30347.jpg
/home/pi/Desktop/images/07052026/04/59/image_07052026_04_59_35_29347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886283","1416886286","1416886291","1416886285","1416886288","1416886280"],"photo_ids_order":["1416886280","1416886283","1416886285","1416886286","1416886288","1416886291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92acd0cdd9b374ed7cf89f6af6bf530e.jpg","text":"TemporaryFile(/tmp/multipartBody6444112627254650062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_05_02_05_29254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d02ba1759558d99206e8a124f5395595.jpg","text":"TemporaryFile(/tmp/multipartBody7977169456044985868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_05_00_35_29288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67e46b666d190d3a2f8899373355e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1948339745292891265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_04_59_35_29347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db9097fc54ac104004b6d43f885f0beb.jpg","text":"TemporaryFile(/tmp/multipartBody8386725631312579228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_05_01_36_30497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d859cf6fd97976c9eb97fccc4aca6f66.jpg","text":"TemporaryFile(/tmp/multipartBody3258714306814913590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_05_00_06_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/acc2d272ccde7c9d384a8d6b4408a071.jpg","text":"TemporaryFile(/tmp/multipartBody7108827908533844162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512509534,"filename":"image_07052026_05_02_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886285","file1":"1416886283","file0":"1416886280","file4":"1416886288","file5":"1416886291","file3":"1416886286"},"map_files_photo_id_array":[{"photo_id":"1416886291","filename":"file5"},{"photo_id":"1416886285","filename":"file2"},{"photo_id":"1416886288","filename":"file4"},{"photo_id":"1416886283","filename":"file1"},{"photo_id":"1416886280","filename":"file0"},{"photo_id":"1416886286","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886283":["hashtag1","hashtag2"]},{"1416886286":["hashtag1","hashtag2"]},{"1416886291":["hashtag1","hashtag2"]},{"1416886285":["hashtag1","hashtag2"]},{"1416886288":["hashtag1","hashtag2"]},{"1416886280":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886283, 1416886286, 1416886291, 1416886285, 1416886288, 1416886280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.44843006134033 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886279","1416886282","1416886284","1416886287","1416886292","1416886289"],"photo_ids_order":["1416886279","1416886282","1416886284","1416886287","1416886289","1416886292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09c31d75ce6a563d1b33da169ee74049.jpg","text":"TemporaryFile(/tmp/multipartBody1431769859087579241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_20_05_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1576bdb6748d7c6b1515e8ce83dadab8.jpg","text":"TemporaryFile(/tmp/multipartBody311878774873758772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_22_35_29382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8242dc1bc67bbf671260adc483e27db6.jpg","text":"TemporaryFile(/tmp/multipartBody7851445882006774038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_23_36_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20d96bb94c08a37000043b1c9456b83d.jpg","text":"TemporaryFile(/tmp/multipartBody626634517509405457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_24_35_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/717ae12cb44cf968041d9044a765b555.jpg","text":"TemporaryFile(/tmp/multipartBody6405666350363778944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_28_35_29361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/586f72fa5931a61319df64d6431a6644.jpg","text":"TemporaryFile(/tmp/multipartBody3536440226285148040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512508326,"filename":"image_07052026_03_27_05_29259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886284","file1":"1416886282","file0":"1416886279","file4":"1416886289","file5":"1416886292","file3":"1416886287"},"map_files_photo_id_array":[{"photo_id":"1416886292","filename":"file5"},{"photo_id":"1416886284","filename":"file2"},{"photo_id":"1416886289","filename":"file4"},{"photo_id":"1416886282","filename":"file1"},{"photo_id":"1416886279","filename":"file0"},{"photo_id":"1416886287","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886279":["hashtag1","hashtag2"]},{"1416886282":["hashtag1","hashtag2"]},{"1416886284":["hashtag1","hashtag2"]},{"1416886287":["hashtag1","hashtag2"]},{"1416886292":["hashtag1","hashtag2"]},{"1416886289":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886279, 1416886282, 1416886284, 1416886287, 1416886292, 1416886289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.36919379234314 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:15:03.806328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/13/image_11052026_17_14_14_29216.jpg', '/home/pi/Desktop/images/11052026/17/13/image_11052026_17_13_44_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/13/image_11052026_17_14_14_29216.jpg
/home/pi/Desktop/images/11052026/17/13/image_11052026_17_13_44_30305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886294","1416886295"],"photo_ids_order":["1416886294","1416886295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e68476ee745f6eaf6437a4fcb2fcab9.jpg","text":"TemporaryFile(/tmp/multipartBody3344858807771547216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512565478,"filename":"image_11052026_17_14_14_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ec0ec9f127429ef22d8c47a08a41b14.jpg","text":"TemporaryFile(/tmp/multipartBody3671642387021913581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512565478,"filename":"image_11052026_17_13_44_30305.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416886295","file0":"1416886294"},"map_files_photo_id_array":[{"photo_id":"1416886295","filename":"file1"},{"photo_id":"1416886294","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416886294":["hashtag1","hashtag2"]},{"1416886295":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416886294, 1416886295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.86902904510498 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:16:03.389270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/53/image_07052026_04_53_35_30284.jpg', '/home/pi/Desktop/images/07052026/04/52/image_07052026_04_53_05_29357.jpg', '/home/pi/Desktop/images/07052026/04/51/image_07052026_04_52_05_30411.jpg', '/home/pi/Desktop/images/07052026/04/51/image_07052026_04_51_35_29275.jpg', '/home/pi/Desktop/images/07052026/04/50/image_07052026_04_51_06_30341.jpg', '/home/pi/Desktop/images/07052026/04/50/image_07052026_04_50_35_30328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/53/image_07052026_04_53_35_30284.jpg
/home/pi/Desktop/images/07052026/04/52/image_07052026_04_53_05_29357.jpg
/home/pi/Desktop/images/07052026/04/51/image_07052026_04_52_05_30411.jpg
/home/pi/Desktop/images/07052026/04/51/image_07052026_04_51_35_29275.jpg
/home/pi/Desktop/images/07052026/04/50/image_07052026_04_51_06_30341.jpg
/home/pi/Desktop/images/07052026/04/50/image_07052026_04_50_35_30328.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886298","1416886297","1416886301","1416886300","1416886299","1416886302"],"photo_ids_order":["1416886297","1416886298","1416886299","1416886300","1416886301","1416886302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/666b95ab468d7cb7e7dcf0cced32a106.jpg","text":"TemporaryFile(/tmp/multipartBody1926481028628608012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_53_05_29357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77b8772da25014e15f8ce4c7c4b8593c.jpg","text":"TemporaryFile(/tmp/multipartBody3226855336380036272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_53_35_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6170b12e200ad4b5f6e2c456c5a3e27b.jpg","text":"TemporaryFile(/tmp/multipartBody3084237173074050244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_51_06_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7274d5dc822aee91eead4ea4386fca95.jpg","text":"TemporaryFile(/tmp/multipartBody4367938942118588688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_51_35_29275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38e752f3cf0196f31148bd77380aa3a9.jpg","text":"TemporaryFile(/tmp/multipartBody763909146127012644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_52_05_30411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fe58a4e92fe56d9d13a4967c643e2af.jpg","text":"TemporaryFile(/tmp/multipartBody5465229736617132718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512626825,"filename":"image_07052026_04_50_35_30328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886299","file1":"1416886298","file0":"1416886297","file4":"1416886301","file5":"1416886302","file3":"1416886300"},"map_files_photo_id_array":[{"photo_id":"1416886302","filename":"file5"},{"photo_id":"1416886299","filename":"file2"},{"photo_id":"1416886301","filename":"file4"},{"photo_id":"1416886298","filename":"file1"},{"photo_id":"1416886297","filename":"file0"},{"photo_id":"1416886300","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886298":["hashtag1","hashtag2"]},{"1416886297":["hashtag1","hashtag2"]},{"1416886301":["hashtag1","hashtag2"]},{"1416886300":["hashtag1","hashtag2"]},{"1416886299":["hashtag1","hashtag2"]},{"1416886302":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886298, 1416886297, 1416886301, 1416886300, 1416886299, 1416886302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20549178123474 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:17:03.714348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/48/image_07052026_04_48_35_29362.jpg', '/home/pi/Desktop/images/07052026/04/47/image_07052026_04_48_05_30364.jpg', '/home/pi/Desktop/images/07052026/04/40/image_07052026_04_40_35_29350.jpg', '/home/pi/Desktop/images/07052026/04/35/image_07052026_04_36_05_30360.jpg', '/home/pi/Desktop/images/07052026/04/34/image_07052026_04_35_06_30332.jpg', '/home/pi/Desktop/images/07052026/04/34/image_07052026_04_34_35_30367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/48/image_07052026_04_48_35_29362.jpg
/home/pi/Desktop/images/07052026/04/47/image_07052026_04_48_05_30364.jpg
/home/pi/Desktop/images/07052026/04/40/image_07052026_04_40_35_29350.jpg
/home/pi/Desktop/images/07052026/04/35/image_07052026_04_36_05_30360.jpg
/home/pi/Desktop/images/07052026/04/34/image_07052026_04_35_06_30332.jpg
/home/pi/Desktop/images/07052026/04/34/image_07052026_04_34_35_30367.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.9503800868988037 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:18:03.416442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/14/image_11052026_17_14_44_30276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/14/image_11052026_17_14_44_30276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886314"],"photo_id":"1416886314","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fadc039798fdc6eb8b46e8311cc821c3.jpg","text":"TemporaryFile(/tmp/multipartBody5825460089378628004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512744555,"filename":"image_11052026_17_14_44_30276.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416886314"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416886314"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.890601396560669 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:19:03.994981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/48/image_07052026_04_48_35_29362.jpg', '/home/pi/Desktop/images/07052026/04/47/image_07052026_04_48_05_30364.jpg', '/home/pi/Desktop/images/07052026/04/40/image_07052026_04_40_35_29350.jpg', '/home/pi/Desktop/images/07052026/04/35/image_07052026_04_36_05_30360.jpg', '/home/pi/Desktop/images/07052026/04/34/image_07052026_04_35_06_30332.jpg', '/home/pi/Desktop/images/07052026/04/34/image_07052026_04_34_35_30367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/48/image_07052026_04_48_35_29362.jpg
/home/pi/Desktop/images/07052026/04/47/image_07052026_04_48_05_30364.jpg
/home/pi/Desktop/images/07052026/04/40/image_07052026_04_40_35_29350.jpg
/home/pi/Desktop/images/07052026/04/35/image_07052026_04_36_05_30360.jpg
/home/pi/Desktop/images/07052026/04/34/image_07052026_04_35_06_30332.jpg
/home/pi/Desktop/images/07052026/04/34/image_07052026_04_34_35_30367.jpg
2026-05-11 17:19:04.175373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/28/image_07052026_03_29_05_30403.jpg', '/home/pi/Desktop/images/07052026/03/29/image_07052026_03_29_36_30437.jpg', '/home/pi/Desktop/images/07052026/03/29/image_07052026_03_30_05_29283.jpg', '/home/pi/Desktop/images/07052026/03/30/image_07052026_03_30_35_30350.jpg', '/home/pi/Desktop/images/07052026/03/31/image_07052026_03_31_35_29346.jpg', '/home/pi/Desktop/images/07052026/03/31/image_07052026_03_32_05_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/28/image_07052026_03_29_05_30403.jpg
/home/pi/Desktop/images/07052026/03/29/image_07052026_03_29_36_30437.jpg
/home/pi/Desktop/images/07052026/03/29/image_07052026_03_30_05_29283.jpg
/home/pi/Desktop/images/07052026/03/30/image_07052026_03_30_35_30350.jpg
/home/pi/Desktop/images/07052026/03/31/image_07052026_03_31_35_29346.jpg
/home/pi/Desktop/images/07052026/03/31/image_07052026_03_32_05_30305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886322","1416886324","1416886318","1416886326","1416886329","1416886320"],"photo_ids_order":["1416886318","1416886320","1416886322","1416886324","1416886326","1416886329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5a8b05a76c64370fee913f195078342.jpg","text":"TemporaryFile(/tmp/multipartBody3581965076467141350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_40_35_29350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d838bc8b5cf2ae37299198844fdf223a.jpg","text":"TemporaryFile(/tmp/multipartBody4743880631802967291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_36_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27582d21cab1223a52bad7946474ad49.jpg","text":"TemporaryFile(/tmp/multipartBody1086379709816371181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_48_35_29362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23f5868ac8fcf704eb230ad32e157e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8839358085494407433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_35_06_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/005c1243369e23a0a8e5af63ae0acabf.jpg","text":"TemporaryFile(/tmp/multipartBody635582208980542701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_34_35_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f7fcde07f19efb6e2f02325fdc02344.jpg","text":"TemporaryFile(/tmp/multipartBody1330821375964378209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512812260,"filename":"image_07052026_04_48_05_30364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886322","file1":"1416886320","file0":"1416886318","file4":"1416886326","file5":"1416886329","file3":"1416886324"},"map_files_photo_id_array":[{"photo_id":"1416886329","filename":"file5"},{"photo_id":"1416886322","filename":"file2"},{"photo_id":"1416886326","filename":"file4"},{"photo_id":"1416886320","filename":"file1"},{"photo_id":"1416886318","filename":"file0"},{"photo_id":"1416886324","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886322":["hashtag1","hashtag2"]},{"1416886324":["hashtag1","hashtag2"]},{"1416886318":["hashtag1","hashtag2"]},{"1416886326":["hashtag1","hashtag2"]},{"1416886329":["hashtag1","hashtag2"]},{"1416886320":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886322, 1416886324, 1416886318, 1416886326, 1416886329, 1416886320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.55495476722717 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886325","1416886319","1416886328","1416886321","1416886330","1416886323"],"photo_ids_order":["1416886319","1416886321","1416886323","1416886325","1416886328","1416886330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af81b56e29f5200754258fdb38f989c5.jpg","text":"TemporaryFile(/tmp/multipartBody3932077823440221633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_30_35_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8b486fcaae54d12db7cfe3b5b2693f8.jpg","text":"TemporaryFile(/tmp/multipartBody6935370986537012418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_29_05_30403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b142cf7a018df253a021c6ce172d57e.jpg","text":"TemporaryFile(/tmp/multipartBody1751325140441251072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_31_35_29346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ee76cfb859648451990dc5e433f7539.jpg","text":"TemporaryFile(/tmp/multipartBody1361577503471681782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_29_36_30437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/781a6aa29e44492a0ee15918ab65bf98.jpg","text":"TemporaryFile(/tmp/multipartBody2902298828507752341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_32_05_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36713f49e5d6f5e00a1ea4b1343ad4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8753273671697690671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512814236,"filename":"image_07052026_03_30_05_29283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886323","file1":"1416886321","file0":"1416886319","file4":"1416886328","file5":"1416886330","file3":"1416886325"},"map_files_photo_id_array":[{"photo_id":"1416886330","filename":"file5"},{"photo_id":"1416886323","filename":"file2"},{"photo_id":"1416886328","filename":"file4"},{"photo_id":"1416886321","filename":"file1"},{"photo_id":"1416886319","filename":"file0"},{"photo_id":"1416886325","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886325":["hashtag1","hashtag2"]},{"1416886319":["hashtag1","hashtag2"]},{"1416886328":["hashtag1","hashtag2"]},{"1416886321":["hashtag1","hashtag2"]},{"1416886330":["hashtag1","hashtag2"]},{"1416886323":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886325, 1416886319, 1416886328, 1416886321, 1416886330, 1416886323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.22596597671509 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:20:03.850428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/33/image_07052026_04_34_05_29289.jpg', '/home/pi/Desktop/images/07052026/04/33/image_07052026_04_33_36_30388.jpg', '/home/pi/Desktop/images/07052026/04/25/image_07052026_04_26_05_30376.jpg', '/home/pi/Desktop/images/07052026/04/22/image_07052026_04_23_05_30337.jpg', '/home/pi/Desktop/images/07052026/04/20/image_07052026_04_20_36_30372.jpg', '/home/pi/Desktop/images/07052026/04/19/image_07052026_04_20_05_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/33/image_07052026_04_34_05_29289.jpg
/home/pi/Desktop/images/07052026/04/33/image_07052026_04_33_36_30388.jpg
/home/pi/Desktop/images/07052026/04/25/image_07052026_04_26_05_30376.jpg
/home/pi/Desktop/images/07052026/04/22/image_07052026_04_23_05_30337.jpg
/home/pi/Desktop/images/07052026/04/20/image_07052026_04_20_36_30372.jpg
/home/pi/Desktop/images/07052026/04/19/image_07052026_04_20_05_30305.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886331","1416886334","1416886333","1416886336","1416886332","1416886335"],"photo_ids_order":["1416886331","1416886332","1416886333","1416886334","1416886335","1416886336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ae8c299c51c5698388bac63f59ae0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8145867975184060698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_34_05_29289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5cbf654bfe09930e90e55ff9c7a24ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4473533905600219908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_23_05_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/044f2a99067020321f3f80382390ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody1524894365364734539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_26_05_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ecd9c2e55fa012f719c7df83ef30426.jpg","text":"TemporaryFile(/tmp/multipartBody3860167409202318786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_20_05_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec3692adcf56cce07de46eb3e2ba978e.jpg","text":"TemporaryFile(/tmp/multipartBody4855881865118139585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_33_36_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b1ecc2bc2e81fe8c562c06b9f93eab7.jpg","text":"TemporaryFile(/tmp/multipartBody2889447345309226513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778512867759,"filename":"image_07052026_04_20_36_30372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886333","file1":"1416886332","file0":"1416886331","file4":"1416886335","file5":"1416886336","file3":"1416886334"},"map_files_photo_id_array":[{"photo_id":"1416886336","filename":"file5"},{"photo_id":"1416886333","filename":"file2"},{"photo_id":"1416886335","filename":"file4"},{"photo_id":"1416886332","filename":"file1"},{"photo_id":"1416886331","filename":"file0"},{"photo_id":"1416886334","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886331":["hashtag1","hashtag2"]},{"1416886334":["hashtag1","hashtag2"]},{"1416886333":["hashtag1","hashtag2"]},{"1416886336":["hashtag1","hashtag2"]},{"1416886332":["hashtag1","hashtag2"]},{"1416886335":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886331, 1416886334, 1416886333, 1416886336, 1416886332, 1416886335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.78126525878906 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:22:03.767865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/19/image_07052026_04_19_35_30280.jpg', '/home/pi/Desktop/images/07052026/04/18/image_07052026_04_18_36_30380.jpg', '/home/pi/Desktop/images/07052026/04/17/image_07052026_04_18_05_30375.jpg', '/home/pi/Desktop/images/07052026/04/16/image_07052026_04_17_06_30360.jpg', '/home/pi/Desktop/images/07052026/04/14/image_07052026_04_15_05_30330.jpg', '/home/pi/Desktop/images/07052026/04/10/image_07052026_04_10_35_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/19/image_07052026_04_19_35_30280.jpg
/home/pi/Desktop/images/07052026/04/18/image_07052026_04_18_36_30380.jpg
/home/pi/Desktop/images/07052026/04/17/image_07052026_04_18_05_30375.jpg
/home/pi/Desktop/images/07052026/04/16/image_07052026_04_17_06_30360.jpg
/home/pi/Desktop/images/07052026/04/14/image_07052026_04_15_05_30330.jpg
/home/pi/Desktop/images/07052026/04/10/image_07052026_04_10_35_30228.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886361","1416886358","1416886351","1416886360","1416886362","1416886359"],"photo_ids_order":["1416886351","1416886358","1416886359","1416886360","1416886361","1416886362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae7f0833759ffed8719c47f8ca0f183f.jpg","text":"TemporaryFile(/tmp/multipartBody4779805435588998767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_15_05_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c323bfc3c534e0b297351cd8f030607c.jpg","text":"TemporaryFile(/tmp/multipartBody8895379182995115318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_18_36_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d91ec0e19e773c7f12286afa545e2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3070282973241044185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_19_35_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44114ba201ba3db989239c10850ff966.jpg","text":"TemporaryFile(/tmp/multipartBody6951768705494160326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_17_06_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/944c045fa8f1953a8dbbb73b0d6c0348.jpg","text":"TemporaryFile(/tmp/multipartBody6042835619936057758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_10_35_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59fe7b2da0285e06a64841306a4dc9f6.jpg","text":"TemporaryFile(/tmp/multipartBody106915432520808032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513009362,"filename":"image_07052026_04_18_05_30375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886359","file1":"1416886358","file0":"1416886351","file4":"1416886361","file5":"1416886362","file3":"1416886360"},"map_files_photo_id_array":[{"photo_id":"1416886362","filename":"file5"},{"photo_id":"1416886359","filename":"file2"},{"photo_id":"1416886361","filename":"file4"},{"photo_id":"1416886358","filename":"file1"},{"photo_id":"1416886351","filename":"file0"},{"photo_id":"1416886360","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886361":["hashtag1","hashtag2"]},{"1416886358":["hashtag1","hashtag2"]},{"1416886351":["hashtag1","hashtag2"]},{"1416886360":["hashtag1","hashtag2"]},{"1416886362":["hashtag1","hashtag2"]},{"1416886359":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886361, 1416886358, 1416886351, 1416886360, 1416886362, 1416886359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.25380849838257 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:24:03.812268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/04/09/image_07052026_04_10_05_29206.jpg', '/home/pi/Desktop/images/07052026/04/09/image_07052026_04_09_36_30376.jpg', '/home/pi/Desktop/images/07052026/04/08/image_07052026_04_08_35_29266.jpg', '/home/pi/Desktop/images/07052026/04/05/image_07052026_04_05_35_29289.jpg', '/home/pi/Desktop/images/07052026/04/00/image_07052026_04_01_06_30395.jpg', '/home/pi/Desktop/images/07052026/03/58/image_07052026_03_58_36_30416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/04/09/image_07052026_04_10_05_29206.jpg
/home/pi/Desktop/images/07052026/04/09/image_07052026_04_09_36_30376.jpg
/home/pi/Desktop/images/07052026/04/08/image_07052026_04_08_35_29266.jpg
/home/pi/Desktop/images/07052026/04/05/image_07052026_04_05_35_29289.jpg
/home/pi/Desktop/images/07052026/04/00/image_07052026_04_01_06_30395.jpg
/home/pi/Desktop/images/07052026/03/58/image_07052026_03_58_36_30416.jpg
2026-05-11 17:24:03.993590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/32/image_07052026_03_32_36_30238.jpg', '/home/pi/Desktop/images/07052026/03/32/image_07052026_03_33_05_29194.jpg', '/home/pi/Desktop/images/07052026/03/33/image_07052026_03_33_35_30388.jpg', '/home/pi/Desktop/images/07052026/03/33/image_07052026_03_34_06_30312.jpg', '/home/pi/Desktop/images/07052026/03/34/image_07052026_03_34_35_29319.jpg', '/home/pi/Desktop/images/07052026/03/34/image_07052026_03_35_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/32/image_07052026_03_32_36_30238.jpg
/home/pi/Desktop/images/07052026/03/32/image_07052026_03_33_05_29194.jpg
/home/pi/Desktop/images/07052026/03/33/image_07052026_03_33_35_30388.jpg
/home/pi/Desktop/images/07052026/03/33/image_07052026_03_34_06_30312.jpg
/home/pi/Desktop/images/07052026/03/34/image_07052026_03_34_35_29319.jpg
/home/pi/Desktop/images/07052026/03/34/image_07052026_03_35_05_30363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886406","1416886409","1416886402","1416886413","1416886410","1416886404"],"photo_ids_order":["1416886402","1416886404","1416886406","1416886409","1416886410","1416886413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5ef60e50ce8e1815e1c01090c454a88.jpg","text":"TemporaryFile(/tmp/multipartBody6568648328781398823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_04_08_35_29266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56e45a7398d0c0bf1cf44e7fcf050ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1271689004754361277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_04_05_35_29289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dcd9f10c8721f5730581e545fe0a1fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4901477866728738688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_04_10_05_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da507de58b00a6d43009f9232000c62e.jpg","text":"TemporaryFile(/tmp/multipartBody4693900381919954342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_03_58_36_30416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/efdc754fa8e4dc24b760d3cbad1a22dd.jpg","text":"TemporaryFile(/tmp/multipartBody1729721355335842907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_04_01_06_30395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c547bad7a50433796af20ecaae82008.jpg","text":"TemporaryFile(/tmp/multipartBody3059709657966019178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513109942,"filename":"image_07052026_04_09_36_30376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886406","file1":"1416886404","file0":"1416886402","file4":"1416886410","file5":"1416886413","file3":"1416886409"},"map_files_photo_id_array":[{"photo_id":"1416886413","filename":"file5"},{"photo_id":"1416886406","filename":"file2"},{"photo_id":"1416886410","filename":"file4"},{"photo_id":"1416886404","filename":"file1"},{"photo_id":"1416886402","filename":"file0"},{"photo_id":"1416886409","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886406":["hashtag1","hashtag2"]},{"1416886409":["hashtag1","hashtag2"]},{"1416886402":["hashtag1","hashtag2"]},{"1416886413":["hashtag1","hashtag2"]},{"1416886410":["hashtag1","hashtag2"]},{"1416886404":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886406, 1416886409, 1416886402, 1416886413, 1416886410, 1416886404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60298490524292 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886403","1416886414","1416886411","1416886405","1416886408","1416886407"],"photo_ids_order":["1416886403","1416886405","1416886407","1416886408","1416886411","1416886414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c0ebeacf88343de0dd0543b56b9b363.jpg","text":"TemporaryFile(/tmp/multipartBody2380629025835905865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_32_36_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32df6acd11ab34a39ba9148265f0efb0.jpg","text":"TemporaryFile(/tmp/multipartBody6720199647201914195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_35_05_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf2255cd54efc7b47912c31dbaa85d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4799436712850942301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_34_35_29319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23dfaa8eea25d7cf7a9ae081b0d4e837.jpg","text":"TemporaryFile(/tmp/multipartBody6579677824826522622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_33_05_29194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/963707a4251a58b0f9d7756e85f74b97.jpg","text":"TemporaryFile(/tmp/multipartBody4355156244046865843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_34_06_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd2b5d927a89ad8a62fa053d67a49fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6909642405792977576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513110736,"filename":"image_07052026_03_33_35_30388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886407","file1":"1416886405","file0":"1416886403","file4":"1416886411","file5":"1416886414","file3":"1416886408"},"map_files_photo_id_array":[{"photo_id":"1416886414","filename":"file5"},{"photo_id":"1416886407","filename":"file2"},{"photo_id":"1416886411","filename":"file4"},{"photo_id":"1416886405","filename":"file1"},{"photo_id":"1416886403","filename":"file0"},{"photo_id":"1416886408","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886403":["hashtag1","hashtag2"]},{"1416886414":["hashtag1","hashtag2"]},{"1416886411":["hashtag1","hashtag2"]},{"1416886405":["hashtag1","hashtag2"]},{"1416886408":["hashtag1","hashtag2"]},{"1416886407":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886403, 1416886414, 1416886411, 1416886405, 1416886408, 1416886407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.77284240722656 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:25:04.184251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/56/image_07052026_03_57_06_30388.jpg', '/home/pi/Desktop/images/07052026/03/55/image_07052026_03_56_05_29302.jpg', '/home/pi/Desktop/images/07052026/03/55/image_07052026_03_55_36_30323.jpg', '/home/pi/Desktop/images/07052026/03/54/image_07052026_03_55_05_30300.jpg', '/home/pi/Desktop/images/07052026/03/54/image_07052026_03_54_35_29244.jpg', '/home/pi/Desktop/images/07052026/03/53/image_07052026_03_54_06_30378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/56/image_07052026_03_57_06_30388.jpg
/home/pi/Desktop/images/07052026/03/55/image_07052026_03_56_05_29302.jpg
/home/pi/Desktop/images/07052026/03/55/image_07052026_03_55_36_30323.jpg
/home/pi/Desktop/images/07052026/03/54/image_07052026_03_55_05_30300.jpg
/home/pi/Desktop/images/07052026/03/54/image_07052026_03_54_35_29244.jpg
/home/pi/Desktop/images/07052026/03/53/image_07052026_03_54_06_30378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416886424","1416886427","1416886421","1416886423","1416886425","1416886422"],"photo_ids_order":["1416886421","1416886422","1416886423","1416886424","1416886425","1416886427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04c8805be7f74651a9517b6d9b5a9bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5904137926599426876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_55_05_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f4039f2da465a099030c9be173706594.jpg","text":"TemporaryFile(/tmp/multipartBody1906600671784112909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_54_06_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/deebcaba40633624e8dab4a2ec013cdc.jpg","text":"TemporaryFile(/tmp/multipartBody706134603672962795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_57_06_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2d2340ed30b5ed51a0840d29541a158.jpg","text":"TemporaryFile(/tmp/multipartBody268250014881497494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_55_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/376fbeccd8fcb9f9a877a43d0994e06d.jpg","text":"TemporaryFile(/tmp/multipartBody1656112359095478135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_54_35_29244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9583b0dee87a5099203a365afbbe464.jpg","text":"TemporaryFile(/tmp/multipartBody732450289396231987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513168359,"filename":"image_07052026_03_56_05_29302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886423","file1":"1416886422","file0":"1416886421","file4":"1416886425","file5":"1416886427","file3":"1416886424"},"map_files_photo_id_array":[{"photo_id":"1416886427","filename":"file5"},{"photo_id":"1416886423","filename":"file2"},{"photo_id":"1416886425","filename":"file4"},{"photo_id":"1416886422","filename":"file1"},{"photo_id":"1416886421","filename":"file0"},{"photo_id":"1416886424","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416886424":["hashtag1","hashtag2"]},{"1416886427":["hashtag1","hashtag2"]},{"1416886421":["hashtag1","hashtag2"]},{"1416886423":["hashtag1","hashtag2"]},{"1416886425":["hashtag1","hashtag2"]},{"1416886422":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416886424, 1416886427, 1416886421, 1416886423, 1416886425, 1416886422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68340754508972 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:26:03.048906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/51/image_07052026_03_52_05_30314.jpg', '/home/pi/Desktop/images/07052026/03/50/image_07052026_03_50_35_30293.jpg', '/home/pi/Desktop/images/07052026/03/49/image_07052026_03_50_05_30332.jpg', '/home/pi/Desktop/images/07052026/03/48/image_07052026_03_48_35_30317.jpg', '/home/pi/Desktop/images/07052026/03/46/image_07052026_03_46_36_30362.jpg', '/home/pi/Desktop/images/07052026/03/45/image_07052026_03_46_05_30427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/51/image_07052026_03_52_05_30314.jpg
/home/pi/Desktop/images/07052026/03/50/image_07052026_03_50_35_30293.jpg
/home/pi/Desktop/images/07052026/03/49/image_07052026_03_50_05_30332.jpg
/home/pi/Desktop/images/07052026/03/48/image_07052026_03_48_35_30317.jpg
/home/pi/Desktop/images/07052026/03/46/image_07052026_03_46_36_30362.jpg
/home/pi/Desktop/images/07052026/03/45/image_07052026_03_46_05_30427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887266","1416887314","1416886429","1416886968","1416886656","1416886428"],"photo_ids_order":["1416886428","1416886429","1416886656","1416886968","1416887266","1416887314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92e1aa7d771a58f134093a98ab0f9a54.jpg","text":"TemporaryFile(/tmp/multipartBody3533620716874797277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_46_36_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c8d8c2232de4618a17a2aa33bcb3552.jpg","text":"TemporaryFile(/tmp/multipartBody1575488496996619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_46_05_30427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9dd9a9dc9cbcd82958715210891fd34f.jpg","text":"TemporaryFile(/tmp/multipartBody2209758379735501133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_50_35_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cddd7dc05ca6464c44e7a56ae72d65ac.jpg","text":"TemporaryFile(/tmp/multipartBody199574989837902851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_48_35_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a8715e4936ca6fff6ca4c07f6c4efa7.jpg","text":"TemporaryFile(/tmp/multipartBody7008942333202364065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_50_05_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cdde4b9e0974d838ad497cd677e729bd.jpg","text":"TemporaryFile(/tmp/multipartBody4950789238252963664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513227146,"filename":"image_07052026_03_52_05_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416886656","file1":"1416886429","file0":"1416886428","file4":"1416887266","file5":"1416887314","file3":"1416886968"},"map_files_photo_id_array":[{"photo_id":"1416887314","filename":"file5"},{"photo_id":"1416886656","filename":"file2"},{"photo_id":"1416887266","filename":"file4"},{"photo_id":"1416886429","filename":"file1"},{"photo_id":"1416886428","filename":"file0"},{"photo_id":"1416886968","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416887266":["hashtag1","hashtag2"]},{"1416887314":["hashtag1","hashtag2"]},{"1416886429":["hashtag1","hashtag2"]},{"1416886968":["hashtag1","hashtag2"]},{"1416886656":["hashtag1","hashtag2"]},{"1416886428":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416887266, 1416887314, 1416886429, 1416886968, 1416886656, 1416886428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38862729072571 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:27:03.717947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/45/image_07052026_03_45_35_30228.jpg', '/home/pi/Desktop/images/07052026/03/44/image_07052026_03_45_05_29155.jpg', '/home/pi/Desktop/images/07052026/03/43/image_07052026_03_44_05_30371.jpg', '/home/pi/Desktop/images/07052026/03/43/image_07052026_03_43_35_29345.jpg', '/home/pi/Desktop/images/07052026/03/42/image_07052026_03_42_35_30291.jpg', '/home/pi/Desktop/images/07052026/03/41/image_07052026_03_42_05_29214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/45/image_07052026_03_45_35_30228.jpg
/home/pi/Desktop/images/07052026/03/44/image_07052026_03_45_05_29155.jpg
/home/pi/Desktop/images/07052026/03/43/image_07052026_03_44_05_30371.jpg
/home/pi/Desktop/images/07052026/03/43/image_07052026_03_43_35_29345.jpg
/home/pi/Desktop/images/07052026/03/42/image_07052026_03_42_35_30291.jpg
/home/pi/Desktop/images/07052026/03/41/image_07052026_03_42_05_29214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887318","1416887320","1416887317","1416887319","1416887322","1416887316"],"photo_ids_order":["1416887316","1416887317","1416887318","1416887319","1416887320","1416887322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c24c024eb3e9e3ad6d1e335b856a192e.jpg","text":"TemporaryFile(/tmp/multipartBody6462641150027260145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_44_05_30371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/995c61c0006458787f7c37c611536d84.jpg","text":"TemporaryFile(/tmp/multipartBody251725522546250179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_42_35_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bfc52cb10e3ac53653aba2bffc2a3af.jpg","text":"TemporaryFile(/tmp/multipartBody735498057509685696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_45_05_29155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7068f30f6e028c514e339711bb6239be.jpg","text":"TemporaryFile(/tmp/multipartBody8721505967558092739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_43_35_29345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2918d4ba9349e8b565508a704a8ec8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4447677362507901333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_42_05_29214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e14055175ab9d5b7130b8bba379c8f76.jpg","text":"TemporaryFile(/tmp/multipartBody950873570032073285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513287905,"filename":"image_07052026_03_45_35_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416887318","file1":"1416887317","file0":"1416887316","file4":"1416887320","file5":"1416887322","file3":"1416887319"},"map_files_photo_id_array":[{"photo_id":"1416887322","filename":"file5"},{"photo_id":"1416887318","filename":"file2"},{"photo_id":"1416887320","filename":"file4"},{"photo_id":"1416887317","filename":"file1"},{"photo_id":"1416887316","filename":"file0"},{"photo_id":"1416887319","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416887318":["hashtag1","hashtag2"]},{"1416887320":["hashtag1","hashtag2"]},{"1416887317":["hashtag1","hashtag2"]},{"1416887319":["hashtag1","hashtag2"]},{"1416887322":["hashtag1","hashtag2"]},{"1416887316":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416887318, 1416887320, 1416887317, 1416887319, 1416887322, 1416887316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.716468811035156 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:28:03.455798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/17/image_11052026_17_17_43_29272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/17/image_11052026_17_17_43_29272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887728"],"photo_id":"1416887728","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8107234659fc58a5c06700e7925771d4.jpg","text":"TemporaryFile(/tmp/multipartBody186658959110685522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513344679,"filename":"image_11052026_17_17_43_29272.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416887728"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416887728"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.370318412780762 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:29:04.173577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/27/image_11052026_17_27_44_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/27/image_11052026_17_27_44_30312.jpg
2026-05-11 17:29:04.141923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/27/image_11052026_17_27_44_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/27/image_11052026_17_27_44_30312.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887756"],"photo_id":"1416887756","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58d615cabe128e3a105c0ef4bca01280.jpg","text":"TemporaryFile(/tmp/multipartBody7823137481384128167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513405801,"filename":"image_11052026_17_27_44_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416887756"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416887756"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.317654132843018 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887755"],"photo_id":"1416887755","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8c9e27f04697f8ab86a46435e4426a7.jpg","text":"TemporaryFile(/tmp/multipartBody2393515341769383555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513405603,"filename":"image_11052026_17_27_44_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416887755"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416887755"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.502874612808228 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:30:03.004611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/41/image_07052026_03_41_36_30347.jpg', '/home/pi/Desktop/images/07052026/03/40/image_07052026_03_41_05_30333.jpg', '/home/pi/Desktop/images/07052026/03/40/image_07052026_03_40_35_29316.jpg', '/home/pi/Desktop/images/07052026/03/39/image_07052026_03_40_06_30359.jpg', '/home/pi/Desktop/images/07052026/03/39/image_07052026_03_39_35_30387.jpg', '/home/pi/Desktop/images/07052026/03/38/image_07052026_03_39_05_29234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/41/image_07052026_03_41_36_30347.jpg
/home/pi/Desktop/images/07052026/03/40/image_07052026_03_41_05_30333.jpg
/home/pi/Desktop/images/07052026/03/40/image_07052026_03_40_35_29316.jpg
/home/pi/Desktop/images/07052026/03/39/image_07052026_03_40_06_30359.jpg
/home/pi/Desktop/images/07052026/03/39/image_07052026_03_39_35_30387.jpg
/home/pi/Desktop/images/07052026/03/38/image_07052026_03_39_05_29234.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887761","1416887764","1416887763","1416887766","1416887762","1416887765"],"photo_ids_order":["1416887761","1416887762","1416887763","1416887764","1416887765","1416887766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e35b6a043f1dd83ca93673f9da2498d.jpg","text":"TemporaryFile(/tmp/multipartBody1628692054885007872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_41_36_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5765c55ef60e262138e5ec63426ab179.jpg","text":"TemporaryFile(/tmp/multipartBody3087305161060488345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_40_06_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8915b2574154fa18352a5f0bfc03b20a.jpg","text":"TemporaryFile(/tmp/multipartBody1750994936637587679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_40_35_29316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac63c4f2ea59b5b4405156d915768245.jpg","text":"TemporaryFile(/tmp/multipartBody5307226087070048821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_39_05_29234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/039a3d232b881aa90f82b3c823f80d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6207325184063352151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_41_05_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/61f5d9a4c287b23690599f55eef2bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody4703441828513102441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513467335,"filename":"image_07052026_03_39_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416887763","file1":"1416887762","file0":"1416887761","file4":"1416887765","file5":"1416887766","file3":"1416887764"},"map_files_photo_id_array":[{"photo_id":"1416887766","filename":"file5"},{"photo_id":"1416887763","filename":"file2"},{"photo_id":"1416887765","filename":"file4"},{"photo_id":"1416887762","filename":"file1"},{"photo_id":"1416887761","filename":"file0"},{"photo_id":"1416887764","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416887761":["hashtag1","hashtag2"]},{"1416887764":["hashtag1","hashtag2"]},{"1416887763":["hashtag1","hashtag2"]},{"1416887766":["hashtag1","hashtag2"]},{"1416887762":["hashtag1","hashtag2"]},{"1416887765":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416887761, 1416887764, 1416887763, 1416887766, 1416887762, 1416887765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.96233677864075 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:31:04.546752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/27/image_11052026_17_28_14_30237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/27/image_11052026_17_28_14_30237.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887770"],"photo_id":"1416887770","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67f2beb146fb60cfb1a427dc5ff68cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5174745611706556598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513526240,"filename":"image_11052026_17_28_14_30237.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416887770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416887770"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.446889638900757 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:32:03.455194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/30/image_11052026_17_30_44_30270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/30/image_11052026_17_30_44_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416887776"],"photo_id":"1416887776","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9709a9cdc4fea8e2618769e64e7aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody6533782092788847168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513584935,"filename":"image_11052026_17_30_44_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416887776"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416887776"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.585386753082275 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:33:03.768515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg', '/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.574051856994629 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:34:03.725331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/32/image_11052026_17_32_44_30257.jpg', '/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg', '/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/32/image_11052026_17_32_44_30257.jpg
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.jpg
2026-05-11 17:34:04.020176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.jpg', '/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg', '/home/pi/Desktop/images/11052026/17/32/image_11052026_17_32_44_30257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_31_44_30222.jpg
/home/pi/Desktop/images/11052026/17/31/image_11052026_17_32_14_30303.jpg
/home/pi/Desktop/images/11052026/17/32/image_11052026_17_32_44_30257.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888412","1416888408","1416888410"],"photo_ids_order":["1416888408","1416888410","1416888412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/823149aebdec8c15bec12bb1d187eb75.jpg","text":"TemporaryFile(/tmp/multipartBody7769879393133926628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513706879,"filename":"image_11052026_17_31_44_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4492e7b2dada6a15975ac3d994dd152.jpg","text":"TemporaryFile(/tmp/multipartBody1199585938709833111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513706879,"filename":"image_11052026_17_32_44_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6145a4f4da39a393ec841cc8ac0f8869.jpg","text":"TemporaryFile(/tmp/multipartBody124571888810623399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513706879,"filename":"image_11052026_17_32_14_30303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888412","file1":"1416888410","file0":"1416888408"},"map_files_photo_id_array":[{"photo_id":"1416888412","filename":"file2"},{"photo_id":"1416888410","filename":"file1"},{"photo_id":"1416888408","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416888412":["hashtag1","hashtag2"]},{"1416888408":["hashtag1","hashtag2"]},{"1416888410":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416888412, 1416888408, 1416888410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.867531538009644 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888409","1416888411","1416888413"],"photo_ids_order":["1416888409","1416888411","1416888413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bcab840c255d2f02e85667fbb1be8a00.jpg","text":"TemporaryFile(/tmp/multipartBody5712202030855797686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513707330,"filename":"image_11052026_17_31_44_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d59fccaada4ac36a0a98553ab4d91d80.jpg","text":"TemporaryFile(/tmp/multipartBody6338718623942531884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513707330,"filename":"image_11052026_17_32_14_30303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d517cb98f5145697cccd540d76c939da.jpg","text":"TemporaryFile(/tmp/multipartBody7149688857304615864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513707330,"filename":"image_11052026_17_32_44_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888413","file1":"1416888411","file0":"1416888409"},"map_files_photo_id_array":[{"photo_id":"1416888413","filename":"file2"},{"photo_id":"1416888411","filename":"file1"},{"photo_id":"1416888409","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416888409":["hashtag1","hashtag2"]},{"1416888411":["hashtag1","hashtag2"]},{"1416888413":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416888409, 1416888411, 1416888413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.33413290977478 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:35:04.418102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/38/image_07052026_03_38_36_30256.jpg', '/home/pi/Desktop/images/07052026/03/37/image_07052026_03_38_05_30367.jpg', '/home/pi/Desktop/images/07052026/03/37/image_07052026_03_37_35_29293.jpg', '/home/pi/Desktop/images/07052026/03/36/image_07052026_03_37_06_30361.jpg', '/home/pi/Desktop/images/07052026/03/36/image_07052026_03_36_35_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/38/image_07052026_03_38_36_30256.jpg
/home/pi/Desktop/images/07052026/03/37/image_07052026_03_38_05_30367.jpg
/home/pi/Desktop/images/07052026/03/37/image_07052026_03_37_35_29293.jpg
/home/pi/Desktop/images/07052026/03/36/image_07052026_03_37_06_30361.jpg
/home/pi/Desktop/images/07052026/03/36/image_07052026_03_36_35_30331.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.9265313148498535 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:36:03.279788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
  port_id : 31051051
  datou_current_id : 4379895
in upload_from_sqlite, uploading in 31051051
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07052026/03/38/image_07052026_03_38_36_30256.jpg', '/home/pi/Desktop/images/07052026/03/37/image_07052026_03_38_05_30367.jpg', '/home/pi/Desktop/images/07052026/03/37/image_07052026_03_37_35_29293.jpg', '/home/pi/Desktop/images/07052026/03/36/image_07052026_03_37_06_30361.jpg', '/home/pi/Desktop/images/07052026/03/36/image_07052026_03_36_35_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379895&datou=0
/home/pi/Desktop/images/07052026/03/38/image_07052026_03_38_36_30256.jpg
/home/pi/Desktop/images/07052026/03/37/image_07052026_03_38_05_30367.jpg
/home/pi/Desktop/images/07052026/03/37/image_07052026_03_37_35_29293.jpg
/home/pi/Desktop/images/07052026/03/36/image_07052026_03_37_06_30361.jpg
/home/pi/Desktop/images/07052026/03/36/image_07052026_03_36_35_30331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888421","1416888424","1416888420","1416888423","1416888422"],"photo_ids_order":["1416888420","1416888421","1416888422","1416888423","1416888424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5233de701909f7a659f4767daf05d24.jpg","text":"TemporaryFile(/tmp/multipartBody8954216835263815006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513827454,"filename":"image_07052026_03_38_05_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de6b9d4a946b0ec45742ee08d640057a.jpg","text":"TemporaryFile(/tmp/multipartBody219578685685972570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513827454,"filename":"image_07052026_03_36_35_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b0b4f610d275723f6f9a623c58ec7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4530025127084918809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513827454,"filename":"image_07052026_03_38_36_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0665437288fb80f72cc2f0cb8aff344e.jpg","text":"TemporaryFile(/tmp/multipartBody7145606120264428180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513827454,"filename":"image_07052026_03_37_06_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/992b61def90ddd1a2a2d97df3165a002.jpg","text":"TemporaryFile(/tmp/multipartBody1606136832772169828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513827454,"filename":"image_07052026_03_37_35_29293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888422","file1":"1416888421","file0":"1416888420","file4":"1416888424","file3":"1416888423"},"map_files_photo_id_array":[{"photo_id":"1416888422","filename":"file2"},{"photo_id":"1416888424","filename":"file4"},{"photo_id":"1416888421","filename":"file1"},{"photo_id":"1416888420","filename":"file0"},{"photo_id":"1416888423","filename":"file3"}],"portfolio_id":31051051,"hashtag_by_photo_ids":[{"1416888421":["hashtag1","hashtag2"]},{"1416888424":["hashtag1","hashtag2"]},{"1416888420":["hashtag1","hashtag2"]},{"1416888423":["hashtag1","hashtag2"]},{"1416888422":["hashtag1","hashtag2"]}],"comms":"Portfolio 31051051 used, photo_id : ArrayBuffer(1416888421, 1416888424, 1416888420, 1416888423, 1416888422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.502787351608276 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:37:04.721508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_08052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 31053680, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778513885000}
4310
4380055
4310
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/59/image_08052026_23_59_36_30382.jpg', '/home/pi/Desktop/images/08052026/23/58/image_08052026_23_59_05_30316.jpg', '/home/pi/Desktop/images/08052026/23/58/image_08052026_23_58_35_30304.jpg', '/home/pi/Desktop/images/08052026/23/57/image_08052026_23_58_05_29381.jpg', '/home/pi/Desktop/images/08052026/23/56/image_08052026_23_56_36_30350.jpg', '/home/pi/Desktop/images/08052026/23/55/image_08052026_23_56_05_30411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/59/image_08052026_23_59_36_30382.jpg
/home/pi/Desktop/images/08052026/23/58/image_08052026_23_59_05_30316.jpg
/home/pi/Desktop/images/08052026/23/58/image_08052026_23_58_35_30304.jpg
/home/pi/Desktop/images/08052026/23/57/image_08052026_23_58_05_29381.jpg
/home/pi/Desktop/images/08052026/23/56/image_08052026_23_56_36_30350.jpg
/home/pi/Desktop/images/08052026/23/55/image_08052026_23_56_05_30411.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888430","1416888433","1416888427","1416888429","1416888426","1416888428"],"photo_ids_order":["1416888426","1416888427","1416888428","1416888429","1416888430","1416888433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd88831ffe820a87ec5ca669d7dfca8e.jpg","text":"TemporaryFile(/tmp/multipartBody1546813921656593059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_56_36_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d2ff670672443ddb9d6159ff3930796.jpg","text":"TemporaryFile(/tmp/multipartBody6972603538291705991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_56_05_30411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1b53c6947ababf3841bd112959b7b4a.jpg","text":"TemporaryFile(/tmp/multipartBody618296159400842827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_59_05_30316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc7143c0f84608af9cd66b9fd9462fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7970317497970831787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_58_05_29381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6bc808122d0847862bfcba9660412cb.jpg","text":"TemporaryFile(/tmp/multipartBody260174201766841726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_59_36_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4cb9650bab6ce6d424fc2f7e002879d.jpg","text":"TemporaryFile(/tmp/multipartBody5261642835871706599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513892121,"filename":"image_08052026_23_58_35_30304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888428","file1":"1416888427","file0":"1416888426","file4":"1416888430","file5":"1416888433","file3":"1416888429"},"map_files_photo_id_array":[{"photo_id":"1416888433","filename":"file5"},{"photo_id":"1416888428","filename":"file2"},{"photo_id":"1416888430","filename":"file4"},{"photo_id":"1416888427","filename":"file1"},{"photo_id":"1416888426","filename":"file0"},{"photo_id":"1416888429","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888430":["hashtag1","hashtag2"]},{"1416888433":["hashtag1","hashtag2"]},{"1416888427":["hashtag1","hashtag2"]},{"1416888429":["hashtag1","hashtag2"]},{"1416888426":["hashtag1","hashtag2"]},{"1416888428":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888430, 1416888433, 1416888427, 1416888429, 1416888426, 1416888428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57379722595215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:38:03.270916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/55/image_08052026_23_55_35_29341.jpg', '/home/pi/Desktop/images/08052026/23/54/image_08052026_23_55_06_30343.jpg', '/home/pi/Desktop/images/08052026/23/54/image_08052026_23_54_35_30279.jpg', '/home/pi/Desktop/images/08052026/23/53/image_08052026_23_54_05_30333.jpg', '/home/pi/Desktop/images/08052026/23/53/image_08052026_23_53_35_29180.jpg', '/home/pi/Desktop/images/08052026/23/45/image_08052026_23_46_05_29365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/55/image_08052026_23_55_35_29341.jpg
/home/pi/Desktop/images/08052026/23/54/image_08052026_23_55_06_30343.jpg
/home/pi/Desktop/images/08052026/23/54/image_08052026_23_54_35_30279.jpg
/home/pi/Desktop/images/08052026/23/53/image_08052026_23_54_05_30333.jpg
/home/pi/Desktop/images/08052026/23/53/image_08052026_23_53_35_29180.jpg
/home/pi/Desktop/images/08052026/23/45/image_08052026_23_46_05_29365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888460","1416888459","1416888450","1416888462","1416888461","1416888449"],"photo_ids_order":["1416888449","1416888450","1416888459","1416888460","1416888461","1416888462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e99dd4d64f2a63b73c7991d10ca06d60.jpg","text":"TemporaryFile(/tmp/multipartBody2162035014252352793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_54_05_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/060e644c09d0c933b92e31c4d2302a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8766958421785499718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_54_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2558173aa93144aeb67453e6f22637ed.jpg","text":"TemporaryFile(/tmp/multipartBody2344239545674192260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_55_06_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d373246c2fded2d17bd92c9c558b5da.jpg","text":"TemporaryFile(/tmp/multipartBody7268474297979306188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_46_05_29365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5504a625e5d7861663559eb0e52b8e71.jpg","text":"TemporaryFile(/tmp/multipartBody1130895895754502220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_53_35_29180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a0a4f8d565b2ca3fee5392d4dc550f9.jpg","text":"TemporaryFile(/tmp/multipartBody6401372773330105670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778513947876,"filename":"image_08052026_23_55_35_29341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888459","file1":"1416888450","file0":"1416888449","file4":"1416888461","file5":"1416888462","file3":"1416888460"},"map_files_photo_id_array":[{"photo_id":"1416888462","filename":"file5"},{"photo_id":"1416888459","filename":"file2"},{"photo_id":"1416888461","filename":"file4"},{"photo_id":"1416888450","filename":"file1"},{"photo_id":"1416888449","filename":"file0"},{"photo_id":"1416888460","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888460":["hashtag1","hashtag2"]},{"1416888459":["hashtag1","hashtag2"]},{"1416888450":["hashtag1","hashtag2"]},{"1416888462":["hashtag1","hashtag2"]},{"1416888461":["hashtag1","hashtag2"]},{"1416888449":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888460, 1416888459, 1416888450, 1416888462, 1416888461, 1416888449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.073814868927 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:39:04.597198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/05/image_08052026_00_05_35_30346.jpg', '/home/pi/Desktop/images/08052026/00/07/image_08052026_00_07_36_30386.jpg', '/home/pi/Desktop/images/08052026/00/07/image_08052026_00_08_05_29278.jpg', '/home/pi/Desktop/images/08052026/00/08/image_08052026_00_08_35_30350.jpg', '/home/pi/Desktop/images/08052026/00/08/image_08052026_00_09_06_30357.jpg', '/home/pi/Desktop/images/08052026/00/09/image_08052026_00_09_36_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/05/image_08052026_00_05_35_30346.jpg
/home/pi/Desktop/images/08052026/00/07/image_08052026_00_07_36_30386.jpg
/home/pi/Desktop/images/08052026/00/07/image_08052026_00_08_05_29278.jpg
/home/pi/Desktop/images/08052026/00/08/image_08052026_00_08_35_30350.jpg
/home/pi/Desktop/images/08052026/00/08/image_08052026_00_09_06_30357.jpg
/home/pi/Desktop/images/08052026/00/09/image_08052026_00_09_36_30235.jpg
2026-05-11 17:39:04.932782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/43/image_08052026_23_43_35_30392.jpg', '/home/pi/Desktop/images/08052026/23/39/image_08052026_23_39_35_29117.jpg', '/home/pi/Desktop/images/08052026/23/38/image_08052026_23_39_06_30332.jpg', '/home/pi/Desktop/images/08052026/23/38/image_08052026_23_38_35_30413.jpg', '/home/pi/Desktop/images/08052026/23/37/image_08052026_23_38_05_29318.jpg', '/home/pi/Desktop/images/08052026/23/37/image_08052026_23_37_36_30378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/43/image_08052026_23_43_35_30392.jpg
/home/pi/Desktop/images/08052026/23/39/image_08052026_23_39_35_29117.jpg
/home/pi/Desktop/images/08052026/23/38/image_08052026_23_39_06_30332.jpg
/home/pi/Desktop/images/08052026/23/38/image_08052026_23_38_35_30413.jpg
/home/pi/Desktop/images/08052026/23/37/image_08052026_23_38_05_29318.jpg
/home/pi/Desktop/images/08052026/23/37/image_08052026_23_37_36_30378.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.29014253616333 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888502","1416888505","1416888495","1416888494","1416888497","1416888500"],"photo_ids_order":["1416888494","1416888495","1416888497","1416888500","1416888502","1416888505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47e1bc985b152d6ea70c68c2cd364680.jpg","text":"TemporaryFile(/tmp/multipartBody1656499538219295342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_38_05_29318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3b496c34205cc8c47529da34e32489d.jpg","text":"TemporaryFile(/tmp/multipartBody1043092719641911636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_37_36_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f7242ddeb8740a5c6c8dabb866e0a74.jpg","text":"TemporaryFile(/tmp/multipartBody1755127371231201573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_39_35_29117.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/96a7c5fccd3145609401873eaf1de9ba.jpg","text":"TemporaryFile(/tmp/multipartBody3790627133688519681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_43_35_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43036f22531ad0f87d861abaccfb48f8.jpg","text":"TemporaryFile(/tmp/multipartBody5214683721349998981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_39_06_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0c71bc8a753e755e61763f0113af66a.jpg","text":"TemporaryFile(/tmp/multipartBody2339938092128546310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514012082,"filename":"image_08052026_23_38_35_30413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888497","file1":"1416888495","file0":"1416888494","file4":"1416888502","file5":"1416888505","file3":"1416888500"},"map_files_photo_id_array":[{"photo_id":"1416888505","filename":"file5"},{"photo_id":"1416888497","filename":"file2"},{"photo_id":"1416888502","filename":"file4"},{"photo_id":"1416888495","filename":"file1"},{"photo_id":"1416888494","filename":"file0"},{"photo_id":"1416888500","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888502":["hashtag1","hashtag2"]},{"1416888505":["hashtag1","hashtag2"]},{"1416888495":["hashtag1","hashtag2"]},{"1416888494":["hashtag1","hashtag2"]},{"1416888497":["hashtag1","hashtag2"]},{"1416888500":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888502, 1416888505, 1416888495, 1416888494, 1416888497, 1416888500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.815613746643066 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:40:03.503010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/35/image_08052026_23_36_06_30370.jpg', '/home/pi/Desktop/images/08052026/23/35/image_08052026_23_35_35_30396.jpg', '/home/pi/Desktop/images/08052026/23/34/image_08052026_23_35_05_29206.jpg', '/home/pi/Desktop/images/08052026/23/34/image_08052026_23_34_36_30256.jpg', '/home/pi/Desktop/images/08052026/23/33/image_08052026_23_34_06_30296.jpg', '/home/pi/Desktop/images/08052026/23/31/image_08052026_23_32_06_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/35/image_08052026_23_36_06_30370.jpg
/home/pi/Desktop/images/08052026/23/35/image_08052026_23_35_35_30396.jpg
/home/pi/Desktop/images/08052026/23/34/image_08052026_23_35_05_29206.jpg
/home/pi/Desktop/images/08052026/23/34/image_08052026_23_34_36_30256.jpg
/home/pi/Desktop/images/08052026/23/33/image_08052026_23_34_06_30296.jpg
/home/pi/Desktop/images/08052026/23/31/image_08052026_23_32_06_30319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888511","1416888508","1416888510","1416888507","1416888506","1416888509"],"photo_ids_order":["1416888506","1416888507","1416888508","1416888509","1416888510","1416888511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1abf4c73174188ac6bae372d7b946edd.jpg","text":"TemporaryFile(/tmp/multipartBody1013857472056226579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_32_06_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf91d15110960432beffbe0fb4a07847.jpg","text":"TemporaryFile(/tmp/multipartBody8164881218632901242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_35_05_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3fd6bbeff1ddc64c32bd85e6cdd4de7e.jpg","text":"TemporaryFile(/tmp/multipartBody6464841950776067525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_34_06_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f856fe3a8e07188f4824c2b584fa2828.jpg","text":"TemporaryFile(/tmp/multipartBody8132314650948794573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_35_35_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51c4392bade1e4f37094d35172beb886.jpg","text":"TemporaryFile(/tmp/multipartBody4732865330855328670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_36_06_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/494720928261d31d973926ad23867b07.jpg","text":"TemporaryFile(/tmp/multipartBody5140251452133757122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514067536,"filename":"image_08052026_23_34_36_30256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888508","file1":"1416888507","file0":"1416888506","file4":"1416888510","file5":"1416888511","file3":"1416888509"},"map_files_photo_id_array":[{"photo_id":"1416888511","filename":"file5"},{"photo_id":"1416888508","filename":"file2"},{"photo_id":"1416888510","filename":"file4"},{"photo_id":"1416888507","filename":"file1"},{"photo_id":"1416888506","filename":"file0"},{"photo_id":"1416888509","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888511":["hashtag1","hashtag2"]},{"1416888508":["hashtag1","hashtag2"]},{"1416888510":["hashtag1","hashtag2"]},{"1416888507":["hashtag1","hashtag2"]},{"1416888506":["hashtag1","hashtag2"]},{"1416888509":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888511, 1416888508, 1416888510, 1416888507, 1416888506, 1416888509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56442594528198 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:41:04.084551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/29/image_08052026_23_29_35_30314.jpg', '/home/pi/Desktop/images/08052026/23/20/image_08052026_23_21_05_29122.jpg', '/home/pi/Desktop/images/08052026/23/18/image_08052026_23_19_05_29129.jpg', '/home/pi/Desktop/images/08052026/23/15/image_08052026_23_16_06_30432.jpg', '/home/pi/Desktop/images/08052026/23/15/image_08052026_23_15_35_30238.jpg', '/home/pi/Desktop/images/08052026/23/14/image_08052026_23_15_05_29160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/29/image_08052026_23_29_35_30314.jpg
/home/pi/Desktop/images/08052026/23/20/image_08052026_23_21_05_29122.jpg
/home/pi/Desktop/images/08052026/23/18/image_08052026_23_19_05_29129.jpg
/home/pi/Desktop/images/08052026/23/15/image_08052026_23_16_06_30432.jpg
/home/pi/Desktop/images/08052026/23/15/image_08052026_23_15_35_30238.jpg
/home/pi/Desktop/images/08052026/23/14/image_08052026_23_15_05_29160.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888517","1416888514","1416888513","1416888516","1416888519","1416888515"],"photo_ids_order":["1416888513","1416888514","1416888515","1416888516","1416888517","1416888519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90ac21de7a363efdc83f0f2ce2d0ede1.jpg","text":"TemporaryFile(/tmp/multipartBody5145163164063161849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_15_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d731c162bd3289dfe48bc04c992ba021.jpg","text":"TemporaryFile(/tmp/multipartBody109684677590230792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_21_05_29122.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2694165177a4ad594983d5db1c328f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3813991399308393228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_29_35_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68c7b2e66569075c3db6fb6c4c741ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7923544247244237860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_16_06_30432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d0492283665bb495be9fc1bf76c764d.jpg","text":"TemporaryFile(/tmp/multipartBody3142921519133902220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_15_05_29160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35bc30a8116c3faa568c964637ff1f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3844463334450522528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514128120,"filename":"image_08052026_23_19_05_29129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888515","file1":"1416888514","file0":"1416888513","file4":"1416888517","file5":"1416888519","file3":"1416888516"},"map_files_photo_id_array":[{"photo_id":"1416888519","filename":"file5"},{"photo_id":"1416888515","filename":"file2"},{"photo_id":"1416888517","filename":"file4"},{"photo_id":"1416888514","filename":"file1"},{"photo_id":"1416888513","filename":"file0"},{"photo_id":"1416888516","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888517":["hashtag1","hashtag2"]},{"1416888514":["hashtag1","hashtag2"]},{"1416888513":["hashtag1","hashtag2"]},{"1416888516":["hashtag1","hashtag2"]},{"1416888519":["hashtag1","hashtag2"]},{"1416888515":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888517, 1416888514, 1416888513, 1416888516, 1416888519, 1416888515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35087060928345 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:42:03.745105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/14/image_08052026_23_14_36_30246.jpg', '/home/pi/Desktop/images/08052026/23/13/image_08052026_23_14_05_30345.jpg', '/home/pi/Desktop/images/08052026/23/12/image_08052026_23_13_05_29156.jpg', '/home/pi/Desktop/images/08052026/23/10/image_08052026_23_10_35_29205.jpg', '/home/pi/Desktop/images/08052026/23/09/image_08052026_23_10_06_30331.jpg', '/home/pi/Desktop/images/08052026/23/08/image_08052026_23_09_05_29172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/14/image_08052026_23_14_36_30246.jpg
/home/pi/Desktop/images/08052026/23/13/image_08052026_23_14_05_30345.jpg
/home/pi/Desktop/images/08052026/23/12/image_08052026_23_13_05_29156.jpg
/home/pi/Desktop/images/08052026/23/10/image_08052026_23_10_35_29205.jpg
/home/pi/Desktop/images/08052026/23/09/image_08052026_23_10_06_30331.jpg
/home/pi/Desktop/images/08052026/23/08/image_08052026_23_09_05_29172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416888520","1416888523","1416888522","1416888525","1416888524","1416888521"],"photo_ids_order":["1416888520","1416888521","1416888522","1416888523","1416888524","1416888525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/126c377f97ad9b510b7918d96e7217d1.jpg","text":"TemporaryFile(/tmp/multipartBody3847712302953595323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_14_36_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/376ac7d85964e82958f656020dea6322.jpg","text":"TemporaryFile(/tmp/multipartBody1969128069234057775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_10_35_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfc6159ff6005fb281bd40d14b5a2323.jpg","text":"TemporaryFile(/tmp/multipartBody5432263498429834453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_13_05_29156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2eed662d2443bcd8dc820f2fe5a6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7270789869144186615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_09_05_29172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f705ccf8437d65ccfe25f30d0cf475a2.jpg","text":"TemporaryFile(/tmp/multipartBody4792795841455169287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_10_06_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8320ceb3713a885b6c4e5f4a348cf918.jpg","text":"TemporaryFile(/tmp/multipartBody5827151274537937175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514187566,"filename":"image_08052026_23_14_05_30345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416888522","file1":"1416888521","file0":"1416888520","file4":"1416888524","file5":"1416888525","file3":"1416888523"},"map_files_photo_id_array":[{"photo_id":"1416888525","filename":"file5"},{"photo_id":"1416888522","filename":"file2"},{"photo_id":"1416888524","filename":"file4"},{"photo_id":"1416888521","filename":"file1"},{"photo_id":"1416888520","filename":"file0"},{"photo_id":"1416888523","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416888520":["hashtag1","hashtag2"]},{"1416888523":["hashtag1","hashtag2"]},{"1416888522":["hashtag1","hashtag2"]},{"1416888525":["hashtag1","hashtag2"]},{"1416888524":["hashtag1","hashtag2"]},{"1416888521":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416888520, 1416888523, 1416888522, 1416888525, 1416888524, 1416888521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56565499305725 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:43:04.096503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/32/image_11052026_17_33_14_29198.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/32/image_11052026_17_33_14_29198.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416889558"],"photo_id":"1416889558","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/722445d5e5741a7b629afe263fc84c4a.jpg","text":"TemporaryFile(/tmp/multipartBody4563587034727381727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514245439,"filename":"image_11052026_17_33_14_29198.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416889558"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416889558"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.838459491729736 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:44:03.906118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/08/image_08052026_23_08_36_30190.jpg', '/home/pi/Desktop/images/08052026/23/07/image_08052026_23_08_06_30361.jpg', '/home/pi/Desktop/images/08052026/23/07/image_08052026_23_07_35_30312.jpg', '/home/pi/Desktop/images/08052026/23/06/image_08052026_23_07_05_29141.jpg', '/home/pi/Desktop/images/08052026/23/06/image_08052026_23_06_36_30205.jpg', '/home/pi/Desktop/images/08052026/23/05/image_08052026_23_06_05_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/08/image_08052026_23_08_36_30190.jpg
/home/pi/Desktop/images/08052026/23/07/image_08052026_23_08_06_30361.jpg
/home/pi/Desktop/images/08052026/23/07/image_08052026_23_07_35_30312.jpg
/home/pi/Desktop/images/08052026/23/06/image_08052026_23_07_05_29141.jpg
/home/pi/Desktop/images/08052026/23/06/image_08052026_23_06_36_30205.jpg
/home/pi/Desktop/images/08052026/23/05/image_08052026_23_06_05_30312.jpg
2026-05-11 17:44:04.036407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/05/image_08052026_00_05_35_30346.jpg', '/home/pi/Desktop/images/08052026/00/07/image_08052026_00_07_36_30386.jpg', '/home/pi/Desktop/images/08052026/00/07/image_08052026_00_08_05_29278.jpg', '/home/pi/Desktop/images/08052026/00/08/image_08052026_00_08_35_30350.jpg', '/home/pi/Desktop/images/08052026/00/08/image_08052026_00_09_06_30357.jpg', '/home/pi/Desktop/images/08052026/00/09/image_08052026_00_09_36_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/05/image_08052026_00_05_35_30346.jpg
/home/pi/Desktop/images/08052026/00/07/image_08052026_00_07_36_30386.jpg
/home/pi/Desktop/images/08052026/00/07/image_08052026_00_08_05_29278.jpg
/home/pi/Desktop/images/08052026/00/08/image_08052026_00_08_35_30350.jpg
/home/pi/Desktop/images/08052026/00/08/image_08052026_00_09_06_30357.jpg
/home/pi/Desktop/images/08052026/00/09/image_08052026_00_09_36_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416890515","1416890664","1416890661","1416889889","1416890658","1416890198"],"photo_ids_order":["1416889889","1416890198","1416890515","1416890658","1416890661","1416890664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/071d02ff78aa548c99e11bf30ada1a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4876344297786530080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_07_35_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc98a8235c85532dfb784d39529f63c8.jpg","text":"TemporaryFile(/tmp/multipartBody7874434587972725148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_06_05_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87b5b5baf30765c77f546c1a41cde682.jpg","text":"TemporaryFile(/tmp/multipartBody6698499012546895393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_06_36_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf92befb973f60cb5d4a195ef939030d.jpg","text":"TemporaryFile(/tmp/multipartBody7942437399272852807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_08_36_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb16cc03cc77661fd768c7a5ff97263d.jpg","text":"TemporaryFile(/tmp/multipartBody1921451905360819107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_07_05_29141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93e469bc3f50d379d456c792af0a4998.jpg","text":"TemporaryFile(/tmp/multipartBody7643566899181652984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514309503,"filename":"image_08052026_23_08_06_30361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416890515","file1":"1416890198","file0":"1416889889","file4":"1416890661","file5":"1416890664","file3":"1416890658"},"map_files_photo_id_array":[{"photo_id":"1416890664","filename":"file5"},{"photo_id":"1416890515","filename":"file2"},{"photo_id":"1416890661","filename":"file4"},{"photo_id":"1416890198","filename":"file1"},{"photo_id":"1416889889","filename":"file0"},{"photo_id":"1416890658","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416890515":["hashtag1","hashtag2"]},{"1416890664":["hashtag1","hashtag2"]},{"1416890661":["hashtag1","hashtag2"]},{"1416889889":["hashtag1","hashtag2"]},{"1416890658":["hashtag1","hashtag2"]},{"1416890198":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416890515, 1416890664, 1416890661, 1416889889, 1416890658, 1416890198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84162616729736 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416890656","1416890665","1416890356","1416890031","1416890663","1416890660"],"photo_ids_order":["1416890031","1416890356","1416890656","1416890660","1416890663","1416890665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a39064bfb3c695cc9802479970e2057a.jpg","text":"TemporaryFile(/tmp/multipartBody7504136034957423210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_08_05_29278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02150b0e262c90f50c1ed9d463f87586.jpg","text":"TemporaryFile(/tmp/multipartBody5852900559515106069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_09_36_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e2eefae979ef73f2d14ba695a382c72.jpg","text":"TemporaryFile(/tmp/multipartBody8384893443313689412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_07_36_30386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9687fdd822c3fb2d86f8a9b94c701ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1208642912752562336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_05_35_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a10c4b15c882b8259a4874d5434f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2649369249757164632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_09_06_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8696bdf07b7e4382d414717eb9e1e13.jpg","text":"TemporaryFile(/tmp/multipartBody1467134543299564132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514311458,"filename":"image_08052026_00_08_35_30350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416890656","file1":"1416890356","file0":"1416890031","file4":"1416890663","file5":"1416890665","file3":"1416890660"},"map_files_photo_id_array":[{"photo_id":"1416890665","filename":"file5"},{"photo_id":"1416890656","filename":"file2"},{"photo_id":"1416890663","filename":"file4"},{"photo_id":"1416890356","filename":"file1"},{"photo_id":"1416890031","filename":"file0"},{"photo_id":"1416890660","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416890656":["hashtag1","hashtag2"]},{"1416890665":["hashtag1","hashtag2"]},{"1416890356":["hashtag1","hashtag2"]},{"1416890031":["hashtag1","hashtag2"]},{"1416890663":["hashtag1","hashtag2"]},{"1416890660":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416890656, 1416890665, 1416890356, 1416890031, 1416890663, 1416890660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.402466773986816 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:45:04.441943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/05/image_08052026_23_05_35_30182.jpg', '/home/pi/Desktop/images/08052026/22/59/image_08052026_23_00_06_30330.jpg', '/home/pi/Desktop/images/08052026/22/52/image_08052026_22_52_36_30188.jpg', '/home/pi/Desktop/images/08052026/22/51/image_08052026_22_52_06_30284.jpg', '/home/pi/Desktop/images/08052026/22/51/image_08052026_22_51_35_30300.jpg', '/home/pi/Desktop/images/08052026/22/50/image_08052026_22_51_05_29179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/23/05/image_08052026_23_05_35_30182.jpg
/home/pi/Desktop/images/08052026/22/59/image_08052026_23_00_06_30330.jpg
/home/pi/Desktop/images/08052026/22/52/image_08052026_22_52_36_30188.jpg
/home/pi/Desktop/images/08052026/22/51/image_08052026_22_52_06_30284.jpg
/home/pi/Desktop/images/08052026/22/51/image_08052026_22_51_35_30300.jpg
/home/pi/Desktop/images/08052026/22/50/image_08052026_22_51_05_29179.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416890824","1416890826","1416890823","1416890825","1416890828","1416890822"],"photo_ids_order":["1416890822","1416890823","1416890824","1416890825","1416890826","1416890828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70b0e9f9d135e0d42095a05123b2b7a5.jpg","text":"TemporaryFile(/tmp/multipartBody2295221058952977758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_22_52_36_30188.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/abab9753017a991f45e4ad95488876b6.jpg","text":"TemporaryFile(/tmp/multipartBody3500798917493054870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_22_51_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b39778e45ccef17499964ac4714feebc.jpg","text":"TemporaryFile(/tmp/multipartBody5682587794110265271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_23_00_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1c73c77072f00c145034303bccf82f6.jpg","text":"TemporaryFile(/tmp/multipartBody2888265115144320062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_22_52_06_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43506ce4716d21a8c536bd9b2e8b45fe.jpg","text":"TemporaryFile(/tmp/multipartBody3214666781040753959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_22_51_05_29179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac142d2f59df552b4e9491a4a263aedb.jpg","text":"TemporaryFile(/tmp/multipartBody8572624759471864976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514368943,"filename":"image_08052026_23_05_35_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416890824","file1":"1416890823","file0":"1416890822","file4":"1416890826","file5":"1416890828","file3":"1416890825"},"map_files_photo_id_array":[{"photo_id":"1416890828","filename":"file5"},{"photo_id":"1416890824","filename":"file2"},{"photo_id":"1416890826","filename":"file4"},{"photo_id":"1416890823","filename":"file1"},{"photo_id":"1416890822","filename":"file0"},{"photo_id":"1416890825","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416890824":["hashtag1","hashtag2"]},{"1416890826":["hashtag1","hashtag2"]},{"1416890823":["hashtag1","hashtag2"]},{"1416890825":["hashtag1","hashtag2"]},{"1416890828":["hashtag1","hashtag2"]},{"1416890822":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416890824, 1416890826, 1416890823, 1416890825, 1416890828, 1416890822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67735934257507 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:46:03.423451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/50/image_08052026_22_50_36_30214.jpg', '/home/pi/Desktop/images/08052026/22/49/image_08052026_22_50_06_30331.jpg', '/home/pi/Desktop/images/08052026/22/49/image_08052026_22_49_35_30352.jpg', '/home/pi/Desktop/images/08052026/22/48/image_08052026_22_49_05_29143.jpg', '/home/pi/Desktop/images/08052026/22/38/image_08052026_22_38_36_30306.jpg', '/home/pi/Desktop/images/08052026/22/36/image_08052026_22_37_06_30330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/50/image_08052026_22_50_36_30214.jpg
/home/pi/Desktop/images/08052026/22/49/image_08052026_22_50_06_30331.jpg
/home/pi/Desktop/images/08052026/22/49/image_08052026_22_49_35_30352.jpg
/home/pi/Desktop/images/08052026/22/48/image_08052026_22_49_05_29143.jpg
/home/pi/Desktop/images/08052026/22/38/image_08052026_22_38_36_30306.jpg
/home/pi/Desktop/images/08052026/22/36/image_08052026_22_37_06_30330.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891016","1416891012","1416891015","1416891011","1416891014","1416891013"],"photo_ids_order":["1416891011","1416891012","1416891013","1416891014","1416891015","1416891016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c3cc24633247c58413ec835727e5968.jpg","text":"TemporaryFile(/tmp/multipartBody3418408453364982560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_37_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c77d4d9ea9719328751265a510beda7.jpg","text":"TemporaryFile(/tmp/multipartBody6253953696998736817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_50_06_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bec2e35b05dd4b3cbc1ec1ec52043dd4.jpg","text":"TemporaryFile(/tmp/multipartBody92810644996316137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_38_36_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb6a9d91a0e63373840fb4c59dc8d384.jpg","text":"TemporaryFile(/tmp/multipartBody3589157286967150791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_50_36_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0c94998388c1303a4db18d52a4de5a8.jpg","text":"TemporaryFile(/tmp/multipartBody4888919188091191644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_49_05_29143.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7c2a22044ce813f77c44f89eef62932.jpg","text":"TemporaryFile(/tmp/multipartBody1901487676338207472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514427425,"filename":"image_08052026_22_49_35_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891013","file1":"1416891012","file0":"1416891011","file4":"1416891015","file5":"1416891016","file3":"1416891014"},"map_files_photo_id_array":[{"photo_id":"1416891016","filename":"file5"},{"photo_id":"1416891013","filename":"file2"},{"photo_id":"1416891015","filename":"file4"},{"photo_id":"1416891012","filename":"file1"},{"photo_id":"1416891011","filename":"file0"},{"photo_id":"1416891014","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891016":["hashtag1","hashtag2"]},{"1416891012":["hashtag1","hashtag2"]},{"1416891015":["hashtag1","hashtag2"]},{"1416891011":["hashtag1","hashtag2"]},{"1416891014":["hashtag1","hashtag2"]},{"1416891013":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891016, 1416891012, 1416891015, 1416891011, 1416891014, 1416891013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.660035371780396 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:47:03.784187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/36/image_08052026_22_36_35_30390.jpg', '/home/pi/Desktop/images/08052026/22/35/image_08052026_22_36_05_29223.jpg', '/home/pi/Desktop/images/08052026/22/35/image_08052026_22_35_36_30311.jpg', '/home/pi/Desktop/images/08052026/22/34/image_08052026_22_34_35_30270.jpg', '/home/pi/Desktop/images/08052026/22/31/image_08052026_22_31_36_30390.jpg', '/home/pi/Desktop/images/08052026/22/29/image_08052026_22_30_06_30265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/36/image_08052026_22_36_35_30390.jpg
/home/pi/Desktop/images/08052026/22/35/image_08052026_22_36_05_29223.jpg
/home/pi/Desktop/images/08052026/22/35/image_08052026_22_35_36_30311.jpg
/home/pi/Desktop/images/08052026/22/34/image_08052026_22_34_35_30270.jpg
/home/pi/Desktop/images/08052026/22/31/image_08052026_22_31_36_30390.jpg
/home/pi/Desktop/images/08052026/22/29/image_08052026_22_30_06_30265.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891022","1416891019","1416891024","1416891021","1416891018","1416891020"],"photo_ids_order":["1416891018","1416891019","1416891020","1416891021","1416891022","1416891024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9a7ef1a7db349a5d7959f63a3fa5d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5153858280697107661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_31_36_30390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5800fbfd49806973357eafcab2ad09e6.jpg","text":"TemporaryFile(/tmp/multipartBody1854884235598929799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_36_05_29223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3e43f0f6244f5c297540429cb0ee21c0.jpg","text":"TemporaryFile(/tmp/multipartBody7746339930136263204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_30_06_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4374af9c773ac83bd1883247c6e197c.jpg","text":"TemporaryFile(/tmp/multipartBody3392208809501449293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_34_35_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9989bb01b8987d82822500894043c23f.jpg","text":"TemporaryFile(/tmp/multipartBody7114980890452281838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_36_35_30390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcc557105c492c7c534aa0b0076b8814.jpg","text":"TemporaryFile(/tmp/multipartBody229932689755714731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514488486,"filename":"image_08052026_22_35_36_30311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891020","file1":"1416891019","file0":"1416891018","file4":"1416891022","file5":"1416891024","file3":"1416891021"},"map_files_photo_id_array":[{"photo_id":"1416891024","filename":"file5"},{"photo_id":"1416891020","filename":"file2"},{"photo_id":"1416891022","filename":"file4"},{"photo_id":"1416891019","filename":"file1"},{"photo_id":"1416891018","filename":"file0"},{"photo_id":"1416891021","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891022":["hashtag1","hashtag2"]},{"1416891019":["hashtag1","hashtag2"]},{"1416891024":["hashtag1","hashtag2"]},{"1416891021":["hashtag1","hashtag2"]},{"1416891018":["hashtag1","hashtag2"]},{"1416891020":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891022, 1416891019, 1416891024, 1416891021, 1416891018, 1416891020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.26361083984375 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:48:03.560242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/43/image_11052026_17_43_44_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/43/image_11052026_17_43_44_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891025"],"photo_id":"1416891025","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fb6322d27c4c7d905ac70d534632da8.jpg","text":"TemporaryFile(/tmp/multipartBody2141082396486000480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514544859,"filename":"image_11052026_17_43_44_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416891025"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416891025"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.316992998123169 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-05-11 17:49:03.956535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/46/image_11052026_17_47_14_30251.jpg', '/home/pi/Desktop/images/11052026/17/48/image_11052026_17_49_14_30262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/46/image_11052026_17_47_14_30251.jpg
/home/pi/Desktop/images/11052026/17/48/image_11052026_17_49_14_30262.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5029640197753906 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:50:03.487737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/48/image_11052026_17_49_14_30262.jpg', '/home/pi/Desktop/images/11052026/17/46/image_11052026_17_47_14_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/48/image_11052026_17_49_14_30262.jpg
/home/pi/Desktop/images/11052026/17/46/image_11052026_17_47_14_30251.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891030","1416891029"],"photo_ids_order":["1416891029","1416891030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dcebb6d8e61c9435ca65d26deb1eccba.jpg","text":"TemporaryFile(/tmp/multipartBody7014000231213289540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514665034,"filename":"image_11052026_17_47_14_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e7a590fa9c0bfa27e5f7aa96543febec.jpg","text":"TemporaryFile(/tmp/multipartBody4812243183227483302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514665034,"filename":"image_11052026_17_49_14_30262.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416891030","file0":"1416891029"},"map_files_photo_id_array":[{"photo_id":"1416891030","filename":"file1"},{"photo_id":"1416891029","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891030":["hashtag1","hashtag2"]},{"1416891029":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891030, 1416891029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.363463401794434 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:51:03.932319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/50/image_11052026_17_51_14_30288.jpg', '/home/pi/Desktop/images/11052026/17/49/image_11052026_17_50_13_29124.jpg', '/home/pi/Desktop/images/11052026/17/49/image_11052026_17_49_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/50/image_11052026_17_51_14_30288.jpg
/home/pi/Desktop/images/11052026/17/49/image_11052026_17_50_13_29124.jpg
/home/pi/Desktop/images/11052026/17/49/image_11052026_17_49_44_30291.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5994811058044434 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:52:03.582893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/50/image_11052026_17_51_14_30288.jpg', '/home/pi/Desktop/images/11052026/17/50/image_11052026_17_50_44_30239.jpg', '/home/pi/Desktop/images/11052026/17/49/image_11052026_17_50_13_29124.jpg', '/home/pi/Desktop/images/11052026/17/49/image_11052026_17_49_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/50/image_11052026_17_51_14_30288.jpg
/home/pi/Desktop/images/11052026/17/50/image_11052026_17_50_44_30239.jpg
/home/pi/Desktop/images/11052026/17/49/image_11052026_17_50_13_29124.jpg
/home/pi/Desktop/images/11052026/17/49/image_11052026_17_49_44_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891043","1416891042","1416891041","1416891040"],"photo_ids_order":["1416891040","1416891041","1416891042","1416891043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/679fb0bd942d54546eb77b2bcf2316a7.jpg","text":"TemporaryFile(/tmp/multipartBody8129501217455120382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514785909,"filename":"image_11052026_17_49_44_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b43505df9035d9ac227350224660083e.jpg","text":"TemporaryFile(/tmp/multipartBody3751782649577656215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514785909,"filename":"image_11052026_17_50_13_29124.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92ba9930a12353aae5850d3c6f4f827c.jpg","text":"TemporaryFile(/tmp/multipartBody1239535803138831952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514785909,"filename":"image_11052026_17_50_44_30239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff17a8a42253c1bb262c0c00b0728e75.jpg","text":"TemporaryFile(/tmp/multipartBody5752190379446542893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514785909,"filename":"image_11052026_17_51_14_30288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891042","file1":"1416891041","file0":"1416891040","file3":"1416891043"},"map_files_photo_id_array":[{"photo_id":"1416891042","filename":"file2"},{"photo_id":"1416891041","filename":"file1"},{"photo_id":"1416891040","filename":"file0"},{"photo_id":"1416891043","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891043":["hashtag1","hashtag2"]},{"1416891042":["hashtag1","hashtag2"]},{"1416891041":["hashtag1","hashtag2"]},{"1416891040":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891043, 1416891042, 1416891041, 1416891040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.002875566482544 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:53:03.934985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/26/image_08052026_22_27_05_30216.jpg', '/home/pi/Desktop/images/08052026/22/23/image_08052026_22_23_35_30417.jpg', '/home/pi/Desktop/images/08052026/22/22/image_08052026_22_23_05_29237.jpg', '/home/pi/Desktop/images/08052026/22/22/image_08052026_22_22_36_30287.jpg', '/home/pi/Desktop/images/08052026/22/21/image_08052026_22_22_05_30428.jpg', '/home/pi/Desktop/images/08052026/22/21/image_08052026_22_21_35_29267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/26/image_08052026_22_27_05_30216.jpg
/home/pi/Desktop/images/08052026/22/23/image_08052026_22_23_35_30417.jpg
/home/pi/Desktop/images/08052026/22/22/image_08052026_22_23_05_29237.jpg
/home/pi/Desktop/images/08052026/22/22/image_08052026_22_22_36_30287.jpg
/home/pi/Desktop/images/08052026/22/21/image_08052026_22_22_05_30428.jpg
/home/pi/Desktop/images/08052026/22/21/image_08052026_22_21_35_29267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891666","1416891645","1416891668","1416891665","1416891664","1416891667"],"photo_ids_order":["1416891645","1416891664","1416891665","1416891666","1416891667","1416891668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9622dfca9bdb09ed68c9884c563c5d45.jpg","text":"TemporaryFile(/tmp/multipartBody5915175226063879164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_22_36_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e350b35c52440e00ddd6e6d807ca7191.jpg","text":"TemporaryFile(/tmp/multipartBody8780518437138056830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_27_05_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c94e8ef4449894061147ef11f1d5f270.jpg","text":"TemporaryFile(/tmp/multipartBody2552668360948363291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_21_35_29267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/240a69021f4943011597813472135adf.jpg","text":"TemporaryFile(/tmp/multipartBody331852758507432529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_23_05_29237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3f1c7f297297d6d802e848d782ffbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1202695193079119357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_23_35_30417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/069e9ca51bfd792ca533774fb5298b4a.jpg","text":"TemporaryFile(/tmp/multipartBody429115876849079276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514847052,"filename":"image_08052026_22_22_05_30428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891665","file1":"1416891664","file0":"1416891645","file4":"1416891667","file5":"1416891668","file3":"1416891666"},"map_files_photo_id_array":[{"photo_id":"1416891668","filename":"file5"},{"photo_id":"1416891665","filename":"file2"},{"photo_id":"1416891667","filename":"file4"},{"photo_id":"1416891664","filename":"file1"},{"photo_id":"1416891645","filename":"file0"},{"photo_id":"1416891666","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891666":["hashtag1","hashtag2"]},{"1416891645":["hashtag1","hashtag2"]},{"1416891668":["hashtag1","hashtag2"]},{"1416891665":["hashtag1","hashtag2"]},{"1416891664":["hashtag1","hashtag2"]},{"1416891667":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891666, 1416891645, 1416891668, 1416891665, 1416891664, 1416891667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.204466342926025 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:54:03.228580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/09/image_08052026_00_10_05_29326.jpg', '/home/pi/Desktop/images/08052026/00/10/image_08052026_00_10_36_30444.jpg', '/home/pi/Desktop/images/08052026/00/12/image_08052026_00_13_05_29100.jpg', '/home/pi/Desktop/images/08052026/00/13/image_08052026_00_13_35_30357.jpg', '/home/pi/Desktop/images/08052026/00/14/image_08052026_00_15_05_29156.jpg', '/home/pi/Desktop/images/08052026/00/15/image_08052026_00_15_35_30253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/09/image_08052026_00_10_05_29326.jpg
/home/pi/Desktop/images/08052026/00/10/image_08052026_00_10_36_30444.jpg
/home/pi/Desktop/images/08052026/00/12/image_08052026_00_13_05_29100.jpg
/home/pi/Desktop/images/08052026/00/13/image_08052026_00_13_35_30357.jpg
/home/pi/Desktop/images/08052026/00/14/image_08052026_00_15_05_29156.jpg
/home/pi/Desktop/images/08052026/00/15/image_08052026_00_15_35_30253.jpg
2026-05-11 17:54:03.380089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/20/image_08052026_22_20_35_30324.jpg', '/home/pi/Desktop/images/08052026/22/19/image_08052026_22_19_36_30270.jpg', '/home/pi/Desktop/images/08052026/22/18/image_08052026_22_19_05_30165.jpg', '/home/pi/Desktop/images/08052026/22/18/image_08052026_22_18_35_30289.jpg', '/home/pi/Desktop/images/08052026/22/17/image_08052026_22_18_05_29135.jpg', '/home/pi/Desktop/images/08052026/22/16/image_08052026_22_17_06_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/20/image_08052026_22_20_35_30324.jpg
/home/pi/Desktop/images/08052026/22/19/image_08052026_22_19_36_30270.jpg
/home/pi/Desktop/images/08052026/22/18/image_08052026_22_19_05_30165.jpg
/home/pi/Desktop/images/08052026/22/18/image_08052026_22_18_35_30289.jpg
/home/pi/Desktop/images/08052026/22/17/image_08052026_22_18_05_29135.jpg
/home/pi/Desktop/images/08052026/22/16/image_08052026_22_17_06_30336.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.584258556365967 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891675","1416891671","1416891677","1416891679","1416891670","1416891673"],"photo_ids_order":["1416891670","1416891671","1416891673","1416891675","1416891677","1416891679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc6f1fc5e19bf0af67367deb15a28f77.jpg","text":"TemporaryFile(/tmp/multipartBody2035463445959601933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_13_35_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54ed17717d6a02dc195ffd08df3a9ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1510199160965547569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_10_36_30444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07b4e484149bfc5c6242aafe812927a0.jpg","text":"TemporaryFile(/tmp/multipartBody1992953922423016057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_15_05_29156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0d52bef098cf253374806ed0b583b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2220610188288485757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_15_35_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3fcddf0f4533e26339f80a81e322e51c.jpg","text":"TemporaryFile(/tmp/multipartBody7738670092465850356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_10_05_29326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6620649f950618c72c15bdb907aec90.jpg","text":"TemporaryFile(/tmp/multipartBody4514316679010226569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778514908038,"filename":"image_08052026_00_13_05_29100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891673","file1":"1416891671","file0":"1416891670","file4":"1416891677","file5":"1416891679","file3":"1416891675"},"map_files_photo_id_array":[{"photo_id":"1416891679","filename":"file5"},{"photo_id":"1416891673","filename":"file2"},{"photo_id":"1416891677","filename":"file4"},{"photo_id":"1416891671","filename":"file1"},{"photo_id":"1416891670","filename":"file0"},{"photo_id":"1416891675","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891675":["hashtag1","hashtag2"]},{"1416891671":["hashtag1","hashtag2"]},{"1416891677":["hashtag1","hashtag2"]},{"1416891679":["hashtag1","hashtag2"]},{"1416891670":["hashtag1","hashtag2"]},{"1416891673":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891675, 1416891671, 1416891677, 1416891679, 1416891670, 1416891673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38292598724365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 17:59:04.386134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/51/image_11052026_17_52_14_30269.jpg', '/home/pi/Desktop/images/11052026/17/54/image_11052026_17_55_14_29120.jpg', '/home/pi/Desktop/images/11052026/17/55/image_11052026_17_56_14_30231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/51/image_11052026_17_52_14_30269.jpg
/home/pi/Desktop/images/11052026/17/54/image_11052026_17_55_14_29120.jpg
/home/pi/Desktop/images/11052026/17/55/image_11052026_17_56_14_30231.jpg
2026-05-11 17:59:04.581335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/58/image_11052026_17_58_44_30221.jpg', '/home/pi/Desktop/images/11052026/17/55/image_11052026_17_56_14_30231.jpg', '/home/pi/Desktop/images/11052026/17/54/image_11052026_17_55_14_29120.jpg', '/home/pi/Desktop/images/11052026/17/51/image_11052026_17_52_14_30269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/58/image_11052026_17_58_44_30221.jpg
/home/pi/Desktop/images/11052026/17/55/image_11052026_17_56_14_30231.jpg
/home/pi/Desktop/images/11052026/17/54/image_11052026_17_55_14_29120.jpg
/home/pi/Desktop/images/11052026/17/51/image_11052026_17_52_14_30269.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891696","1416891699","1416891694"],"photo_ids_order":["1416891694","1416891696","1416891699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04a02cca3c2b0675166957bc2fa96621.jpg","text":"TemporaryFile(/tmp/multipartBody2895154662336703203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515206875,"filename":"image_11052026_17_55_14_29120.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/deafcf7d10e57f388a9e324ae7022349.jpg","text":"TemporaryFile(/tmp/multipartBody4407613975849978307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515206875,"filename":"image_11052026_17_56_14_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9dec50234de7554aa957f796fc7b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody5120532287550463040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515206875,"filename":"image_11052026_17_52_14_30269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891699","file1":"1416891696","file0":"1416891694"},"map_files_photo_id_array":[{"photo_id":"1416891699","filename":"file2"},{"photo_id":"1416891696","filename":"file1"},{"photo_id":"1416891694","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891696":["hashtag1","hashtag2"]},{"1416891699":["hashtag1","hashtag2"]},{"1416891694":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891696, 1416891699, 1416891694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.093168258666992 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891695","1416891697","1416891701","1416891700"],"photo_ids_order":["1416891695","1416891697","1416891700","1416891701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2d899f5755d426bda66ff633baf6c45.jpg","text":"TemporaryFile(/tmp/multipartBody7121309635073840391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515207394,"filename":"image_11052026_17_58_44_30221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f8712f6cf82a475580ad0d21d9559d0.jpg","text":"TemporaryFile(/tmp/multipartBody4939100456904565353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515207394,"filename":"image_11052026_17_56_14_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/184c675f2cd2d8f151291c257b4ba898.jpg","text":"TemporaryFile(/tmp/multipartBody1053959666721488154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515207394,"filename":"image_11052026_17_52_14_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/adaaf8a26a38098d95b1d55538e4633e.jpg","text":"TemporaryFile(/tmp/multipartBody1533020166504268475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515207394,"filename":"image_11052026_17_55_14_29120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891700","file1":"1416891697","file0":"1416891695","file3":"1416891701"},"map_files_photo_id_array":[{"photo_id":"1416891700","filename":"file2"},{"photo_id":"1416891697","filename":"file1"},{"photo_id":"1416891695","filename":"file0"},{"photo_id":"1416891701","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891695":["hashtag1","hashtag2"]},{"1416891697":["hashtag1","hashtag2"]},{"1416891701":["hashtag1","hashtag2"]},{"1416891700":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891695, 1416891697, 1416891701, 1416891700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.28807234764099 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:00:03.136097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/20/image_08052026_22_20_35_30324.jpg', '/home/pi/Desktop/images/08052026/22/19/image_08052026_22_19_36_30270.jpg', '/home/pi/Desktop/images/08052026/22/18/image_08052026_22_19_05_30165.jpg', '/home/pi/Desktop/images/08052026/22/18/image_08052026_22_18_35_30289.jpg', '/home/pi/Desktop/images/08052026/22/17/image_08052026_22_18_05_29135.jpg', '/home/pi/Desktop/images/08052026/22/16/image_08052026_22_17_06_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/20/image_08052026_22_20_35_30324.jpg
/home/pi/Desktop/images/08052026/22/19/image_08052026_22_19_36_30270.jpg
/home/pi/Desktop/images/08052026/22/18/image_08052026_22_19_05_30165.jpg
/home/pi/Desktop/images/08052026/22/18/image_08052026_22_18_35_30289.jpg
/home/pi/Desktop/images/08052026/22/17/image_08052026_22_18_05_29135.jpg
/home/pi/Desktop/images/08052026/22/16/image_08052026_22_17_06_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891706","1416891705","1416891708","1416891710","1416891707","1416891709"],"photo_ids_order":["1416891705","1416891706","1416891707","1416891708","1416891709","1416891710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad307773184575e429da16b9cdef279d.jpg","text":"TemporaryFile(/tmp/multipartBody2917286492708932330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_19_36_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c5fb1db13f02c8dc97bfde9405e11bb.jpg","text":"TemporaryFile(/tmp/multipartBody9110120528315972162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_20_35_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95c383a49307fa708615f741caa316b3.jpg","text":"TemporaryFile(/tmp/multipartBody636281990469999653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_18_35_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1afffab659a392c0322e8491ce4e05c.jpg","text":"TemporaryFile(/tmp/multipartBody4247342519202151315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_17_06_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d01f1a4fc88db7fe81051ec465c1148.jpg","text":"TemporaryFile(/tmp/multipartBody7031260002339562150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_19_05_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c49b466fc32261f7080e1423f78916c.jpg","text":"TemporaryFile(/tmp/multipartBody4103713599316947738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515266637,"filename":"image_08052026_22_18_05_29135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891707","file1":"1416891706","file0":"1416891705","file4":"1416891709","file5":"1416891710","file3":"1416891708"},"map_files_photo_id_array":[{"photo_id":"1416891710","filename":"file5"},{"photo_id":"1416891707","filename":"file2"},{"photo_id":"1416891709","filename":"file4"},{"photo_id":"1416891706","filename":"file1"},{"photo_id":"1416891705","filename":"file0"},{"photo_id":"1416891708","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891706":["hashtag1","hashtag2"]},{"1416891705":["hashtag1","hashtag2"]},{"1416891708":["hashtag1","hashtag2"]},{"1416891710":["hashtag1","hashtag2"]},{"1416891707":["hashtag1","hashtag2"]},{"1416891709":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891706, 1416891705, 1416891708, 1416891710, 1416891707, 1416891709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47880816459656 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:01:03.375784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/17/59/image_11052026_18_00_14_30175.jpg', '/home/pi/Desktop/images/11052026/17/59/image_11052026_17_59_43_29020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/17/59/image_11052026_18_00_14_30175.jpg
/home/pi/Desktop/images/11052026/17/59/image_11052026_17_59_43_29020.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5263745784759521 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:02:03.266307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/00/image_11052026_18_00_44_30074.jpg', '/home/pi/Desktop/images/11052026/17/59/image_11052026_18_00_14_30175.jpg', '/home/pi/Desktop/images/11052026/17/59/image_11052026_17_59_43_29020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/00/image_11052026_18_00_44_30074.jpg
/home/pi/Desktop/images/11052026/17/59/image_11052026_18_00_14_30175.jpg
/home/pi/Desktop/images/11052026/17/59/image_11052026_17_59_43_29020.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891714","1416891716","1416891715"],"photo_ids_order":["1416891714","1416891715","1416891716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c50fc85159911aa9d60082889dd0b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody2560840781138389134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515385012,"filename":"image_11052026_18_00_44_30074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d37dfcd9922374e27ff7012a30e78cd.jpg","text":"TemporaryFile(/tmp/multipartBody1499102301085512751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515385012,"filename":"image_11052026_17_59_43_29020.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6af82a4f359c8b913843834c51564267.jpg","text":"TemporaryFile(/tmp/multipartBody9048184799769620367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515385012,"filename":"image_11052026_18_00_14_30175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891716","file1":"1416891715","file0":"1416891714"},"map_files_photo_id_array":[{"photo_id":"1416891716","filename":"file2"},{"photo_id":"1416891715","filename":"file1"},{"photo_id":"1416891714","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891714":["hashtag1","hashtag2"]},{"1416891716":["hashtag1","hashtag2"]},{"1416891715":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891714, 1416891716, 1416891715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.541069984436035 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:03:03.662451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/16/image_08052026_22_16_35_30387.jpg', '/home/pi/Desktop/images/08052026/22/15/image_08052026_22_16_05_29395.jpg', '/home/pi/Desktop/images/08052026/22/15/image_08052026_22_15_35_30236.jpg', '/home/pi/Desktop/images/08052026/22/14/image_08052026_22_15_05_30428.jpg', '/home/pi/Desktop/images/08052026/22/14/image_08052026_22_14_35_29226.jpg', '/home/pi/Desktop/images/08052026/22/13/image_08052026_22_14_06_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/16/image_08052026_22_16_35_30387.jpg
/home/pi/Desktop/images/08052026/22/15/image_08052026_22_16_05_29395.jpg
/home/pi/Desktop/images/08052026/22/15/image_08052026_22_15_35_30236.jpg
/home/pi/Desktop/images/08052026/22/14/image_08052026_22_15_05_30428.jpg
/home/pi/Desktop/images/08052026/22/14/image_08052026_22_14_35_29226.jpg
/home/pi/Desktop/images/08052026/22/13/image_08052026_22_14_06_30346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891718","1416891723","1416891720","1416891722","1416891719","1416891721"],"photo_ids_order":["1416891718","1416891719","1416891720","1416891721","1416891722","1416891723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42998f0cafef4276a891cf5c6d5d144d.jpg","text":"TemporaryFile(/tmp/multipartBody4423027026149836959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_16_35_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ca21f41d052e0f09327a4a4f956a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3920992095496190608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_14_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1175c27f832befeeb2c09aba5dfd08f7.jpg","text":"TemporaryFile(/tmp/multipartBody3203032373966858423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_15_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c576ee249e7d8ab0779856180b15343a.jpg","text":"TemporaryFile(/tmp/multipartBody8774009690253258671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_14_35_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b99ebcb6fd7ce36d56ab33ecef33b1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7926103236761045411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_16_05_29395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0301adc118c6fb71956f67990e00e106.jpg","text":"TemporaryFile(/tmp/multipartBody6559584544272822582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515446705,"filename":"image_08052026_22_15_05_30428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891720","file1":"1416891719","file0":"1416891718","file4":"1416891722","file5":"1416891723","file3":"1416891721"},"map_files_photo_id_array":[{"photo_id":"1416891723","filename":"file5"},{"photo_id":"1416891720","filename":"file2"},{"photo_id":"1416891722","filename":"file4"},{"photo_id":"1416891719","filename":"file1"},{"photo_id":"1416891718","filename":"file0"},{"photo_id":"1416891721","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891718":["hashtag1","hashtag2"]},{"1416891723":["hashtag1","hashtag2"]},{"1416891720":["hashtag1","hashtag2"]},{"1416891722":["hashtag1","hashtag2"]},{"1416891719":["hashtag1","hashtag2"]},{"1416891721":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891718, 1416891723, 1416891720, 1416891722, 1416891719, 1416891721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01870799064636 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:04:03.760574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/00/image_11052026_18_01_14_30152.jpg', '/home/pi/Desktop/images/11052026/18/02/image_11052026_18_03_14_30202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/00/image_11052026_18_01_14_30152.jpg
/home/pi/Desktop/images/11052026/18/02/image_11052026_18_03_14_30202.jpg
2026-05-11 18:04:03.911108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/03/image_11052026_18_03_44_30139.jpg', '/home/pi/Desktop/images/11052026/18/02/image_11052026_18_03_14_30202.jpg', '/home/pi/Desktop/images/11052026/18/00/image_11052026_18_01_14_30152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/03/image_11052026_18_03_44_30139.jpg
/home/pi/Desktop/images/11052026/18/02/image_11052026_18_03_14_30202.jpg
/home/pi/Desktop/images/11052026/18/00/image_11052026_18_01_14_30152.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891725","1416891728"],"photo_ids_order":["1416891725","1416891728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f70e5aae2ec489b6473351244664c24b.jpg","text":"TemporaryFile(/tmp/multipartBody7463446167722823544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515505916,"filename":"image_11052026_18_01_14_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a223e8c953d308cd9dbbdcbcc69a5123.jpg","text":"TemporaryFile(/tmp/multipartBody5418051481259840077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515505916,"filename":"image_11052026_18_03_14_30202.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416891728","file0":"1416891725"},"map_files_photo_id_array":[{"photo_id":"1416891728","filename":"file1"},{"photo_id":"1416891725","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891725":["hashtag1","hashtag2"]},{"1416891728":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891725, 1416891728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.725465059280396 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891726","1416891729","1416891727"],"photo_ids_order":["1416891726","1416891727","1416891729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04edf94473c24c1e27623aae5765ed1f.jpg","text":"TemporaryFile(/tmp/multipartBody1062083825705926211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515506313,"filename":"image_11052026_18_03_44_30139.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4448b4e20b64159de7d19e43f347bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1119733952484799744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515506313,"filename":"image_11052026_18_01_14_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46dfafd4471293cecd12ab7ea2f18fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4526825318172753441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515506313,"filename":"image_11052026_18_03_14_30202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891729","file1":"1416891727","file0":"1416891726"},"map_files_photo_id_array":[{"photo_id":"1416891729","filename":"file2"},{"photo_id":"1416891727","filename":"file1"},{"photo_id":"1416891726","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416891726":["hashtag1","hashtag2"]},{"1416891729":["hashtag1","hashtag2"]},{"1416891727":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416891726, 1416891729, 1416891727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.076889276504517 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:05:04.223004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/12/image_08052026_22_13_05_29310.jpg', '/home/pi/Desktop/images/08052026/22/07/image_08052026_22_08_05_30366.jpg', '/home/pi/Desktop/images/08052026/22/05/image_08052026_22_06_05_29243.jpg', '/home/pi/Desktop/images/08052026/22/04/image_08052026_22_04_35_30322.jpg', '/home/pi/Desktop/images/08052026/22/03/image_08052026_22_04_05_29286.jpg', '/home/pi/Desktop/images/08052026/22/03/image_08052026_22_03_36_30338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/12/image_08052026_22_13_05_29310.jpg
/home/pi/Desktop/images/08052026/22/07/image_08052026_22_08_05_30366.jpg
/home/pi/Desktop/images/08052026/22/05/image_08052026_22_06_05_29243.jpg
/home/pi/Desktop/images/08052026/22/04/image_08052026_22_04_35_30322.jpg
/home/pi/Desktop/images/08052026/22/03/image_08052026_22_04_05_29286.jpg
/home/pi/Desktop/images/08052026/22/03/image_08052026_22_03_36_30338.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416891739","1416891741","1416891738","1416891740","1416891737","1416891940"],"photo_ids_order":["1416891737","1416891738","1416891739","1416891740","1416891741","1416891940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3bd65b92efecf607073d49d2104fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody638644279351049510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_06_05_29243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a299656865fe5b3d0fac584e744c61be.jpg","text":"TemporaryFile(/tmp/multipartBody3134545142660850325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_04_05_29286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4afd4333bb7ddd5ebdef3d7a91d9929.jpg","text":"TemporaryFile(/tmp/multipartBody2716589502826858664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_08_05_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e6d7f2a3cbaeb7d7b39b2e67272b956.jpg","text":"TemporaryFile(/tmp/multipartBody5097788867908801593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_04_35_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b994c68b900d8e156b6190dbd954422a.jpg","text":"TemporaryFile(/tmp/multipartBody6901630823242575896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_13_05_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/345d7a1b5562e06ae9f677a028d7dbe8.jpg","text":"TemporaryFile(/tmp/multipartBody573528829009579224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515567695,"filename":"image_08052026_22_03_36_30338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416891739","file1":"1416891738","file0":"1416891737","file4":"1416891741","file5":"1416891940","file3":"1416891740"},"map_files_photo_id_array":[{"photo_id":"1416891940","filename":"file5"},{"photo_id":"1416891739","filename":"file2"},{"photo_id":"1416891741","filename":"file4"},{"photo_id":"1416891738","filename":"file1"},{"photo_id":"1416891737","filename":"file0"},{"photo_id":"1416891740","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416891739":["hashtag1","hashtag2"]},{"1416891741":["hashtag1","hashtag2"]},{"1416891738":["hashtag1","hashtag2"]},{"1416891740":["hashtag1","hashtag2"]},{"1416891737":["hashtag1","hashtag2"]},{"1416891940":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416891739, 1416891741, 1416891738, 1416891740, 1416891737, 1416891940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.184314489364624 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:06:03.248916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/22/02/image_08052026_22_03_05_30297.jpg', '/home/pi/Desktop/images/08052026/22/01/image_08052026_22_02_06_30328.jpg', '/home/pi/Desktop/images/08052026/22/01/image_08052026_22_01_35_30322.jpg', '/home/pi/Desktop/images/08052026/22/00/image_08052026_22_00_36_30244.jpg', '/home/pi/Desktop/images/08052026/21/59/image_08052026_22_00_06_30333.jpg', '/home/pi/Desktop/images/08052026/21/58/image_08052026_21_59_05_29131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/22/02/image_08052026_22_03_05_30297.jpg
/home/pi/Desktop/images/08052026/22/01/image_08052026_22_02_06_30328.jpg
/home/pi/Desktop/images/08052026/22/01/image_08052026_22_01_35_30322.jpg
/home/pi/Desktop/images/08052026/22/00/image_08052026_22_00_36_30244.jpg
/home/pi/Desktop/images/08052026/21/59/image_08052026_22_00_06_30333.jpg
/home/pi/Desktop/images/08052026/21/58/image_08052026_21_59_05_29131.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416892833","1416892836","1416892838","1416892835","1416892837","1416892834"],"photo_ids_order":["1416892833","1416892834","1416892835","1416892836","1416892837","1416892838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f362e3afd04693dea38f46b56423f526.jpg","text":"TemporaryFile(/tmp/multipartBody3263776872564159323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_22_03_05_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31a50fa2c5a1dd6709d4f53fdcce8963.jpg","text":"TemporaryFile(/tmp/multipartBody840199910038895377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_22_00_36_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee9d0b9c7bbd8088d6190c42ad3307ee.jpg","text":"TemporaryFile(/tmp/multipartBody5661443834280976995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_21_59_05_29131.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40d12cc1abb9087b30aa6e65cddea236.jpg","text":"TemporaryFile(/tmp/multipartBody6727623122497866140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_22_01_35_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/555df7a460c6526b36788baff9eff327.jpg","text":"TemporaryFile(/tmp/multipartBody2655953978268803087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_22_00_06_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40bb4998731221601d635820e9d3acb8.jpg","text":"TemporaryFile(/tmp/multipartBody5916800844590433249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515626687,"filename":"image_08052026_22_02_06_30328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416892835","file1":"1416892834","file0":"1416892833","file4":"1416892837","file5":"1416892838","file3":"1416892836"},"map_files_photo_id_array":[{"photo_id":"1416892838","filename":"file5"},{"photo_id":"1416892835","filename":"file2"},{"photo_id":"1416892837","filename":"file4"},{"photo_id":"1416892834","filename":"file1"},{"photo_id":"1416892833","filename":"file0"},{"photo_id":"1416892836","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416892833":["hashtag1","hashtag2"]},{"1416892836":["hashtag1","hashtag2"]},{"1416892838":["hashtag1","hashtag2"]},{"1416892835":["hashtag1","hashtag2"]},{"1416892837":["hashtag1","hashtag2"]},{"1416892834":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416892833, 1416892836, 1416892838, 1416892835, 1416892837, 1416892834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.43485617637634 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:07:03.319074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/05/image_11052026_18_06_14_29183.jpg', '/home/pi/Desktop/images/11052026/18/03/image_11052026_18_04_14_30155.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/05/image_11052026_18_06_14_29183.jpg
/home/pi/Desktop/images/11052026/18/03/image_11052026_18_04_14_30155.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893197","1416893129"],"photo_ids_order":["1416893129","1416893197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b7fdcf5ce945dead210b3186f16cb76.jpg","text":"TemporaryFile(/tmp/multipartBody5306040654353814186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515684725,"filename":"image_11052026_18_04_14_30155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/404e4f58b0fd3f5062f076f9c9e7d34c.jpg","text":"TemporaryFile(/tmp/multipartBody4274198562230689779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515684725,"filename":"image_11052026_18_06_14_29183.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416893197","file0":"1416893129"},"map_files_photo_id_array":[{"photo_id":"1416893197","filename":"file1"},{"photo_id":"1416893129","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416893197":["hashtag1","hashtag2"]},{"1416893129":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416893197, 1416893129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.55302882194519 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:08:03.136236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/06/image_11052026_18_07_14_30232.jpg', '/home/pi/Desktop/images/11052026/18/06/image_11052026_18_06_44_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/06/image_11052026_18_07_14_30232.jpg
/home/pi/Desktop/images/11052026/18/06/image_11052026_18_06_44_30275.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893798","1416893797"],"photo_ids_order":["1416893797","1416893798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/334fdb7ecfee2efd8351918a9b528d03.jpg","text":"TemporaryFile(/tmp/multipartBody1066559999278891062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515744703,"filename":"image_11052026_18_06_44_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/66f246245c5200832441b7e1f402196f.jpg","text":"TemporaryFile(/tmp/multipartBody837369801063005000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515744703,"filename":"image_11052026_18_07_14_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416893798","file0":"1416893797"},"map_files_photo_id_array":[{"photo_id":"1416893798","filename":"file1"},{"photo_id":"1416893797","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416893798":["hashtag1","hashtag2"]},{"1416893797":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416893798, 1416893797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.29971218109131 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:09:04.199396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/15/image_08052026_00_16_06_30368.jpg', '/home/pi/Desktop/images/08052026/00/16/image_08052026_00_16_36_30229.jpg', '/home/pi/Desktop/images/08052026/00/16/image_08052026_00_17_05_29151.jpg', '/home/pi/Desktop/images/08052026/00/17/image_08052026_00_18_05_30275.jpg', '/home/pi/Desktop/images/08052026/00/18/image_08052026_00_18_36_30240.jpg', '/home/pi/Desktop/images/08052026/00/18/image_08052026_00_19_05_29118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/15/image_08052026_00_16_06_30368.jpg
/home/pi/Desktop/images/08052026/00/16/image_08052026_00_16_36_30229.jpg
/home/pi/Desktop/images/08052026/00/16/image_08052026_00_17_05_29151.jpg
/home/pi/Desktop/images/08052026/00/17/image_08052026_00_18_05_30275.jpg
/home/pi/Desktop/images/08052026/00/18/image_08052026_00_18_36_30240.jpg
/home/pi/Desktop/images/08052026/00/18/image_08052026_00_19_05_29118.jpg
2026-05-11 18:09:04.399059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/58/image_08052026_21_58_36_30302.jpg', '/home/pi/Desktop/images/08052026/21/57/image_08052026_21_58_05_30249.jpg', '/home/pi/Desktop/images/08052026/21/55/image_08052026_21_56_05_30317.jpg', '/home/pi/Desktop/images/08052026/21/52/image_08052026_21_52_35_30264.jpg', '/home/pi/Desktop/images/08052026/21/51/image_08052026_21_51_36_30284.jpg', '/home/pi/Desktop/images/08052026/21/50/image_08052026_21_51_05_30352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/58/image_08052026_21_58_36_30302.jpg
/home/pi/Desktop/images/08052026/21/57/image_08052026_21_58_05_30249.jpg
/home/pi/Desktop/images/08052026/21/55/image_08052026_21_56_05_30317.jpg
/home/pi/Desktop/images/08052026/21/52/image_08052026_21_52_35_30264.jpg
/home/pi/Desktop/images/08052026/21/51/image_08052026_21_51_36_30284.jpg
/home/pi/Desktop/images/08052026/21/50/image_08052026_21_51_05_30352.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.116825103759766 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893805","1416893810","1416893807","1416893801","1416893803","1416893800"],"photo_ids_order":["1416893800","1416893801","1416893803","1416893805","1416893807","1416893810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b35fcb565ed5f6475120994c85e95274.jpg","text":"TemporaryFile(/tmp/multipartBody3237091733598543800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_18_05_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/767896632426a2306cac921253f062ef.jpg","text":"TemporaryFile(/tmp/multipartBody7830978071846397337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_19_05_29118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5dee1052438d4d0f98fb2fb37c1ada9d.jpg","text":"TemporaryFile(/tmp/multipartBody5863282450154478153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_18_36_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c46258a6e77bc87538d943336ce3353.jpg","text":"TemporaryFile(/tmp/multipartBody2830762213997799630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_16_36_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5088e08850a5fc15a268dbce6ec4184.jpg","text":"TemporaryFile(/tmp/multipartBody7972905598793947792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_17_05_29151.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59ee9da88c4ddf8850459f6857666477.jpg","text":"TemporaryFile(/tmp/multipartBody6024399318378110840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515808772,"filename":"image_08052026_00_16_06_30368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416893803","file1":"1416893801","file0":"1416893800","file4":"1416893807","file5":"1416893810","file3":"1416893805"},"map_files_photo_id_array":[{"photo_id":"1416893810","filename":"file5"},{"photo_id":"1416893803","filename":"file2"},{"photo_id":"1416893807","filename":"file4"},{"photo_id":"1416893801","filename":"file1"},{"photo_id":"1416893800","filename":"file0"},{"photo_id":"1416893805","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416893805":["hashtag1","hashtag2"]},{"1416893810":["hashtag1","hashtag2"]},{"1416893807":["hashtag1","hashtag2"]},{"1416893801":["hashtag1","hashtag2"]},{"1416893803":["hashtag1","hashtag2"]},{"1416893800":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416893805, 1416893810, 1416893807, 1416893801, 1416893803, 1416893800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88426756858826 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:10:03.085299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/58/image_08052026_21_58_36_30302.jpg', '/home/pi/Desktop/images/08052026/21/57/image_08052026_21_58_05_30249.jpg', '/home/pi/Desktop/images/08052026/21/55/image_08052026_21_56_05_30317.jpg', '/home/pi/Desktop/images/08052026/21/52/image_08052026_21_52_35_30264.jpg', '/home/pi/Desktop/images/08052026/21/51/image_08052026_21_51_36_30284.jpg', '/home/pi/Desktop/images/08052026/21/50/image_08052026_21_51_05_30352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/58/image_08052026_21_58_36_30302.jpg
/home/pi/Desktop/images/08052026/21/57/image_08052026_21_58_05_30249.jpg
/home/pi/Desktop/images/08052026/21/55/image_08052026_21_56_05_30317.jpg
/home/pi/Desktop/images/08052026/21/52/image_08052026_21_52_35_30264.jpg
/home/pi/Desktop/images/08052026/21/51/image_08052026_21_51_36_30284.jpg
/home/pi/Desktop/images/08052026/21/50/image_08052026_21_51_05_30352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893817","1416893813","1416893816","1416893815","1416893812","1416893814"],"photo_ids_order":["1416893812","1416893813","1416893814","1416893815","1416893816","1416893817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/931e771f77803e336a9182eaaaa0f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody2114008334217171837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_51_05_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55464bf695e66b0a8e103f3904e1e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7616007192356797168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_58_05_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7efc5045287af84ce6264cfa34eb32ac.jpg","text":"TemporaryFile(/tmp/multipartBody1356197612586874205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_51_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8be324e7058defac611d015b9eb5f75.jpg","text":"TemporaryFile(/tmp/multipartBody1863514635366562311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_52_35_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de74123e19e12ba4722d9ee89b034620.jpg","text":"TemporaryFile(/tmp/multipartBody832298247940964654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_58_36_30302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8679f4d7f7ad7d3d99d7b12c5e450307.jpg","text":"TemporaryFile(/tmp/multipartBody96355914371817659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515867041,"filename":"image_08052026_21_56_05_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416893814","file1":"1416893813","file0":"1416893812","file4":"1416893816","file5":"1416893817","file3":"1416893815"},"map_files_photo_id_array":[{"photo_id":"1416893817","filename":"file5"},{"photo_id":"1416893814","filename":"file2"},{"photo_id":"1416893816","filename":"file4"},{"photo_id":"1416893813","filename":"file1"},{"photo_id":"1416893812","filename":"file0"},{"photo_id":"1416893815","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416893817":["hashtag1","hashtag2"]},{"1416893813":["hashtag1","hashtag2"]},{"1416893816":["hashtag1","hashtag2"]},{"1416893815":["hashtag1","hashtag2"]},{"1416893812":["hashtag1","hashtag2"]},{"1416893814":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416893817, 1416893813, 1416893816, 1416893815, 1416893812, 1416893814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66592001914978 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:11:03.548059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/07/image_11052026_18_07_44_30200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/07/image_11052026_18_07_44_30200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893822"],"photo_id":"1416893822","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2441a0b2000391fbdda2d98884227106.jpg","text":"TemporaryFile(/tmp/multipartBody9134802207069345608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515924836,"filename":"image_11052026_18_07_44_30200.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416893822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416893822"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.977813482284546 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:12:03.423348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/10/image_11052026_18_11_13_29136.jpg', '/home/pi/Desktop/images/11052026/18/10/image_11052026_18_10_44_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/10/image_11052026_18_11_13_29136.jpg
/home/pi/Desktop/images/11052026/18/10/image_11052026_18_10_44_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893828","1416893827"],"photo_ids_order":["1416893827","1416893828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1bb6fc5cf078385004fb9f8472bac06e.jpg","text":"TemporaryFile(/tmp/multipartBody5964130286309552198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515985205,"filename":"image_11052026_18_10_44_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68af7a25ec2936b5ed711131f487c639.jpg","text":"TemporaryFile(/tmp/multipartBody359046087576392513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778515985205,"filename":"image_11052026_18_11_13_29136.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416893828","file0":"1416893827"},"map_files_photo_id_array":[{"photo_id":"1416893828","filename":"file1"},{"photo_id":"1416893827","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416893828":["hashtag1","hashtag2"]},{"1416893827":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416893828, 1416893827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.102415800094604 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:13:03.796679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/11/image_11052026_18_11_44_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/11/image_11052026_18_11_44_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893830"],"photo_id":"1416893830","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70e339e992ad81e7463265a042c22304.jpg","text":"TemporaryFile(/tmp/multipartBody9215061763685109189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516044941,"filename":"image_11052026_18_11_44_30225.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416893830"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416893830"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.555489778518677 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:14:03.783728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/19/image_08052026_00_19_35_30319.jpg', '/home/pi/Desktop/images/08052026/00/19/image_08052026_00_20_05_30306.jpg', '/home/pi/Desktop/images/08052026/00/21/image_08052026_00_22_06_30337.jpg', '/home/pi/Desktop/images/08052026/00/22/image_08052026_00_22_35_29333.jpg', '/home/pi/Desktop/images/08052026/00/24/image_08052026_00_24_35_30333.jpg', '/home/pi/Desktop/images/08052026/00/26/image_08052026_00_26_35_30238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/19/image_08052026_00_19_35_30319.jpg
/home/pi/Desktop/images/08052026/00/19/image_08052026_00_20_05_30306.jpg
/home/pi/Desktop/images/08052026/00/21/image_08052026_00_22_06_30337.jpg
/home/pi/Desktop/images/08052026/00/22/image_08052026_00_22_35_29333.jpg
/home/pi/Desktop/images/08052026/00/24/image_08052026_00_24_35_30333.jpg
/home/pi/Desktop/images/08052026/00/26/image_08052026_00_26_35_30238.jpg
2026-05-11 18:14:03.923388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/50/image_08052026_21_50_35_29311.jpg', '/home/pi/Desktop/images/08052026/21/49/image_08052026_21_50_06_30419.jpg', '/home/pi/Desktop/images/08052026/21/49/image_08052026_21_49_35_30268.jpg', '/home/pi/Desktop/images/08052026/21/48/image_08052026_21_49_05_29186.jpg', '/home/pi/Desktop/images/08052026/21/48/image_08052026_21_48_36_30229.jpg', '/home/pi/Desktop/images/08052026/21/47/image_08052026_21_47_35_30308.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/50/image_08052026_21_50_35_29311.jpg
/home/pi/Desktop/images/08052026/21/49/image_08052026_21_50_06_30419.jpg
/home/pi/Desktop/images/08052026/21/49/image_08052026_21_49_35_30268.jpg
/home/pi/Desktop/images/08052026/21/48/image_08052026_21_49_05_29186.jpg
/home/pi/Desktop/images/08052026/21/48/image_08052026_21_48_36_30229.jpg
/home/pi/Desktop/images/08052026/21/47/image_08052026_21_47_35_30308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893837","1416893845","1416893836","1416893839","1416893832","1416893841"],"photo_ids_order":["1416893832","1416893836","1416893837","1416893839","1416893841","1416893845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e92098dfd4df16cdaead51647b25be5.jpg","text":"TemporaryFile(/tmp/multipartBody1372136502875195664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_22_06_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02a98387e44c093d7737d255500f53f5.jpg","text":"TemporaryFile(/tmp/multipartBody2362134482604550859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_26_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/632f6b26eb437d7e94151bf128568c69.jpg","text":"TemporaryFile(/tmp/multipartBody6973223972468136055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_20_05_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/257b98f1a213f49f4b2c45a7f64016a0.jpg","text":"TemporaryFile(/tmp/multipartBody7951893554030807567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_22_35_29333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6fc2685202230a004811921a6ec8a25b.jpg","text":"TemporaryFile(/tmp/multipartBody727817979456161844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_19_35_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3b9eed9d27dc1afaf9049a67aae4f02.jpg","text":"TemporaryFile(/tmp/multipartBody6619141781870466759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109533,"filename":"image_08052026_00_24_35_30333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416893837","file1":"1416893836","file0":"1416893832","file4":"1416893841","file5":"1416893845","file3":"1416893839"},"map_files_photo_id_array":[{"photo_id":"1416893845","filename":"file5"},{"photo_id":"1416893837","filename":"file2"},{"photo_id":"1416893841","filename":"file4"},{"photo_id":"1416893836","filename":"file1"},{"photo_id":"1416893832","filename":"file0"},{"photo_id":"1416893839","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416893837":["hashtag1","hashtag2"]},{"1416893845":["hashtag1","hashtag2"]},{"1416893836":["hashtag1","hashtag2"]},{"1416893839":["hashtag1","hashtag2"]},{"1416893832":["hashtag1","hashtag2"]},{"1416893841":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416893837, 1416893845, 1416893836, 1416893839, 1416893832, 1416893841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.93261647224426 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893840","1416893846","1416893833","1416893842","1416893838","1416893835"],"photo_ids_order":["1416893833","1416893835","1416893838","1416893840","1416893842","1416893846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9c4fb1404cc0979272e585a36c0d7b5.jpg","text":"TemporaryFile(/tmp/multipartBody3688410151813306997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_49_05_29186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/613e5363342354f0b4d6df4c77624316.jpg","text":"TemporaryFile(/tmp/multipartBody6573053790457927229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_47_35_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa0fd06b842b8ee9206824b26c7dec34.jpg","text":"TemporaryFile(/tmp/multipartBody485184245110771120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_50_35_29311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09caa9ff2780cb1b87c8c4931684427b.jpg","text":"TemporaryFile(/tmp/multipartBody8316097883808608196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_48_36_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17dd25868b68c72f1ae8a97ddf4607ea.jpg","text":"TemporaryFile(/tmp/multipartBody5198042017663470556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_49_35_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc5a787461ae2c9dc55d90ac07c5d42f.jpg","text":"TemporaryFile(/tmp/multipartBody4989749772340173830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516109609,"filename":"image_08052026_21_50_06_30419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416893838","file1":"1416893835","file0":"1416893833","file4":"1416893842","file5":"1416893846","file3":"1416893840"},"map_files_photo_id_array":[{"photo_id":"1416893846","filename":"file5"},{"photo_id":"1416893838","filename":"file2"},{"photo_id":"1416893842","filename":"file4"},{"photo_id":"1416893835","filename":"file1"},{"photo_id":"1416893833","filename":"file0"},{"photo_id":"1416893840","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416893840":["hashtag1","hashtag2"]},{"1416893846":["hashtag1","hashtag2"]},{"1416893833":["hashtag1","hashtag2"]},{"1416893842":["hashtag1","hashtag2"]},{"1416893838":["hashtag1","hashtag2"]},{"1416893835":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416893840, 1416893846, 1416893833, 1416893842, 1416893838, 1416893835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9803307056427 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:15:04.213943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/42/image_08052026_21_42_35_29327.jpg', '/home/pi/Desktop/images/08052026/21/41/image_08052026_21_42_06_30435.jpg', '/home/pi/Desktop/images/08052026/21/40/image_08052026_21_41_05_29201.jpg', '/home/pi/Desktop/images/08052026/21/40/image_08052026_21_40_36_30366.jpg', '/home/pi/Desktop/images/08052026/21/39/image_08052026_21_40_05_30360.jpg', '/home/pi/Desktop/images/08052026/21/39/image_08052026_21_39_35_29294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/42/image_08052026_21_42_35_29327.jpg
/home/pi/Desktop/images/08052026/21/41/image_08052026_21_42_06_30435.jpg
/home/pi/Desktop/images/08052026/21/40/image_08052026_21_41_05_29201.jpg
/home/pi/Desktop/images/08052026/21/40/image_08052026_21_40_36_30366.jpg
/home/pi/Desktop/images/08052026/21/39/image_08052026_21_40_05_30360.jpg
/home/pi/Desktop/images/08052026/21/39/image_08052026_21_39_35_29294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416893849","1416893852","1416893851","1416893848","1416893850","1416893847"],"photo_ids_order":["1416893847","1416893848","1416893849","1416893850","1416893851","1416893852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d573c0353415efc2b14d2d87014bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody358221430859846798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_41_05_29201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db4924efb3c466de0d2046151a9f63bf.jpg","text":"TemporaryFile(/tmp/multipartBody3933825896419612865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_39_35_29294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af51668cf4099f0a0142fc015b1cacd5.jpg","text":"TemporaryFile(/tmp/multipartBody3392600864395840661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_40_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dec6b5720a21e2a495227b36e73df8e7.jpg","text":"TemporaryFile(/tmp/multipartBody8092839353268801365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_42_06_30435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d54bbe836be8329a08a4598c7caa8078.jpg","text":"TemporaryFile(/tmp/multipartBody8134451065148526580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_40_36_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4770779b650a5f388bd40dbdf94c6a1a.jpg","text":"TemporaryFile(/tmp/multipartBody816360587779135390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516167907,"filename":"image_08052026_21_42_35_29327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416893849","file1":"1416893848","file0":"1416893847","file4":"1416893851","file5":"1416893852","file3":"1416893850"},"map_files_photo_id_array":[{"photo_id":"1416893852","filename":"file5"},{"photo_id":"1416893849","filename":"file2"},{"photo_id":"1416893851","filename":"file4"},{"photo_id":"1416893848","filename":"file1"},{"photo_id":"1416893847","filename":"file0"},{"photo_id":"1416893850","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416893849":["hashtag1","hashtag2"]},{"1416893852":["hashtag1","hashtag2"]},{"1416893851":["hashtag1","hashtag2"]},{"1416893848":["hashtag1","hashtag2"]},{"1416893850":["hashtag1","hashtag2"]},{"1416893847":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416893849, 1416893852, 1416893851, 1416893848, 1416893850, 1416893847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09723734855652 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:16:03.816168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/38/image_08052026_21_39_06_30346.jpg', '/home/pi/Desktop/images/08052026/21/37/image_08052026_21_38_05_29304.jpg', '/home/pi/Desktop/images/08052026/21/35/image_08052026_21_36_06_30374.jpg', '/home/pi/Desktop/images/08052026/21/35/image_08052026_21_35_35_30300.jpg', '/home/pi/Desktop/images/08052026/21/34/image_08052026_21_35_05_29150.jpg', '/home/pi/Desktop/images/08052026/21/34/image_08052026_21_34_36_30219.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/38/image_08052026_21_39_06_30346.jpg
/home/pi/Desktop/images/08052026/21/37/image_08052026_21_38_05_29304.jpg
/home/pi/Desktop/images/08052026/21/35/image_08052026_21_36_06_30374.jpg
/home/pi/Desktop/images/08052026/21/35/image_08052026_21_35_35_30300.jpg
/home/pi/Desktop/images/08052026/21/34/image_08052026_21_35_05_29150.jpg
/home/pi/Desktop/images/08052026/21/34/image_08052026_21_34_36_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894062","1416894061","1416894064","1416894060","1416894063","1416894065"],"photo_ids_order":["1416894060","1416894061","1416894062","1416894063","1416894064","1416894065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ffca3d2c78edfe9ac279a41a536c4efa.jpg","text":"TemporaryFile(/tmp/multipartBody8701541050455405444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_36_06_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37b45faf0f1c230842df8fc42a15b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8613279779729367005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_38_05_29304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09a25f89ea722a12dbfeb86fd7f5d15e.jpg","text":"TemporaryFile(/tmp/multipartBody6737138382720402016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_35_05_29150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/726af33ed24d479ecdb6f9041bbda373.jpg","text":"TemporaryFile(/tmp/multipartBody1233022162831448459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_39_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7e82a2d82795e3449b2d8b9e78600f4.jpg","text":"TemporaryFile(/tmp/multipartBody8357801544933306584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_35_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c2ba3342acda62b5df44c1473fa0f30.jpg","text":"TemporaryFile(/tmp/multipartBody1487207321581948117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516227430,"filename":"image_08052026_21_34_36_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894062","file1":"1416894061","file0":"1416894060","file4":"1416894064","file5":"1416894065","file3":"1416894063"},"map_files_photo_id_array":[{"photo_id":"1416894065","filename":"file5"},{"photo_id":"1416894062","filename":"file2"},{"photo_id":"1416894064","filename":"file4"},{"photo_id":"1416894061","filename":"file1"},{"photo_id":"1416894060","filename":"file0"},{"photo_id":"1416894063","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894062":["hashtag1","hashtag2"]},{"1416894061":["hashtag1","hashtag2"]},{"1416894064":["hashtag1","hashtag2"]},{"1416894060":["hashtag1","hashtag2"]},{"1416894063":["hashtag1","hashtag2"]},{"1416894065":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894062, 1416894061, 1416894064, 1416894060, 1416894063, 1416894065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13612604141235 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:17:04.109413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/11/image_11052026_18_12_14_30133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/11/image_11052026_18_12_14_30133.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9537227153778076 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:18:03.452055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/16/image_11052026_18_16_43_29164.jpg', '/home/pi/Desktop/images/11052026/18/11/image_11052026_18_12_14_30133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/16/image_11052026_18_16_43_29164.jpg
/home/pi/Desktop/images/11052026/18/11/image_11052026_18_12_14_30133.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894074","1416894075"],"photo_ids_order":["1416894074","1416894075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1566dc2a6088006545cb02b0e0c256e.jpg","text":"TemporaryFile(/tmp/multipartBody1465812188665838574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516345182,"filename":"image_11052026_18_16_43_29164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a99156bfad80a863550f2aa5c326bc77.jpg","text":"TemporaryFile(/tmp/multipartBody6481003856866872455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516345182,"filename":"image_11052026_18_12_14_30133.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416894075","file0":"1416894074"},"map_files_photo_id_array":[{"photo_id":"1416894075","filename":"file1"},{"photo_id":"1416894074","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894074":["hashtag1","hashtag2"]},{"1416894075":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894074, 1416894075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.22708249092102 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:19:04.229694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/29/image_08052026_00_29_35_29226.jpg', '/home/pi/Desktop/images/08052026/00/29/image_08052026_00_30_05_30372.jpg', '/home/pi/Desktop/images/08052026/00/31/image_08052026_00_32_06_30310.jpg', '/home/pi/Desktop/images/08052026/00/32/image_08052026_00_32_36_30231.jpg', '/home/pi/Desktop/images/08052026/00/32/image_08052026_00_33_05_29140.jpg', '/home/pi/Desktop/images/08052026/00/33/image_08052026_00_33_35_30303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/29/image_08052026_00_29_35_29226.jpg
/home/pi/Desktop/images/08052026/00/29/image_08052026_00_30_05_30372.jpg
/home/pi/Desktop/images/08052026/00/31/image_08052026_00_32_06_30310.jpg
/home/pi/Desktop/images/08052026/00/32/image_08052026_00_32_36_30231.jpg
/home/pi/Desktop/images/08052026/00/32/image_08052026_00_33_05_29140.jpg
/home/pi/Desktop/images/08052026/00/33/image_08052026_00_33_35_30303.jpg
2026-05-11 18:19:04.397404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg', '/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.22622275352478 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894080","1416894082","1416894084","1416894078","1416894077","1416894086"],"photo_ids_order":["1416894077","1416894078","1416894080","1416894082","1416894084","1416894086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8da64a03bd8a18cb484e40a8f7e9d16.jpg","text":"TemporaryFile(/tmp/multipartBody4137748804261625228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_32_06_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a1c950904b076557ff479a3b8fa537c.jpg","text":"TemporaryFile(/tmp/multipartBody545004325700063749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_32_36_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cd60d3093591d8a02e4031c1a0b555b.jpg","text":"TemporaryFile(/tmp/multipartBody2408388069480023865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_33_05_29140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6acc8e56f49bd4b5f2d646d73a4cfd18.jpg","text":"TemporaryFile(/tmp/multipartBody5567982056977031862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_30_05_30372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04a6189615c18db41ac3d301c8bce1be.jpg","text":"TemporaryFile(/tmp/multipartBody9107547724308013924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_29_35_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c70e3f69772011ef01a1933cf6eec53c.jpg","text":"TemporaryFile(/tmp/multipartBody455562037788837952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516409434,"filename":"image_08052026_00_33_35_30303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894080","file1":"1416894078","file0":"1416894077","file4":"1416894084","file5":"1416894086","file3":"1416894082"},"map_files_photo_id_array":[{"photo_id":"1416894086","filename":"file5"},{"photo_id":"1416894080","filename":"file2"},{"photo_id":"1416894084","filename":"file4"},{"photo_id":"1416894078","filename":"file1"},{"photo_id":"1416894077","filename":"file0"},{"photo_id":"1416894082","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894080":["hashtag1","hashtag2"]},{"1416894082":["hashtag1","hashtag2"]},{"1416894084":["hashtag1","hashtag2"]},{"1416894078":["hashtag1","hashtag2"]},{"1416894077":["hashtag1","hashtag2"]},{"1416894086":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894080, 1416894082, 1416894084, 1416894078, 1416894077, 1416894086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.159035205841064 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:20:03.150345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/18/image_11052026_18_18_44_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/18/image_11052026_18_18_44_30182.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894089"],"photo_id":"1416894089","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2bdcbe027760eea0eed7306cbe7d457.jpg","text":"TemporaryFile(/tmp/multipartBody3987326437760723343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516464309,"filename":"image_11052026_18_18_44_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416894089"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416894089"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.68346381187439 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:21:03.620602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg', '/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.230064153671265 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:22:03.471374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/19/image_11052026_18_19_44_30039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/19/image_11052026_18_19_44_30039.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894097"],"photo_id":"1416894097","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/109c5e7b48c0ae31c515fb59a19cd737.jpg","text":"TemporaryFile(/tmp/multipartBody4438072845266715050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516584620,"filename":"image_11052026_18_19_44_30039.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416894097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416894097"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.217844247817993 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:23:03.955276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg', '/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg', '/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg', '/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_34_06_30397.jpg
/home/pi/Desktop/images/08052026/21/33/image_08052026_21_33_35_30339.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_33_05_29238.jpg
/home/pi/Desktop/images/08052026/21/32/image_08052026_21_32_36_30333.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_32_05_30374.jpg
/home/pi/Desktop/images/08052026/21/31/image_08052026_21_31_35_29312.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894110","1416894107","1416894112","1416894106","1416894109","1416894108"],"photo_ids_order":["1416894106","1416894107","1416894108","1416894109","1416894110","1416894112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0fabe5a43504bc26a39e977c9b8678e2.jpg","text":"TemporaryFile(/tmp/multipartBody4093044368606628409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_32_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5469aff611e604b95345ada27510b22.jpg","text":"TemporaryFile(/tmp/multipartBody5596646130356288250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_33_35_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/803a7145fcfe03c0dcf3be50019de00f.jpg","text":"TemporaryFile(/tmp/multipartBody697486130749869952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_31_35_29312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/857bbddadca2b051174c536e80dc4d87.jpg","text":"TemporaryFile(/tmp/multipartBody6560318835099383158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_34_06_30397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1e0f09c7d1ae73b111aed9a147a3f74.jpg","text":"TemporaryFile(/tmp/multipartBody8602671095356969447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_32_36_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c5c97b46e0c7d7d569a174a5ed8ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody8167452594273961090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516647704,"filename":"image_08052026_21_33_05_29238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894108","file1":"1416894107","file0":"1416894106","file4":"1416894110","file5":"1416894112","file3":"1416894109"},"map_files_photo_id_array":[{"photo_id":"1416894112","filename":"file5"},{"photo_id":"1416894108","filename":"file2"},{"photo_id":"1416894110","filename":"file4"},{"photo_id":"1416894107","filename":"file1"},{"photo_id":"1416894106","filename":"file0"},{"photo_id":"1416894109","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894110":["hashtag1","hashtag2"]},{"1416894107":["hashtag1","hashtag2"]},{"1416894112":["hashtag1","hashtag2"]},{"1416894106":["hashtag1","hashtag2"]},{"1416894109":["hashtag1","hashtag2"]},{"1416894108":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894110, 1416894107, 1416894112, 1416894106, 1416894109, 1416894108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.939290046691895 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:24:04.036050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/34/image_08052026_00_34_36_30285.jpg', '/home/pi/Desktop/images/08052026/00/35/image_08052026_00_35_35_30345.jpg', '/home/pi/Desktop/images/08052026/00/35/image_08052026_00_36_06_30357.jpg', '/home/pi/Desktop/images/08052026/00/36/image_08052026_00_36_35_29226.jpg', '/home/pi/Desktop/images/08052026/00/36/image_08052026_00_37_05_30327.jpg', '/home/pi/Desktop/images/08052026/00/37/image_08052026_00_37_36_30350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/34/image_08052026_00_34_36_30285.jpg
/home/pi/Desktop/images/08052026/00/35/image_08052026_00_35_35_30345.jpg
/home/pi/Desktop/images/08052026/00/35/image_08052026_00_36_06_30357.jpg
/home/pi/Desktop/images/08052026/00/36/image_08052026_00_36_35_29226.jpg
/home/pi/Desktop/images/08052026/00/36/image_08052026_00_37_05_30327.jpg
/home/pi/Desktop/images/08052026/00/37/image_08052026_00_37_36_30350.jpg
2026-05-11 18:24:04.140164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/30/image_08052026_21_31_06_30389.jpg', '/home/pi/Desktop/images/08052026/21/30/image_08052026_21_30_35_30235.jpg', '/home/pi/Desktop/images/08052026/21/29/image_08052026_21_30_05_29205.jpg', '/home/pi/Desktop/images/08052026/21/29/image_08052026_21_29_36_30289.jpg', '/home/pi/Desktop/images/08052026/21/28/image_08052026_21_29_06_30330.jpg', '/home/pi/Desktop/images/08052026/21/28/image_08052026_21_28_35_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/30/image_08052026_21_31_06_30389.jpg
/home/pi/Desktop/images/08052026/21/30/image_08052026_21_30_35_30235.jpg
/home/pi/Desktop/images/08052026/21/29/image_08052026_21_30_05_29205.jpg
/home/pi/Desktop/images/08052026/21/29/image_08052026_21_29_36_30289.jpg
/home/pi/Desktop/images/08052026/21/28/image_08052026_21_29_06_30330.jpg
/home/pi/Desktop/images/08052026/21/28/image_08052026_21_28_35_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894125","1416894119","1416894130","1416894127","1416894121","1416894123"],"photo_ids_order":["1416894119","1416894121","1416894123","1416894125","1416894127","1416894130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8d8da1f917f9a6f6f68e5f24b42b3a36.jpg","text":"TemporaryFile(/tmp/multipartBody6848528701460999672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_36_35_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7048db47792ddf2a7d079fae1fc8e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2880984639585410589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_34_36_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e93a2ddb4275c59222cf63f2abaaa7e2.jpg","text":"TemporaryFile(/tmp/multipartBody4928204093756645534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_37_36_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79a7f8fda5e2e61028933930801554df.jpg","text":"TemporaryFile(/tmp/multipartBody6831253547443034697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_37_05_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ade788ba6d6d4caf5019192f6bfe5019.jpg","text":"TemporaryFile(/tmp/multipartBody1234777833663348825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_35_35_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b92656e939ff7349a7fdf84c7fcfeb4.jpg","text":"TemporaryFile(/tmp/multipartBody4793324346104667843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709060,"filename":"image_08052026_00_36_06_30357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894123","file1":"1416894121","file0":"1416894119","file4":"1416894127","file5":"1416894130","file3":"1416894125"},"map_files_photo_id_array":[{"photo_id":"1416894130","filename":"file5"},{"photo_id":"1416894123","filename":"file2"},{"photo_id":"1416894127","filename":"file4"},{"photo_id":"1416894121","filename":"file1"},{"photo_id":"1416894119","filename":"file0"},{"photo_id":"1416894125","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894125":["hashtag1","hashtag2"]},{"1416894119":["hashtag1","hashtag2"]},{"1416894130":["hashtag1","hashtag2"]},{"1416894127":["hashtag1","hashtag2"]},{"1416894121":["hashtag1","hashtag2"]},{"1416894123":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894125, 1416894119, 1416894130, 1416894127, 1416894121, 1416894123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.460750579833984 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894128","1416894122","1416894131","1416894124","1416894126","1416894120"],"photo_ids_order":["1416894120","1416894122","1416894124","1416894126","1416894128","1416894131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5f49ca5aae39081f4643d4c4397f9d2.jpg","text":"TemporaryFile(/tmp/multipartBody413782857138393602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_29_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed3c4a3bf33f551d35c980a5983420bc.jpg","text":"TemporaryFile(/tmp/multipartBody508831964884555688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_30_35_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3676ba1149fae6e2857e30ea38eb1261.jpg","text":"TemporaryFile(/tmp/multipartBody328965843214786221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_28_35_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d6bdc83d0c656f4ac8037442a9217397.jpg","text":"TemporaryFile(/tmp/multipartBody1327971394176961888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_30_05_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef5d9fe5119836d0c9ca3bc160f8cecc.jpg","text":"TemporaryFile(/tmp/multipartBody967052111426302682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_29_36_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28ca7c785932310055f0ac8fa246d4fb.jpg","text":"TemporaryFile(/tmp/multipartBody3059087180057491612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516709530,"filename":"image_08052026_21_31_06_30389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894124","file1":"1416894122","file0":"1416894120","file4":"1416894128","file5":"1416894131","file3":"1416894126"},"map_files_photo_id_array":[{"photo_id":"1416894131","filename":"file5"},{"photo_id":"1416894124","filename":"file2"},{"photo_id":"1416894128","filename":"file4"},{"photo_id":"1416894122","filename":"file1"},{"photo_id":"1416894120","filename":"file0"},{"photo_id":"1416894126","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894128":["hashtag1","hashtag2"]},{"1416894122":["hashtag1","hashtag2"]},{"1416894131":["hashtag1","hashtag2"]},{"1416894124":["hashtag1","hashtag2"]},{"1416894126":["hashtag1","hashtag2"]},{"1416894120":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894128, 1416894122, 1416894131, 1416894124, 1416894126, 1416894120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.813918113708496 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:25:04.582696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/26/image_08052026_21_26_35_29354.jpg', '/home/pi/Desktop/images/08052026/21/22/image_08052026_21_23_05_29292.jpg', '/home/pi/Desktop/images/08052026/21/17/image_08052026_21_17_35_30318.jpg', '/home/pi/Desktop/images/08052026/21/16/image_08052026_21_17_05_29138.jpg', '/home/pi/Desktop/images/08052026/21/03/image_08052026_21_03_35_30300.jpg', '/home/pi/Desktop/images/08052026/21/02/image_08052026_21_02_36_30351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/26/image_08052026_21_26_35_29354.jpg
/home/pi/Desktop/images/08052026/21/22/image_08052026_21_23_05_29292.jpg
/home/pi/Desktop/images/08052026/21/17/image_08052026_21_17_35_30318.jpg
/home/pi/Desktop/images/08052026/21/16/image_08052026_21_17_05_29138.jpg
/home/pi/Desktop/images/08052026/21/03/image_08052026_21_03_35_30300.jpg
/home/pi/Desktop/images/08052026/21/02/image_08052026_21_02_36_30351.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.730609655380249 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:26:02.920596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/26/image_08052026_21_26_35_29354.jpg', '/home/pi/Desktop/images/08052026/21/22/image_08052026_21_23_05_29292.jpg', '/home/pi/Desktop/images/08052026/21/17/image_08052026_21_17_35_30318.jpg', '/home/pi/Desktop/images/08052026/21/16/image_08052026_21_17_05_29138.jpg', '/home/pi/Desktop/images/08052026/21/03/image_08052026_21_03_35_30300.jpg', '/home/pi/Desktop/images/08052026/21/02/image_08052026_21_02_36_30351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/26/image_08052026_21_26_35_29354.jpg
/home/pi/Desktop/images/08052026/21/22/image_08052026_21_23_05_29292.jpg
/home/pi/Desktop/images/08052026/21/17/image_08052026_21_17_35_30318.jpg
/home/pi/Desktop/images/08052026/21/16/image_08052026_21_17_05_29138.jpg
/home/pi/Desktop/images/08052026/21/03/image_08052026_21_03_35_30300.jpg
/home/pi/Desktop/images/08052026/21/02/image_08052026_21_02_36_30351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894140","1416894143","1416894142","1416894139","1416894141","1416894138"],"photo_ids_order":["1416894138","1416894139","1416894140","1416894141","1416894142","1416894143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/547a1b62c26976039cde5bac325e4e32.jpg","text":"TemporaryFile(/tmp/multipartBody935853602572756588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_17_35_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7610eb7a62039632f4719878d32a74d4.jpg","text":"TemporaryFile(/tmp/multipartBody8095636587623132470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_02_36_30351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e8e3566adefcc989edf59fdd352dae9.jpg","text":"TemporaryFile(/tmp/multipartBody878873573963274436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_03_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d39dbb1ecb3f3dc651326c33e34faeb.jpg","text":"TemporaryFile(/tmp/multipartBody8121941004294655911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_23_05_29292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2f45a004c34388b77879df0dd7f4e43.jpg","text":"TemporaryFile(/tmp/multipartBody8003972397074919607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_17_05_29138.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f1f15ee90ccdfac0e8dbe1336dd7980.jpg","text":"TemporaryFile(/tmp/multipartBody6948439430273215106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516827111,"filename":"image_08052026_21_26_35_29354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894140","file1":"1416894139","file0":"1416894138","file4":"1416894142","file5":"1416894143","file3":"1416894141"},"map_files_photo_id_array":[{"photo_id":"1416894143","filename":"file5"},{"photo_id":"1416894140","filename":"file2"},{"photo_id":"1416894142","filename":"file4"},{"photo_id":"1416894139","filename":"file1"},{"photo_id":"1416894138","filename":"file0"},{"photo_id":"1416894141","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894140":["hashtag1","hashtag2"]},{"1416894143":["hashtag1","hashtag2"]},{"1416894142":["hashtag1","hashtag2"]},{"1416894139":["hashtag1","hashtag2"]},{"1416894141":["hashtag1","hashtag2"]},{"1416894138":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894140, 1416894143, 1416894142, 1416894139, 1416894141, 1416894138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08734369277954 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:27:04.142041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/20/image_11052026_18_21_14_30083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/20/image_11052026_18_21_14_30083.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894145"],"photo_id":"1416894145","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4d89af94f8f7db21c4d55e512155ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5430472325762635263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516885305,"filename":"image_11052026_18_21_14_30083.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416894145"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416894145"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.341463327407837 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:28:03.093253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/21/01/image_08052026_21_01_35_29293.jpg', '/home/pi/Desktop/images/08052026/21/00/image_08052026_21_01_06_30383.jpg', '/home/pi/Desktop/images/08052026/21/00/image_08052026_21_00_35_30328.jpg', '/home/pi/Desktop/images/08052026/20/59/image_08052026_20_59_36_30334.jpg', '/home/pi/Desktop/images/08052026/20/58/image_08052026_20_59_05_30313.jpg', '/home/pi/Desktop/images/08052026/20/58/image_08052026_20_58_35_29344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/21/01/image_08052026_21_01_35_29293.jpg
/home/pi/Desktop/images/08052026/21/00/image_08052026_21_01_06_30383.jpg
/home/pi/Desktop/images/08052026/21/00/image_08052026_21_00_35_30328.jpg
/home/pi/Desktop/images/08052026/20/59/image_08052026_20_59_36_30334.jpg
/home/pi/Desktop/images/08052026/20/58/image_08052026_20_59_05_30313.jpg
/home/pi/Desktop/images/08052026/20/58/image_08052026_20_58_35_29344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894152","1416894149","1416894151","1416894148","1416894150","1416894147"],"photo_ids_order":["1416894147","1416894148","1416894149","1416894150","1416894151","1416894152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8edeb088d6b272fd681ee90e7b64ad28.jpg","text":"TemporaryFile(/tmp/multipartBody1690738522599732205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_20_58_35_29344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bdd3af040913b1fcc956ba3eb8562477.jpg","text":"TemporaryFile(/tmp/multipartBody5479504779992826331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_21_00_35_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f0c26130e10947bc0439d834455299f.jpg","text":"TemporaryFile(/tmp/multipartBody1094182844915085796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_20_59_05_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55de1c98fdebfbbcb080acf6ba08fd97.jpg","text":"TemporaryFile(/tmp/multipartBody5493501112563778397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_21_01_06_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/842f2fca50f4aac1284c4f035e7df27f.jpg","text":"TemporaryFile(/tmp/multipartBody1778089272478269923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_20_59_36_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/934b5a7487baf6e05192bc0c931a7883.jpg","text":"TemporaryFile(/tmp/multipartBody587572968295423953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778516946498,"filename":"image_08052026_21_01_35_29293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894149","file1":"1416894148","file0":"1416894147","file4":"1416894151","file5":"1416894152","file3":"1416894150"},"map_files_photo_id_array":[{"photo_id":"1416894152","filename":"file5"},{"photo_id":"1416894149","filename":"file2"},{"photo_id":"1416894151","filename":"file4"},{"photo_id":"1416894148","filename":"file1"},{"photo_id":"1416894147","filename":"file0"},{"photo_id":"1416894150","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894152":["hashtag1","hashtag2"]},{"1416894149":["hashtag1","hashtag2"]},{"1416894151":["hashtag1","hashtag2"]},{"1416894148":["hashtag1","hashtag2"]},{"1416894150":["hashtag1","hashtag2"]},{"1416894147":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894152, 1416894149, 1416894151, 1416894148, 1416894150, 1416894147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.630181312561035 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:29:04.828383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/26/image_11052026_18_26_44_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/26/image_11052026_18_26_44_30282.jpg
2026-05-11 18:29:04.874574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/26/image_11052026_18_26_44_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/26/image_11052026_18_26_44_30282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894155"],"photo_id":"1416894155","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20795d47885a20c632ab5f1c44b966ad.jpg","text":"TemporaryFile(/tmp/multipartBody6261402111196729510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517006382,"filename":"image_11052026_18_26_44_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416894155"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416894155"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.075496673583984 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894154"],"photo_id":"1416894154","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a51b4647d353134c4fcee4f24ff3e90.jpg","text":"TemporaryFile(/tmp/multipartBody3476778850381141756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517006174,"filename":"image_11052026_18_26_44_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416894154"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416894154"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.758131504058838 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:30:03.621182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/53/image_08052026_20_53_35_29207.jpg', '/home/pi/Desktop/images/08052026/20/51/image_08052026_20_52_05_30434.jpg', '/home/pi/Desktop/images/08052026/20/51/image_08052026_20_51_35_29244.jpg', '/home/pi/Desktop/images/08052026/20/50/image_08052026_20_51_06_30324.jpg', '/home/pi/Desktop/images/08052026/20/50/image_08052026_20_50_35_30295.jpg', '/home/pi/Desktop/images/08052026/20/49/image_08052026_20_50_05_29231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/53/image_08052026_20_53_35_29207.jpg
/home/pi/Desktop/images/08052026/20/51/image_08052026_20_52_05_30434.jpg
/home/pi/Desktop/images/08052026/20/51/image_08052026_20_51_35_29244.jpg
/home/pi/Desktop/images/08052026/20/50/image_08052026_20_51_06_30324.jpg
/home/pi/Desktop/images/08052026/20/50/image_08052026_20_50_35_30295.jpg
/home/pi/Desktop/images/08052026/20/49/image_08052026_20_50_05_29231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894163","1416894166","1416894171","1416894168","1416894170","1416894164"],"photo_ids_order":["1416894163","1416894164","1416894166","1416894168","1416894170","1416894171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d47409fd4dbaa77c1cbd31966c2a6e27.jpg","text":"TemporaryFile(/tmp/multipartBody5067185069866646861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_53_35_29207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b3bcd5c3e7f9e09ac62ee7fc2c1bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody656953629040707382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_51_35_29244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e8ab183cbea35c3bf522fd07f358cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3347775800160973916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_50_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b6c36b3444e7f37798da8d747e8b64a.jpg","text":"TemporaryFile(/tmp/multipartBody7367965841312232947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_51_06_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/16892df86dee1d8a95585480de97a219.jpg","text":"TemporaryFile(/tmp/multipartBody7574751621089789697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_50_35_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c384be192565846b66bc3c7c998410c.jpg","text":"TemporaryFile(/tmp/multipartBody5155926479857251742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517066755,"filename":"image_08052026_20_52_05_30434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894166","file1":"1416894164","file0":"1416894163","file4":"1416894170","file5":"1416894171","file3":"1416894168"},"map_files_photo_id_array":[{"photo_id":"1416894171","filename":"file5"},{"photo_id":"1416894166","filename":"file2"},{"photo_id":"1416894170","filename":"file4"},{"photo_id":"1416894164","filename":"file1"},{"photo_id":"1416894163","filename":"file0"},{"photo_id":"1416894168","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894163":["hashtag1","hashtag2"]},{"1416894166":["hashtag1","hashtag2"]},{"1416894171":["hashtag1","hashtag2"]},{"1416894168":["hashtag1","hashtag2"]},{"1416894170":["hashtag1","hashtag2"]},{"1416894164":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894163, 1416894166, 1416894171, 1416894168, 1416894170, 1416894164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20924949645996 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:31:03.842327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/29/image_11052026_18_30_14_30150.jpg', '/home/pi/Desktop/images/11052026/18/28/image_11052026_18_28_44_30073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/29/image_11052026_18_30_14_30150.jpg
/home/pi/Desktop/images/11052026/18/28/image_11052026_18_28_44_30073.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894173","1416894174"],"photo_ids_order":["1416894173","1416894174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee83da55bf279a8cbf5dcf6a001b59e7.jpg","text":"TemporaryFile(/tmp/multipartBody2667378899057359706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517125188,"filename":"image_11052026_18_30_14_30150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0e2bfbb4a8590fa24773053dae1e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3093675408460484830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517125188,"filename":"image_11052026_18_28_44_30073.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416894174","file0":"1416894173"},"map_files_photo_id_array":[{"photo_id":"1416894174","filename":"file1"},{"photo_id":"1416894173","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894173":["hashtag1","hashtag2"]},{"1416894174":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894173, 1416894174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.804900646209717 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:32:03.713302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/31/image_11052026_18_32_14_30066.jpg', '/home/pi/Desktop/images/11052026/18/31/image_11052026_18_31_44_30110.jpg', '/home/pi/Desktop/images/11052026/18/30/image_11052026_18_31_13_29135.jpg', '/home/pi/Desktop/images/11052026/18/30/image_11052026_18_30_44_30188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/31/image_11052026_18_32_14_30066.jpg
/home/pi/Desktop/images/11052026/18/31/image_11052026_18_31_44_30110.jpg
/home/pi/Desktop/images/11052026/18/30/image_11052026_18_31_13_29135.jpg
/home/pi/Desktop/images/11052026/18/30/image_11052026_18_30_44_30188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894533","1416894532","1416894535","1416894534"],"photo_ids_order":["1416894532","1416894533","1416894534","1416894535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7fd7e21b952740c352fd55fdd250fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3374921396498763518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517185920,"filename":"image_11052026_18_31_44_30110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd44d91cb6a7f1281edb6fc6dfa903de.jpg","text":"TemporaryFile(/tmp/multipartBody3066438502686776548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517185920,"filename":"image_11052026_18_32_14_30066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b89524a463332ce09dd97964ffd898c1.jpg","text":"TemporaryFile(/tmp/multipartBody3021129462366906815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517185920,"filename":"image_11052026_18_30_44_30188.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c802b3b43d5fb994ed983681908e6c50.jpg","text":"TemporaryFile(/tmp/multipartBody6521732225633201636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517185920,"filename":"image_11052026_18_31_13_29135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894534","file1":"1416894533","file0":"1416894532","file3":"1416894535"},"map_files_photo_id_array":[{"photo_id":"1416894534","filename":"file2"},{"photo_id":"1416894533","filename":"file1"},{"photo_id":"1416894532","filename":"file0"},{"photo_id":"1416894535","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894533":["hashtag1","hashtag2"]},{"1416894532":["hashtag1","hashtag2"]},{"1416894535":["hashtag1","hashtag2"]},{"1416894534":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894533, 1416894532, 1416894535, 1416894534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.13646936416626 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:33:04.036229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg', '/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1565775871276855 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:34:03.972020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.jpg', '/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg', '/home/pi/Desktop/images/11052026/18/33/image_11052026_18_33_44_30185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.jpg
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg
/home/pi/Desktop/images/11052026/18/33/image_11052026_18_33_44_30185.jpg
2026-05-11 18:34:04.028863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/33/image_11052026_18_33_44_30185.jpg', '/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg', '/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/33/image_11052026_18_33_44_30185.jpg
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_33_14_30210.jpg
/home/pi/Desktop/images/11052026/18/32/image_11052026_18_32_44_30065.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894539","1416894541","1416894543"],"photo_ids_order":["1416894539","1416894541","1416894543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa3b51cdf7ee990f951c80e6d98b1298.jpg","text":"TemporaryFile(/tmp/multipartBody4543421885602528222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306461,"filename":"image_11052026_18_33_44_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d023a58ea219fbd0c4542e6037c42520.jpg","text":"TemporaryFile(/tmp/multipartBody1372158178506030768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306461,"filename":"image_11052026_18_33_14_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85c6f802f247573d08ad021cbf3dbd10.jpg","text":"TemporaryFile(/tmp/multipartBody6975479476601702225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306461,"filename":"image_11052026_18_32_44_30065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894543","file1":"1416894541","file0":"1416894539"},"map_files_photo_id_array":[{"photo_id":"1416894543","filename":"file2"},{"photo_id":"1416894541","filename":"file1"},{"photo_id":"1416894539","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894539":["hashtag1","hashtag2"]},{"1416894541":["hashtag1","hashtag2"]},{"1416894543":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894539, 1416894541, 1416894543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.925015211105347 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894542","1416894544","1416894540"],"photo_ids_order":["1416894540","1416894542","1416894544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/280807236ec4a3705197dc7938ccf8da.jpg","text":"TemporaryFile(/tmp/multipartBody4099280641137139700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306593,"filename":"image_11052026_18_33_14_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bb4372434a12e350a63fe723eb543bf.jpg","text":"TemporaryFile(/tmp/multipartBody1859652121956103009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306593,"filename":"image_11052026_18_33_44_30185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cf8f4fc9e572c1ca110a3e20a3006d1.jpg","text":"TemporaryFile(/tmp/multipartBody8884418544703430929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517306593,"filename":"image_11052026_18_32_44_30065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894544","file1":"1416894542","file0":"1416894540"},"map_files_photo_id_array":[{"photo_id":"1416894544","filename":"file2"},{"photo_id":"1416894542","filename":"file1"},{"photo_id":"1416894540","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894542":["hashtag1","hashtag2"]},{"1416894544":["hashtag1","hashtag2"]},{"1416894540":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894542, 1416894544, 1416894540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.116962909698486 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:35:04.016595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/49/image_08052026_20_49_36_30269.jpg', '/home/pi/Desktop/images/08052026/20/48/image_08052026_20_49_05_30400.jpg', '/home/pi/Desktop/images/08052026/20/48/image_08052026_20_48_35_29235.jpg', '/home/pi/Desktop/images/08052026/20/47/image_08052026_20_48_06_30408.jpg', '/home/pi/Desktop/images/08052026/20/46/image_08052026_20_46_36_30306.jpg', '/home/pi/Desktop/images/08052026/20/45/image_08052026_20_46_05_30434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/49/image_08052026_20_49_36_30269.jpg
/home/pi/Desktop/images/08052026/20/48/image_08052026_20_49_05_30400.jpg
/home/pi/Desktop/images/08052026/20/48/image_08052026_20_48_35_29235.jpg
/home/pi/Desktop/images/08052026/20/47/image_08052026_20_48_06_30408.jpg
/home/pi/Desktop/images/08052026/20/46/image_08052026_20_46_36_30306.jpg
/home/pi/Desktop/images/08052026/20/45/image_08052026_20_46_05_30434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894551","1416894548","1416894550","1416894547","1416894546","1416894549"],"photo_ids_order":["1416894546","1416894547","1416894548","1416894549","1416894550","1416894551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e85f31d5353f9fa8bdb7bea02b7afc60.jpg","text":"TemporaryFile(/tmp/multipartBody4607006332485605720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_46_05_30434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3541710d8d57a35f0b2edb9fc6d6f47a.jpg","text":"TemporaryFile(/tmp/multipartBody5268116730561313366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_48_35_29235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab1234eb7f53f04f224879b6aab55b45.jpg","text":"TemporaryFile(/tmp/multipartBody4269068162038631679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_46_36_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/908de03de90077c5a692aa5eff229a81.jpg","text":"TemporaryFile(/tmp/multipartBody7900614664466723689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_49_05_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/569b160a9a3fc77f8e927b77affdab21.jpg","text":"TemporaryFile(/tmp/multipartBody5302713729158396928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_49_36_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/54583c51946bc88695cdecea1190e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody8990647565655316235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517367247,"filename":"image_08052026_20_48_06_30408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416894548","file1":"1416894547","file0":"1416894546","file4":"1416894550","file5":"1416894551","file3":"1416894549"},"map_files_photo_id_array":[{"photo_id":"1416894551","filename":"file5"},{"photo_id":"1416894548","filename":"file2"},{"photo_id":"1416894550","filename":"file4"},{"photo_id":"1416894547","filename":"file1"},{"photo_id":"1416894546","filename":"file0"},{"photo_id":"1416894549","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416894551":["hashtag1","hashtag2"]},{"1416894548":["hashtag1","hashtag2"]},{"1416894550":["hashtag1","hashtag2"]},{"1416894547":["hashtag1","hashtag2"]},{"1416894546":["hashtag1","hashtag2"]},{"1416894549":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416894551, 1416894548, 1416894550, 1416894547, 1416894546, 1416894549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.505826473236084 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:36:02.913293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/34/image_11052026_18_35_14_30250.jpg', '/home/pi/Desktop/images/11052026/18/34/image_11052026_18_34_43_29114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/34/image_11052026_18_35_14_30250.jpg
/home/pi/Desktop/images/11052026/18/34/image_11052026_18_34_43_29114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416894553","1416894554"],"photo_ids_order":["1416894553","1416894554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4bacc911edafd3d90138f11b9d33eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5637787233085995118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517424513,"filename":"image_11052026_18_35_14_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/264e5c285b70a8e3bc1d1fe84aa18526.jpg","text":"TemporaryFile(/tmp/multipartBody6314514718333057694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517424513,"filename":"image_11052026_18_34_43_29114.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416894554","file0":"1416894553"},"map_files_photo_id_array":[{"photo_id":"1416894554","filename":"file1"},{"photo_id":"1416894553","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416894553":["hashtag1","hashtag2"]},{"1416894554":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416894553, 1416894554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.63605546951294 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:37:04.427010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/44/image_08052026_20_45_06_30377.jpg', '/home/pi/Desktop/images/08052026/20/43/image_08052026_20_43_36_30258.jpg', '/home/pi/Desktop/images/08052026/20/40/image_08052026_20_41_05_29220.jpg', '/home/pi/Desktop/images/08052026/20/39/image_08052026_20_40_05_30397.jpg', '/home/pi/Desktop/images/08052026/20/39/image_08052026_20_39_35_29251.jpg', '/home/pi/Desktop/images/08052026/20/38/image_08052026_20_38_35_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/44/image_08052026_20_45_06_30377.jpg
/home/pi/Desktop/images/08052026/20/43/image_08052026_20_43_36_30258.jpg
/home/pi/Desktop/images/08052026/20/40/image_08052026_20_41_05_29220.jpg
/home/pi/Desktop/images/08052026/20/39/image_08052026_20_40_05_30397.jpg
/home/pi/Desktop/images/08052026/20/39/image_08052026_20_39_35_29251.jpg
/home/pi/Desktop/images/08052026/20/38/image_08052026_20_38_35_30282.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.966226816177368 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:38:03.013840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/35/image_11052026_18_35_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/35/image_11052026_18_35_44_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895073"],"photo_id":"1416895073","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/778cb6445657959e5b03a6bd16b69dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5038470987851805507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517544053,"filename":"image_11052026_18_35_44_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895073"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895073"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.783143281936646 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:39:04.594013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/37/image_08052026_00_38_05_29190.jpg', '/home/pi/Desktop/images/08052026/00/43/image_08052026_00_43_35_29202.jpg', '/home/pi/Desktop/images/08052026/00/45/image_08052026_00_46_06_30305.jpg', '/home/pi/Desktop/images/08052026/00/46/image_08052026_00_46_36_30165.jpg', '/home/pi/Desktop/images/08052026/00/47/image_08052026_00_47_35_30362.jpg', '/home/pi/Desktop/images/08052026/00/47/image_08052026_00_48_06_30295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/37/image_08052026_00_38_05_29190.jpg
/home/pi/Desktop/images/08052026/00/43/image_08052026_00_43_35_29202.jpg
/home/pi/Desktop/images/08052026/00/45/image_08052026_00_46_06_30305.jpg
/home/pi/Desktop/images/08052026/00/46/image_08052026_00_46_36_30165.jpg
/home/pi/Desktop/images/08052026/00/47/image_08052026_00_47_35_30362.jpg
/home/pi/Desktop/images/08052026/00/47/image_08052026_00_48_06_30295.jpg
2026-05-11 18:39:04.626954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/44/image_08052026_20_45_06_30377.jpg', '/home/pi/Desktop/images/08052026/20/43/image_08052026_20_43_36_30258.jpg', '/home/pi/Desktop/images/08052026/20/40/image_08052026_20_41_05_29220.jpg', '/home/pi/Desktop/images/08052026/20/39/image_08052026_20_40_05_30397.jpg', '/home/pi/Desktop/images/08052026/20/39/image_08052026_20_39_35_29251.jpg', '/home/pi/Desktop/images/08052026/20/38/image_08052026_20_38_35_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/44/image_08052026_20_45_06_30377.jpg
/home/pi/Desktop/images/08052026/20/43/image_08052026_20_43_36_30258.jpg
/home/pi/Desktop/images/08052026/20/40/image_08052026_20_41_05_29220.jpg
/home/pi/Desktop/images/08052026/20/39/image_08052026_20_40_05_30397.jpg
/home/pi/Desktop/images/08052026/20/39/image_08052026_20_39_35_29251.jpg
/home/pi/Desktop/images/08052026/20/38/image_08052026_20_38_35_30282.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.575790882110596 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895264","1416895258","1416895257","1416895266","1416895260","1416895262"],"photo_ids_order":["1416895257","1416895258","1416895260","1416895262","1416895264","1416895266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9977bb520ddef095a77d7e040e8257b.jpg","text":"TemporaryFile(/tmp/multipartBody7115952372707543905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_39_35_29251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a09f75ba3719f75e5d0a49a18baa877a.jpg","text":"TemporaryFile(/tmp/multipartBody8121928709935290440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_43_36_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7303140be28e7d640e75be0e8887f240.jpg","text":"TemporaryFile(/tmp/multipartBody1028522500433220967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_45_06_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c20406d4e58d08a2aa333a5b50cca52.jpg","text":"TemporaryFile(/tmp/multipartBody1399860391404257654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_38_35_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5dbb8eda8d640dc22485eaf2822bdb93.jpg","text":"TemporaryFile(/tmp/multipartBody6285447376415204215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_41_05_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2203eec79905e6e38d7b31686066b4b3.jpg","text":"TemporaryFile(/tmp/multipartBody3847375386976824254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517608679,"filename":"image_08052026_20_40_05_30397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416895260","file1":"1416895258","file0":"1416895257","file4":"1416895264","file5":"1416895266","file3":"1416895262"},"map_files_photo_id_array":[{"photo_id":"1416895266","filename":"file5"},{"photo_id":"1416895260","filename":"file2"},{"photo_id":"1416895264","filename":"file4"},{"photo_id":"1416895258","filename":"file1"},{"photo_id":"1416895257","filename":"file0"},{"photo_id":"1416895262","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416895264":["hashtag1","hashtag2"]},{"1416895258":["hashtag1","hashtag2"]},{"1416895257":["hashtag1","hashtag2"]},{"1416895266":["hashtag1","hashtag2"]},{"1416895260":["hashtag1","hashtag2"]},{"1416895262":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416895264, 1416895258, 1416895257, 1416895266, 1416895260, 1416895262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8155996799469 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:40:03.414966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/38/image_11052026_18_38_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/38/image_11052026_18_38_44_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895269"],"photo_id":"1416895269","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/444f48ae07473417d3878e1fb8303351.jpg","text":"TemporaryFile(/tmp/multipartBody3612958695919905698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517664652,"filename":"image_11052026_18_38_44_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895269"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895269"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.476532697677612 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:41:03.798297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/39/image_11052026_18_39_44_30108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/39/image_11052026_18_39_44_30108.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895271"],"photo_id":"1416895271","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/526a25a9c816490d8e100a54a671bc54.jpg","text":"TemporaryFile(/tmp/multipartBody4958945454164858958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517725043,"filename":"image_11052026_18_39_44_30108.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895271"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895271"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.730396032333374 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:42:03.465667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/37/image_08052026_20_38_05_30310.jpg', '/home/pi/Desktop/images/08052026/20/37/image_08052026_20_37_35_29241.jpg', '/home/pi/Desktop/images/08052026/20/36/image_08052026_20_37_06_30273.jpg', '/home/pi/Desktop/images/08052026/20/36/image_08052026_20_36_35_30182.jpg', '/home/pi/Desktop/images/08052026/20/35/image_08052026_20_36_05_29302.jpg', '/home/pi/Desktop/images/08052026/20/34/image_08052026_20_35_06_30350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/37/image_08052026_20_38_05_30310.jpg
/home/pi/Desktop/images/08052026/20/37/image_08052026_20_37_35_29241.jpg
/home/pi/Desktop/images/08052026/20/36/image_08052026_20_37_06_30273.jpg
/home/pi/Desktop/images/08052026/20/36/image_08052026_20_36_35_30182.jpg
/home/pi/Desktop/images/08052026/20/35/image_08052026_20_36_05_29302.jpg
/home/pi/Desktop/images/08052026/20/34/image_08052026_20_35_06_30350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895657","1416895647","1416895662","1416895659","1416895664","1416895661"],"photo_ids_order":["1416895647","1416895657","1416895659","1416895661","1416895662","1416895664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28a324934f843b53408a6d95c3632b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3448017402500539142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_37_35_29241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cbf7cba8d46f495b5e077a3182bcb49.jpg","text":"TemporaryFile(/tmp/multipartBody2426766015283958798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_38_05_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95b72b11e32c381a52b807ec68407c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4013550771746806623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_36_05_29302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d0e59cef0c469f4254756f6414643bb.jpg","text":"TemporaryFile(/tmp/multipartBody3106889197170137583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_37_06_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67b674f0f2686fba151d11a21be3a1e3.jpg","text":"TemporaryFile(/tmp/multipartBody167237202960786036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_35_06_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/607e9aca0ccfb0dfa7095e67e1ec9b08.jpg","text":"TemporaryFile(/tmp/multipartBody4204213372759842452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517786761,"filename":"image_08052026_20_36_35_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416895659","file1":"1416895657","file0":"1416895647","file4":"1416895662","file5":"1416895664","file3":"1416895661"},"map_files_photo_id_array":[{"photo_id":"1416895664","filename":"file5"},{"photo_id":"1416895659","filename":"file2"},{"photo_id":"1416895662","filename":"file4"},{"photo_id":"1416895657","filename":"file1"},{"photo_id":"1416895647","filename":"file0"},{"photo_id":"1416895661","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416895657":["hashtag1","hashtag2"]},{"1416895647":["hashtag1","hashtag2"]},{"1416895662":["hashtag1","hashtag2"]},{"1416895659":["hashtag1","hashtag2"]},{"1416895664":["hashtag1","hashtag2"]},{"1416895661":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416895657, 1416895647, 1416895662, 1416895659, 1416895664, 1416895661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85299873352051 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:43:03.679050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8444995880126953 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:44:03.744626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.jpg
2026-05-11 18:44:03.779189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/40/image_11052026_18_40_44_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895668"],"photo_id":"1416895668","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30950d280cffa32867d241527bd16782.jpg","text":"TemporaryFile(/tmp/multipartBody1074429489556623849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517905176,"filename":"image_11052026_18_40_44_30336.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895668"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895668"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.082389831542969 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895667"],"photo_id":"1416895667","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2ba9b6e1ed4dea83c2f648b5fdaaca5.jpg","text":"TemporaryFile(/tmp/multipartBody6427577221005488085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517905158,"filename":"image_11052026_18_40_44_30336.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895667"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895667"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.3551664352417 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:45:04.191099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/33/image_08052026_20_33_36_30288.jpg', '/home/pi/Desktop/images/08052026/20/32/image_08052026_20_33_06_30315.jpg', '/home/pi/Desktop/images/08052026/20/31/image_08052026_20_32_05_29208.jpg', '/home/pi/Desktop/images/08052026/20/31/image_08052026_20_31_36_30339.jpg', '/home/pi/Desktop/images/08052026/20/30/image_08052026_20_31_05_30360.jpg', '/home/pi/Desktop/images/08052026/20/30/image_08052026_20_30_35_29295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/33/image_08052026_20_33_36_30288.jpg
/home/pi/Desktop/images/08052026/20/32/image_08052026_20_33_06_30315.jpg
/home/pi/Desktop/images/08052026/20/31/image_08052026_20_32_05_29208.jpg
/home/pi/Desktop/images/08052026/20/31/image_08052026_20_31_36_30339.jpg
/home/pi/Desktop/images/08052026/20/30/image_08052026_20_31_05_30360.jpg
/home/pi/Desktop/images/08052026/20/30/image_08052026_20_30_35_29295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895675","1416895678","1416895672","1416895674","1416895676","1416895673"],"photo_ids_order":["1416895672","1416895673","1416895674","1416895675","1416895676","1416895678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6100257aff142892e45f9866802bf941.jpg","text":"TemporaryFile(/tmp/multipartBody3323601416271816121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_31_36_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e3e09db47682fdfa43c5362c7e7e580.jpg","text":"TemporaryFile(/tmp/multipartBody1301348120658135322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_30_35_29295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65426d21694a2ddf9c02d7a8925a2326.jpg","text":"TemporaryFile(/tmp/multipartBody9002377388857533487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_33_36_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a17ad3238ef530ac16055f29ee2ec3f5.jpg","text":"TemporaryFile(/tmp/multipartBody7110905872965389446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_32_05_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/efe05c2363223ffe48e52cb9f9843308.jpg","text":"TemporaryFile(/tmp/multipartBody1312093646675844342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_31_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5499950bf4d977be09aae4074d259929.jpg","text":"TemporaryFile(/tmp/multipartBody1772067298088988912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778517968119,"filename":"image_08052026_20_33_06_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416895674","file1":"1416895673","file0":"1416895672","file4":"1416895676","file5":"1416895678","file3":"1416895675"},"map_files_photo_id_array":[{"photo_id":"1416895678","filename":"file5"},{"photo_id":"1416895674","filename":"file2"},{"photo_id":"1416895676","filename":"file4"},{"photo_id":"1416895673","filename":"file1"},{"photo_id":"1416895672","filename":"file0"},{"photo_id":"1416895675","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416895675":["hashtag1","hashtag2"]},{"1416895678":["hashtag1","hashtag2"]},{"1416895672":["hashtag1","hashtag2"]},{"1416895674":["hashtag1","hashtag2"]},{"1416895676":["hashtag1","hashtag2"]},{"1416895673":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416895675, 1416895678, 1416895672, 1416895674, 1416895676, 1416895673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.55535435676575 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:46:03.839479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/41/image_11052026_18_42_14_30188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/41/image_11052026_18_42_14_30188.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416895679"],"photo_id":"1416895679","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d565ad6c17a4fd618906998e28df3ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4184780764164145463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518025068,"filename":"image_11052026_18_42_14_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416895679"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416895679"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.088743209838867 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:47:04.257019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/45/image_11052026_18_46_13_29091.jpg', '/home/pi/Desktop/images/11052026/18/44/image_11052026_18_45_14_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/45/image_11052026_18_46_13_29091.jpg
/home/pi/Desktop/images/11052026/18/44/image_11052026_18_45_14_30305.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1732416152954102 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:48:03.157504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/45/image_11052026_18_46_13_29091.jpg', '/home/pi/Desktop/images/11052026/18/44/image_11052026_18_45_14_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/45/image_11052026_18_46_13_29091.jpg
/home/pi/Desktop/images/11052026/18/44/image_11052026_18_45_14_30305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896026","1416896027"],"photo_ids_order":["1416896026","1416896027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/feef14cf8dbbd60addb6989e5c561510.jpg","text":"TemporaryFile(/tmp/multipartBody7784881441916852850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518144724,"filename":"image_11052026_18_46_13_29091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e768ed32825f21558ed051d5774a3033.jpg","text":"TemporaryFile(/tmp/multipartBody35328885929359303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518144724,"filename":"image_11052026_18_45_14_30305.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896027","file0":"1416896026"},"map_files_photo_id_array":[{"photo_id":"1416896027","filename":"file1"},{"photo_id":"1416896026","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896026":["hashtag1","hashtag2"]},{"1416896027":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896026, 1416896027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.41614055633545 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:49:04.857186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/46/image_11052026_18_46_44_30139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/46/image_11052026_18_46_44_30139.jpg
2026-05-11 18:49:05.030565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/46/image_11052026_18_46_44_30139.jpg', '/home/pi/Desktop/images/11052026/18/48/image_11052026_18_48_44_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/46/image_11052026_18_46_44_30139.jpg
/home/pi/Desktop/images/11052026/18/48/image_11052026_18_48_44_29112.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.360018014907837 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896035"],"photo_id":"1416896035","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/36cb3b01522088397fcf48f3b204c16e.jpg","text":"TemporaryFile(/tmp/multipartBody5216384662267465515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518206150,"filename":"image_11052026_18_46_44_30139.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896035"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896035"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.586607933044434 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:50:03.657004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/49/image_11052026_18_50_14_30280.jpg', '/home/pi/Desktop/images/11052026/18/49/image_11052026_18_49_44_30290.jpg', '/home/pi/Desktop/images/11052026/18/48/image_11052026_18_48_44_29112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/49/image_11052026_18_50_14_30280.jpg
/home/pi/Desktop/images/11052026/18/49/image_11052026_18_49_44_30290.jpg
/home/pi/Desktop/images/11052026/18/48/image_11052026_18_48_44_29112.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896038","1416896040","1416896039"],"photo_ids_order":["1416896038","1416896039","1416896040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27d473ed3b79fd78fdac5906f556b076.jpg","text":"TemporaryFile(/tmp/multipartBody5100115786558363264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518266665,"filename":"image_11052026_18_50_14_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d782359cc015c866d533a269770c8bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4740594318451554992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518266665,"filename":"image_11052026_18_48_44_29112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe9e812c518e31c3fe43e2531f2ec8ed.jpg","text":"TemporaryFile(/tmp/multipartBody5982704492617155033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518266665,"filename":"image_11052026_18_49_44_30290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896040","file1":"1416896039","file0":"1416896038"},"map_files_photo_id_array":[{"photo_id":"1416896040","filename":"file2"},{"photo_id":"1416896039","filename":"file1"},{"photo_id":"1416896038","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896038":["hashtag1","hashtag2"]},{"1416896040":["hashtag1","hashtag2"]},{"1416896039":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896038, 1416896040, 1416896039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.95961856842041 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:51:04.045958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/50/image_11052026_18_50_43_29074.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/50/image_11052026_18_50_43_29074.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896042"],"photo_id":"1416896042","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce4fd7d93632acbc5261a8ca5dc72d73.jpg","text":"TemporaryFile(/tmp/multipartBody6261557819450676086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518325230,"filename":"image_11052026_18_50_43_29074.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896042"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896042"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.542672634124756 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:52:03.522456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/29/image_08052026_20_30_06_30413.jpg', '/home/pi/Desktop/images/08052026/20/26/image_08052026_20_27_05_29305.jpg', '/home/pi/Desktop/images/08052026/20/22/image_08052026_20_22_35_30326.jpg', '/home/pi/Desktop/images/08052026/20/18/image_08052026_20_18_35_29206.jpg', '/home/pi/Desktop/images/08052026/20/17/image_08052026_20_18_06_30311.jpg', '/home/pi/Desktop/images/08052026/20/17/image_08052026_20_17_35_30243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/29/image_08052026_20_30_06_30413.jpg
/home/pi/Desktop/images/08052026/20/26/image_08052026_20_27_05_29305.jpg
/home/pi/Desktop/images/08052026/20/22/image_08052026_20_22_35_30326.jpg
/home/pi/Desktop/images/08052026/20/18/image_08052026_20_18_35_29206.jpg
/home/pi/Desktop/images/08052026/20/17/image_08052026_20_18_06_30311.jpg
/home/pi/Desktop/images/08052026/20/17/image_08052026_20_17_35_30243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896047","1416896044","1416896046","1416896048","1416896045","1416896050"],"photo_ids_order":["1416896044","1416896045","1416896046","1416896047","1416896048","1416896050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c6cdbda5a198e129f8182b5d14fd98f.jpg","text":"TemporaryFile(/tmp/multipartBody263542761719831522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_18_35_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/511572f38698a1db37003bf59d5cb919.jpg","text":"TemporaryFile(/tmp/multipartBody4472756105566766945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_30_06_30413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/934f46c1c082ccf33da60ee429a472e4.jpg","text":"TemporaryFile(/tmp/multipartBody1485891926755083631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_22_35_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cde9adf454d4233c0b8e5200209410a.jpg","text":"TemporaryFile(/tmp/multipartBody6797350873440201621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_18_06_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c8bb3e3f53fae4e31bd587396f15a32.jpg","text":"TemporaryFile(/tmp/multipartBody8055820841576723213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_27_05_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b71ba4e54c4a9470d042fef038ca1a0.jpg","text":"TemporaryFile(/tmp/multipartBody6786230613205768217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518386771,"filename":"image_08052026_20_17_35_30243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896046","file1":"1416896045","file0":"1416896044","file4":"1416896048","file5":"1416896050","file3":"1416896047"},"map_files_photo_id_array":[{"photo_id":"1416896050","filename":"file5"},{"photo_id":"1416896046","filename":"file2"},{"photo_id":"1416896048","filename":"file4"},{"photo_id":"1416896045","filename":"file1"},{"photo_id":"1416896044","filename":"file0"},{"photo_id":"1416896047","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896047":["hashtag1","hashtag2"]},{"1416896044":["hashtag1","hashtag2"]},{"1416896046":["hashtag1","hashtag2"]},{"1416896048":["hashtag1","hashtag2"]},{"1416896045":["hashtag1","hashtag2"]},{"1416896050":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896047, 1416896044, 1416896046, 1416896048, 1416896045, 1416896050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.343164920806885 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:53:04.205279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/16/image_08052026_20_17_05_29173.jpg', '/home/pi/Desktop/images/08052026/20/16/image_08052026_20_16_36_30247.jpg', '/home/pi/Desktop/images/08052026/20/15/image_08052026_20_16_06_30397.jpg', '/home/pi/Desktop/images/08052026/20/15/image_08052026_20_15_35_30367.jpg', '/home/pi/Desktop/images/08052026/20/14/image_08052026_20_15_05_29180.jpg', '/home/pi/Desktop/images/08052026/20/14/image_08052026_20_14_36_30310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/16/image_08052026_20_17_05_29173.jpg
/home/pi/Desktop/images/08052026/20/16/image_08052026_20_16_36_30247.jpg
/home/pi/Desktop/images/08052026/20/15/image_08052026_20_16_06_30397.jpg
/home/pi/Desktop/images/08052026/20/15/image_08052026_20_15_35_30367.jpg
/home/pi/Desktop/images/08052026/20/14/image_08052026_20_15_05_29180.jpg
/home/pi/Desktop/images/08052026/20/14/image_08052026_20_14_36_30310.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.048190116882324 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:54:03.638861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/50/image_11052026_18_51_14_30358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/50/image_11052026_18_51_14_30358.jpg
2026-05-11 18:54:03.741004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/50/image_11052026_18_51_14_30358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/50/image_11052026_18_51_14_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896057"],"photo_id":"1416896057","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbf4303339836a01f04fdb72367f3573.jpg","text":"TemporaryFile(/tmp/multipartBody4076556997993663824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518505008,"filename":"image_11052026_18_51_14_30358.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896057"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896057"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.57110333442688 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896058"],"photo_id":"1416896058","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81a92eae6af4b2860d7aab204e4c1bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7319770576560412452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518505143,"filename":"image_11052026_18_51_14_30358.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896058"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896058"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.747719526290894 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 18:59:04.511196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/16/image_08052026_20_17_05_29173.jpg', '/home/pi/Desktop/images/08052026/20/16/image_08052026_20_16_36_30247.jpg', '/home/pi/Desktop/images/08052026/20/15/image_08052026_20_16_06_30397.jpg', '/home/pi/Desktop/images/08052026/20/15/image_08052026_20_15_35_30367.jpg', '/home/pi/Desktop/images/08052026/20/14/image_08052026_20_15_05_29180.jpg', '/home/pi/Desktop/images/08052026/20/14/image_08052026_20_14_36_30310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/16/image_08052026_20_17_05_29173.jpg
/home/pi/Desktop/images/08052026/20/16/image_08052026_20_16_36_30247.jpg
/home/pi/Desktop/images/08052026/20/15/image_08052026_20_16_06_30397.jpg
/home/pi/Desktop/images/08052026/20/15/image_08052026_20_15_35_30367.jpg
/home/pi/Desktop/images/08052026/20/14/image_08052026_20_15_05_29180.jpg
/home/pi/Desktop/images/08052026/20/14/image_08052026_20_14_36_30310.jpg
2026-05-11 18:59:04.502352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/37/image_08052026_00_38_05_29190.jpg', '/home/pi/Desktop/images/08052026/00/43/image_08052026_00_43_35_29202.jpg', '/home/pi/Desktop/images/08052026/00/45/image_08052026_00_46_06_30305.jpg', '/home/pi/Desktop/images/08052026/00/46/image_08052026_00_46_36_30165.jpg', '/home/pi/Desktop/images/08052026/00/47/image_08052026_00_47_35_30362.jpg', '/home/pi/Desktop/images/08052026/00/47/image_08052026_00_48_06_30295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/37/image_08052026_00_38_05_29190.jpg
/home/pi/Desktop/images/08052026/00/43/image_08052026_00_43_35_29202.jpg
/home/pi/Desktop/images/08052026/00/45/image_08052026_00_46_06_30305.jpg
/home/pi/Desktop/images/08052026/00/46/image_08052026_00_46_36_30165.jpg
/home/pi/Desktop/images/08052026/00/47/image_08052026_00_47_35_30362.jpg
/home/pi/Desktop/images/08052026/00/47/image_08052026_00_48_06_30295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896079","1416896073","1416896084","1416896081","1416896075","1416896077"],"photo_ids_order":["1416896073","1416896075","1416896077","1416896079","1416896081","1416896084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92221e6ba8ad6b5a4d3988e25e3d4370.jpg","text":"TemporaryFile(/tmp/multipartBody2633530348486995844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_15_35_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d94b9060fbf2e6a39d0ca60cb4619127.jpg","text":"TemporaryFile(/tmp/multipartBody5647931966884747234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_17_05_29173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6fa9508e1fe3666fb398a209ce7ebf6e.jpg","text":"TemporaryFile(/tmp/multipartBody5422550783579723289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_14_36_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/604c2e8f5c24276038c63c24069265a3.jpg","text":"TemporaryFile(/tmp/multipartBody8258069713565383303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_15_05_29180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ff2231fe38838b393b8eafa9c455018.jpg","text":"TemporaryFile(/tmp/multipartBody2297142588276897342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_16_36_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94e6e01ff0e42b0c7d1beb9eacdd5677.jpg","text":"TemporaryFile(/tmp/multipartBody2584604466908603129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809064,"filename":"image_08052026_20_16_06_30397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896077","file1":"1416896075","file0":"1416896073","file4":"1416896081","file5":"1416896084","file3":"1416896079"},"map_files_photo_id_array":[{"photo_id":"1416896084","filename":"file5"},{"photo_id":"1416896077","filename":"file2"},{"photo_id":"1416896081","filename":"file4"},{"photo_id":"1416896075","filename":"file1"},{"photo_id":"1416896073","filename":"file0"},{"photo_id":"1416896079","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896079":["hashtag1","hashtag2"]},{"1416896073":["hashtag1","hashtag2"]},{"1416896084":["hashtag1","hashtag2"]},{"1416896081":["hashtag1","hashtag2"]},{"1416896075":["hashtag1","hashtag2"]},{"1416896077":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896079, 1416896073, 1416896084, 1416896081, 1416896075, 1416896077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.204715967178345 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896080","1416896074","1416896082","1416896076","1416896078","1416896086"],"photo_ids_order":["1416896074","1416896076","1416896078","1416896080","1416896082","1416896086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d55f0d181bbaa47f7183ea1aa8dbc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8326897760603078720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_46_36_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af69d0aa2c810e089dcc76d92ae2e6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3282515581105006800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_38_05_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/556335824347d2fe70b590049a9bb1d8.jpg","text":"TemporaryFile(/tmp/multipartBody6468667480429264899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_47_35_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ebe978a664c79b348b261555f4962426.jpg","text":"TemporaryFile(/tmp/multipartBody8571766193607921435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_43_35_29202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd700eaf7db302c2adfd1e92117af8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4500691883664189852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_46_06_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1ab1f2f66e46106ba57d130c3a0efa97.jpg","text":"TemporaryFile(/tmp/multipartBody1738307731244370252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518809079,"filename":"image_08052026_00_48_06_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896078","file1":"1416896076","file0":"1416896074","file4":"1416896082","file5":"1416896086","file3":"1416896080"},"map_files_photo_id_array":[{"photo_id":"1416896086","filename":"file5"},{"photo_id":"1416896078","filename":"file2"},{"photo_id":"1416896082","filename":"file4"},{"photo_id":"1416896076","filename":"file1"},{"photo_id":"1416896074","filename":"file0"},{"photo_id":"1416896080","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896080":["hashtag1","hashtag2"]},{"1416896074":["hashtag1","hashtag2"]},{"1416896082":["hashtag1","hashtag2"]},{"1416896076":["hashtag1","hashtag2"]},{"1416896078":["hashtag1","hashtag2"]},{"1416896086":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896080, 1416896074, 1416896082, 1416896076, 1416896078, 1416896086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08426475524902 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:00:03.293624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/13/image_08052026_20_13_35_29319.jpg', '/home/pi/Desktop/images/08052026/20/12/image_08052026_20_13_06_30321.jpg', '/home/pi/Desktop/images/08052026/20/12/image_08052026_20_12_35_30380.jpg', '/home/pi/Desktop/images/08052026/20/11/image_08052026_20_12_05_29248.jpg', '/home/pi/Desktop/images/08052026/20/11/image_08052026_20_11_36_30392.jpg', '/home/pi/Desktop/images/08052026/20/10/image_08052026_20_10_35_29368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/13/image_08052026_20_13_35_29319.jpg
/home/pi/Desktop/images/08052026/20/12/image_08052026_20_13_06_30321.jpg
/home/pi/Desktop/images/08052026/20/12/image_08052026_20_12_35_30380.jpg
/home/pi/Desktop/images/08052026/20/11/image_08052026_20_12_05_29248.jpg
/home/pi/Desktop/images/08052026/20/11/image_08052026_20_11_36_30392.jpg
/home/pi/Desktop/images/08052026/20/10/image_08052026_20_10_35_29368.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9564826488494873 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:01:03.567609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/13/image_08052026_20_13_35_29319.jpg', '/home/pi/Desktop/images/08052026/20/12/image_08052026_20_13_06_30321.jpg', '/home/pi/Desktop/images/08052026/20/12/image_08052026_20_12_35_30380.jpg', '/home/pi/Desktop/images/08052026/20/11/image_08052026_20_12_05_29248.jpg', '/home/pi/Desktop/images/08052026/20/11/image_08052026_20_11_36_30392.jpg', '/home/pi/Desktop/images/08052026/20/10/image_08052026_20_10_35_29368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/13/image_08052026_20_13_35_29319.jpg
/home/pi/Desktop/images/08052026/20/12/image_08052026_20_13_06_30321.jpg
/home/pi/Desktop/images/08052026/20/12/image_08052026_20_12_35_30380.jpg
/home/pi/Desktop/images/08052026/20/11/image_08052026_20_12_05_29248.jpg
/home/pi/Desktop/images/08052026/20/11/image_08052026_20_11_36_30392.jpg
/home/pi/Desktop/images/08052026/20/10/image_08052026_20_10_35_29368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896097","1416896100","1416896099","1416896096","1416896095","1416896098"],"photo_ids_order":["1416896095","1416896096","1416896097","1416896098","1416896099","1416896100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df4805ffd9c682ab40b8097539fa9552.jpg","text":"TemporaryFile(/tmp/multipartBody809073841093109935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_12_35_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76808c7606729a82cb8692eda7856e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8733478799811135527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_10_35_29368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/659819f714f5f1a2137f2d4eef4faa4e.jpg","text":"TemporaryFile(/tmp/multipartBody4684752691389674523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_11_36_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/248eac661ccb57f94994afeb8d0d5159.jpg","text":"TemporaryFile(/tmp/multipartBody3515143185913880626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_13_06_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50545791b6cba2139c7d26db5971b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2065712071666252348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_13_35_29319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/592428b8452b738f91062d8d22563ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5049312799729357722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518926957,"filename":"image_08052026_20_12_05_29248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896097","file1":"1416896096","file0":"1416896095","file4":"1416896099","file5":"1416896100","file3":"1416896098"},"map_files_photo_id_array":[{"photo_id":"1416896100","filename":"file5"},{"photo_id":"1416896097","filename":"file2"},{"photo_id":"1416896099","filename":"file4"},{"photo_id":"1416896096","filename":"file1"},{"photo_id":"1416896095","filename":"file0"},{"photo_id":"1416896098","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896097":["hashtag1","hashtag2"]},{"1416896100":["hashtag1","hashtag2"]},{"1416896099":["hashtag1","hashtag2"]},{"1416896096":["hashtag1","hashtag2"]},{"1416896095":["hashtag1","hashtag2"]},{"1416896098":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896097, 1416896100, 1416896099, 1416896096, 1416896095, 1416896098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.539331912994385 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:02:03.320980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/18/54/image_11052026_18_54_43_29196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/18/54/image_11052026_18_54_43_29196.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896114"],"photo_id":"1416896114","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ded48959ae832a72f62688612f352684.jpg","text":"TemporaryFile(/tmp/multipartBody6178766657821459270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778518984523,"filename":"image_11052026_18_54_43_29196.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896114"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896114"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.579836130142212 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:03:03.606260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/01/image_11052026_19_02_14_30196.jpg', '/home/pi/Desktop/images/11052026/19/01/image_11052026_19_01_44_30299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/01/image_11052026_19_02_14_30196.jpg
/home/pi/Desktop/images/11052026/19/01/image_11052026_19_01_44_30299.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896151","1416896150"],"photo_ids_order":["1416896150","1416896151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5600d7b79033e6ac97053e491fbeb66.jpg","text":"TemporaryFile(/tmp/multipartBody1829584652414027910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519045243,"filename":"image_11052026_19_01_44_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/49ccad44e99c98a429af5a0422fab9d1.jpg","text":"TemporaryFile(/tmp/multipartBody8182749289897840091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519045243,"filename":"image_11052026_19_02_14_30196.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896151","file0":"1416896150"},"map_files_photo_id_array":[{"photo_id":"1416896151","filename":"file1"},{"photo_id":"1416896150","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896151":["hashtag1","hashtag2"]},{"1416896150":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896151, 1416896150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.88219118118286 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:04:03.640978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/50/image_08052026_00_50_35_29140.jpg', '/home/pi/Desktop/images/08052026/00/51/image_08052026_00_51_36_30310.jpg', '/home/pi/Desktop/images/08052026/00/56/image_08052026_00_57_06_30387.jpg', '/home/pi/Desktop/images/08052026/00/57/image_08052026_00_57_35_29351.jpg', '/home/pi/Desktop/images/08052026/00/57/image_08052026_00_58_05_30359.jpg', '/home/pi/Desktop/images/08052026/00/58/image_08052026_00_58_36_30311.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/50/image_08052026_00_50_35_29140.jpg
/home/pi/Desktop/images/08052026/00/51/image_08052026_00_51_36_30310.jpg
/home/pi/Desktop/images/08052026/00/56/image_08052026_00_57_06_30387.jpg
/home/pi/Desktop/images/08052026/00/57/image_08052026_00_57_35_29351.jpg
/home/pi/Desktop/images/08052026/00/57/image_08052026_00_58_05_30359.jpg
/home/pi/Desktop/images/08052026/00/58/image_08052026_00_58_36_30311.jpg
2026-05-11 19:04:03.778779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/09/image_08052026_20_10_06_30388.jpg', '/home/pi/Desktop/images/08052026/20/09/image_08052026_20_09_35_30330.jpg', '/home/pi/Desktop/images/08052026/20/08/image_08052026_20_09_05_29151.jpg', '/home/pi/Desktop/images/08052026/20/06/image_08052026_20_07_06_30404.jpg', '/home/pi/Desktop/images/08052026/20/03/image_08052026_20_04_06_30386.jpg', '/home/pi/Desktop/images/08052026/20/03/image_08052026_20_03_35_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/09/image_08052026_20_10_06_30388.jpg
/home/pi/Desktop/images/08052026/20/09/image_08052026_20_09_35_30330.jpg
/home/pi/Desktop/images/08052026/20/08/image_08052026_20_09_05_29151.jpg
/home/pi/Desktop/images/08052026/20/06/image_08052026_20_07_06_30404.jpg
/home/pi/Desktop/images/08052026/20/03/image_08052026_20_04_06_30386.jpg
/home/pi/Desktop/images/08052026/20/03/image_08052026_20_03_35_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896161","1416896155","1416896163","1416896157","1416896153","1416896159"],"photo_ids_order":["1416896153","1416896155","1416896157","1416896159","1416896161","1416896163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fddcf47faed64761466c1178c78ce71.jpg","text":"TemporaryFile(/tmp/multipartBody3689583240823534808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_58_05_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91f2ed47c7c5211e858bc5722b8d6fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2542144475577066315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_51_36_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/883e5512fc947d9e225dc95dffdea2e7.jpg","text":"TemporaryFile(/tmp/multipartBody6699741763761505844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_58_36_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45906a532bb5445b6754f1285a781721.jpg","text":"TemporaryFile(/tmp/multipartBody3774982821991690361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_57_06_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/653da9f4f511a27947aa7fe38ca52729.jpg","text":"TemporaryFile(/tmp/multipartBody1907512817571870161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_50_35_29140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/effa53be3e7356ddeff33e9fb3c061ad.jpg","text":"TemporaryFile(/tmp/multipartBody358196325114260419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519107784,"filename":"image_08052026_00_57_35_29351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896157","file1":"1416896155","file0":"1416896153","file4":"1416896161","file5":"1416896163","file3":"1416896159"},"map_files_photo_id_array":[{"photo_id":"1416896163","filename":"file5"},{"photo_id":"1416896157","filename":"file2"},{"photo_id":"1416896161","filename":"file4"},{"photo_id":"1416896155","filename":"file1"},{"photo_id":"1416896153","filename":"file0"},{"photo_id":"1416896159","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896161":["hashtag1","hashtag2"]},{"1416896155":["hashtag1","hashtag2"]},{"1416896163":["hashtag1","hashtag2"]},{"1416896157":["hashtag1","hashtag2"]},{"1416896153":["hashtag1","hashtag2"]},{"1416896159":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896161, 1416896155, 1416896163, 1416896157, 1416896153, 1416896159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9211208820343 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896160","1416896154","1416896165","1416896162","1416896156","1416896158"],"photo_ids_order":["1416896154","1416896156","1416896158","1416896160","1416896162","1416896165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/378a4cb10d6e54f5aa115f63af6cab3d.jpg","text":"TemporaryFile(/tmp/multipartBody7992290626911520100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_07_06_30404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de7e13efd46e07d104947749bdea5af6.jpg","text":"TemporaryFile(/tmp/multipartBody4239200999662527069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_10_06_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef0e3443eb020039586a96a3d3673f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1353024632197178152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_03_35_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6266867eaef702658bca2de190c18837.jpg","text":"TemporaryFile(/tmp/multipartBody6093032390339189784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_04_06_30386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14f13faa391e8a0ec8d2798e2678a9a3.jpg","text":"TemporaryFile(/tmp/multipartBody5464175851090389425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_09_35_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5f97f4b2fea390fe89ad12f2f5b66a3.jpg","text":"TemporaryFile(/tmp/multipartBody2197107762171866045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519108674,"filename":"image_08052026_20_09_05_29151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896158","file1":"1416896156","file0":"1416896154","file4":"1416896162","file5":"1416896165","file3":"1416896160"},"map_files_photo_id_array":[{"photo_id":"1416896165","filename":"file5"},{"photo_id":"1416896158","filename":"file2"},{"photo_id":"1416896162","filename":"file4"},{"photo_id":"1416896156","filename":"file1"},{"photo_id":"1416896154","filename":"file0"},{"photo_id":"1416896160","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896160":["hashtag1","hashtag2"]},{"1416896154":["hashtag1","hashtag2"]},{"1416896165":["hashtag1","hashtag2"]},{"1416896162":["hashtag1","hashtag2"]},{"1416896156":["hashtag1","hashtag2"]},{"1416896158":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896160, 1416896154, 1416896165, 1416896162, 1416896156, 1416896158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72539806365967 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:05:04.373312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/20/00/image_08052026_20_00_36_30358.jpg', '/home/pi/Desktop/images/08052026/19/59/image_08052026_19_59_35_29376.jpg', '/home/pi/Desktop/images/08052026/19/58/image_08052026_19_59_06_30361.jpg', '/home/pi/Desktop/images/08052026/19/57/image_08052026_19_58_05_29270.jpg', '/home/pi/Desktop/images/08052026/19/57/image_08052026_19_57_36_30291.jpg', '/home/pi/Desktop/images/08052026/19/56/image_08052026_19_57_05_30385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/20/00/image_08052026_20_00_36_30358.jpg
/home/pi/Desktop/images/08052026/19/59/image_08052026_19_59_35_29376.jpg
/home/pi/Desktop/images/08052026/19/58/image_08052026_19_59_06_30361.jpg
/home/pi/Desktop/images/08052026/19/57/image_08052026_19_58_05_29270.jpg
/home/pi/Desktop/images/08052026/19/57/image_08052026_19_57_36_30291.jpg
/home/pi/Desktop/images/08052026/19/56/image_08052026_19_57_05_30385.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896173","1416896175","1416896178","1416896171","1416896174","1416896176"],"photo_ids_order":["1416896171","1416896173","1416896174","1416896175","1416896176","1416896178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/959b2a40da5d01173fdfa5b5538621b3.jpg","text":"TemporaryFile(/tmp/multipartBody8984271664427498449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_19_59_35_29376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a0372073f01541234833669731c7e11.jpg","text":"TemporaryFile(/tmp/multipartBody8140251216347720872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_19_58_05_29270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fa8b3cfe1b8ac81aceb54d0fb03c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1196218295477010064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_19_57_05_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab023fbef49229554c606339f2f3a238.jpg","text":"TemporaryFile(/tmp/multipartBody9138495419052649802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_20_00_36_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22d9043de28ef016e0e01c4cd15e2f91.jpg","text":"TemporaryFile(/tmp/multipartBody7611607173924559109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_19_59_06_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5a2af5c5306b26bdae84036eb9d8268.jpg","text":"TemporaryFile(/tmp/multipartBody7847798302861065254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519167874,"filename":"image_08052026_19_57_36_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896174","file1":"1416896173","file0":"1416896171","file4":"1416896176","file5":"1416896178","file3":"1416896175"},"map_files_photo_id_array":[{"photo_id":"1416896178","filename":"file5"},{"photo_id":"1416896174","filename":"file2"},{"photo_id":"1416896176","filename":"file4"},{"photo_id":"1416896173","filename":"file1"},{"photo_id":"1416896171","filename":"file0"},{"photo_id":"1416896175","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896173":["hashtag1","hashtag2"]},{"1416896175":["hashtag1","hashtag2"]},{"1416896178":["hashtag1","hashtag2"]},{"1416896171":["hashtag1","hashtag2"]},{"1416896174":["hashtag1","hashtag2"]},{"1416896176":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896173, 1416896175, 1416896178, 1416896171, 1416896174, 1416896176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.98976182937622 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:06:03.189896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/02/image_11052026_19_02_43_29254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/02/image_11052026_19_02_43_29254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896179"],"photo_id":"1416896179","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b3b42ee24d832b87239f2f1789f954f.jpg","text":"TemporaryFile(/tmp/multipartBody1466450689125391255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519224388,"filename":"image_11052026_19_02_43_29254.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896179"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.472673654556274 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:07:04.706783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/05/image_11052026_19_05_44_30323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/05/image_11052026_19_05_44_30323.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8784241676330566 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:08:03.205676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/05/image_11052026_19_05_44_30323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/05/image_11052026_19_05_44_30323.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896182"],"photo_id":"1416896182","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0fb58fcc7a67c86cfe658165e8fdd0f9.jpg","text":"TemporaryFile(/tmp/multipartBody4891646230801551581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519344419,"filename":"image_11052026_19_05_44_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896182"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.857280015945435 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:09:04.139777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/52/image_08052026_19_53_06_30388.jpg', '/home/pi/Desktop/images/08052026/19/52/image_08052026_19_52_35_30332.jpg', '/home/pi/Desktop/images/08052026/19/51/image_08052026_19_52_05_29223.jpg', '/home/pi/Desktop/images/08052026/19/51/image_08052026_19_51_36_30298.jpg', '/home/pi/Desktop/images/08052026/19/50/image_08052026_19_50_35_29302.jpg', '/home/pi/Desktop/images/08052026/19/49/image_08052026_19_50_06_30355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/52/image_08052026_19_53_06_30388.jpg
/home/pi/Desktop/images/08052026/19/52/image_08052026_19_52_35_30332.jpg
/home/pi/Desktop/images/08052026/19/51/image_08052026_19_52_05_29223.jpg
/home/pi/Desktop/images/08052026/19/51/image_08052026_19_51_36_30298.jpg
/home/pi/Desktop/images/08052026/19/50/image_08052026_19_50_35_29302.jpg
/home/pi/Desktop/images/08052026/19/49/image_08052026_19_50_06_30355.jpg
2026-05-11 19:09:04.497865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/59/image_08052026_00_59_35_30420.jpg', '/home/pi/Desktop/images/08052026/01/01/image_08052026_01_01_36_30424.jpg', '/home/pi/Desktop/images/08052026/01/04/image_08052026_01_04_36_30366.jpg', '/home/pi/Desktop/images/08052026/01/04/image_08052026_01_05_05_29280.jpg', '/home/pi/Desktop/images/08052026/01/05/image_08052026_01_05_35_30249.jpg', '/home/pi/Desktop/images/08052026/01/05/image_08052026_01_06_05_30326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/59/image_08052026_00_59_35_30420.jpg
/home/pi/Desktop/images/08052026/01/01/image_08052026_01_01_36_30424.jpg
/home/pi/Desktop/images/08052026/01/04/image_08052026_01_04_36_30366.jpg
/home/pi/Desktop/images/08052026/01/04/image_08052026_01_05_05_29280.jpg
/home/pi/Desktop/images/08052026/01/05/image_08052026_01_05_35_30249.jpg
/home/pi/Desktop/images/08052026/01/05/image_08052026_01_06_05_30326.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.488898992538452 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896187","1416896184","1416896189","1416896194","1416896191","1416896185"],"photo_ids_order":["1416896184","1416896185","1416896187","1416896189","1416896191","1416896194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/342aad2f96ad17a55a3ebc422d217860.jpg","text":"TemporaryFile(/tmp/multipartBody1116676167572640230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_52_05_29223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fa4d3ccc0c14200c275e0d1918f8944e.jpg","text":"TemporaryFile(/tmp/multipartBody5432832235189992022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_53_06_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0361c59c98d3044a8d4e94849835b827.jpg","text":"TemporaryFile(/tmp/multipartBody7375061907563982542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_51_36_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2124eccb82d3651de69f86c38379066.jpg","text":"TemporaryFile(/tmp/multipartBody3661234564312491708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_50_06_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd7d1e398a47bbaf77557420a2d34347.jpg","text":"TemporaryFile(/tmp/multipartBody405644106218323887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_50_35_29302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32b3597b9169a5101cc9a1da6ea49554.jpg","text":"TemporaryFile(/tmp/multipartBody7349719981333289909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519409389,"filename":"image_08052026_19_52_35_30332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896187","file1":"1416896185","file0":"1416896184","file4":"1416896191","file5":"1416896194","file3":"1416896189"},"map_files_photo_id_array":[{"photo_id":"1416896194","filename":"file5"},{"photo_id":"1416896187","filename":"file2"},{"photo_id":"1416896191","filename":"file4"},{"photo_id":"1416896185","filename":"file1"},{"photo_id":"1416896184","filename":"file0"},{"photo_id":"1416896189","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896187":["hashtag1","hashtag2"]},{"1416896184":["hashtag1","hashtag2"]},{"1416896189":["hashtag1","hashtag2"]},{"1416896194":["hashtag1","hashtag2"]},{"1416896191":["hashtag1","hashtag2"]},{"1416896185":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896187, 1416896184, 1416896189, 1416896194, 1416896191, 1416896185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06546759605408 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:10:03.222039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/06/image_11052026_19_07_14_30272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/06/image_11052026_19_07_14_30272.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896196"],"photo_id":"1416896196","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94bf5e0fedd39e04c2a94e725013b27c.jpg","text":"TemporaryFile(/tmp/multipartBody2426243849208352445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519464486,"filename":"image_11052026_19_07_14_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896196"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896196"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.882966756820679 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:11:03.825466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/49/image_08052026_19_49_35_30376.jpg', '/home/pi/Desktop/images/08052026/19/48/image_08052026_19_48_35_29286.jpg', '/home/pi/Desktop/images/08052026/19/47/image_08052026_19_48_06_30400.jpg', '/home/pi/Desktop/images/08052026/19/46/image_08052026_19_47_05_29242.jpg', '/home/pi/Desktop/images/08052026/19/43/image_08052026_19_43_36_30388.jpg', '/home/pi/Desktop/images/08052026/19/37/image_08052026_19_37_35_29304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/49/image_08052026_19_49_35_30376.jpg
/home/pi/Desktop/images/08052026/19/48/image_08052026_19_48_35_29286.jpg
/home/pi/Desktop/images/08052026/19/47/image_08052026_19_48_06_30400.jpg
/home/pi/Desktop/images/08052026/19/46/image_08052026_19_47_05_29242.jpg
/home/pi/Desktop/images/08052026/19/43/image_08052026_19_43_36_30388.jpg
/home/pi/Desktop/images/08052026/19/37/image_08052026_19_37_35_29304.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.2857227325439453 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:12:03.242381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/49/image_08052026_19_49_35_30376.jpg', '/home/pi/Desktop/images/08052026/19/48/image_08052026_19_48_35_29286.jpg', '/home/pi/Desktop/images/08052026/19/47/image_08052026_19_48_06_30400.jpg', '/home/pi/Desktop/images/08052026/19/46/image_08052026_19_47_05_29242.jpg', '/home/pi/Desktop/images/08052026/19/43/image_08052026_19_43_36_30388.jpg', '/home/pi/Desktop/images/08052026/19/37/image_08052026_19_37_35_29304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/49/image_08052026_19_49_35_30376.jpg
/home/pi/Desktop/images/08052026/19/48/image_08052026_19_48_35_29286.jpg
/home/pi/Desktop/images/08052026/19/47/image_08052026_19_48_06_30400.jpg
/home/pi/Desktop/images/08052026/19/46/image_08052026_19_47_05_29242.jpg
/home/pi/Desktop/images/08052026/19/43/image_08052026_19_43_36_30388.jpg
/home/pi/Desktop/images/08052026/19/37/image_08052026_19_37_35_29304.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896212","1416896215","1416896211","1416896214","1416896210","1416896213"],"photo_ids_order":["1416896210","1416896211","1416896212","1416896213","1416896214","1416896215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e0dd668c9587bb260c4caed386879bb.jpg","text":"TemporaryFile(/tmp/multipartBody367445357923538125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_48_06_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f82dac3e701db46e840d01cfdab42c8.jpg","text":"TemporaryFile(/tmp/multipartBody8324014489294164856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_37_35_29304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73f3979bdc643e0f9ef00d450fb2bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody7532331671577871928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_48_35_29286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32dfad6bbda27d5f4188405d47ddb2ad.jpg","text":"TemporaryFile(/tmp/multipartBody6428537918915928720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_43_36_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b70bac037cb3679099873bd80504a27.jpg","text":"TemporaryFile(/tmp/multipartBody3759777332431223983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_49_35_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64be0f568954edb660eef5980697a90a.jpg","text":"TemporaryFile(/tmp/multipartBody3247291934114347166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519587239,"filename":"image_08052026_19_47_05_29242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896212","file1":"1416896211","file0":"1416896210","file4":"1416896214","file5":"1416896215","file3":"1416896213"},"map_files_photo_id_array":[{"photo_id":"1416896215","filename":"file5"},{"photo_id":"1416896212","filename":"file2"},{"photo_id":"1416896214","filename":"file4"},{"photo_id":"1416896211","filename":"file1"},{"photo_id":"1416896210","filename":"file0"},{"photo_id":"1416896213","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896212":["hashtag1","hashtag2"]},{"1416896215":["hashtag1","hashtag2"]},{"1416896211":["hashtag1","hashtag2"]},{"1416896214":["hashtag1","hashtag2"]},{"1416896210":["hashtag1","hashtag2"]},{"1416896213":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896212, 1416896215, 1416896211, 1416896214, 1416896210, 1416896213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06734371185303 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:13:03.599320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/33/image_08052026_19_34_05_29176.jpg', '/home/pi/Desktop/images/08052026/19/32/image_08052026_19_33_05_30255.jpg', '/home/pi/Desktop/images/08052026/19/31/image_08052026_19_31_36_30241.jpg', '/home/pi/Desktop/images/08052026/19/30/image_08052026_19_31_06_30366.jpg', '/home/pi/Desktop/images/08052026/19/29/image_08052026_19_30_05_29136.jpg', '/home/pi/Desktop/images/08052026/19/29/image_08052026_19_29_36_30172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/33/image_08052026_19_34_05_29176.jpg
/home/pi/Desktop/images/08052026/19/32/image_08052026_19_33_05_30255.jpg
/home/pi/Desktop/images/08052026/19/31/image_08052026_19_31_36_30241.jpg
/home/pi/Desktop/images/08052026/19/30/image_08052026_19_31_06_30366.jpg
/home/pi/Desktop/images/08052026/19/29/image_08052026_19_30_05_29136.jpg
/home/pi/Desktop/images/08052026/19/29/image_08052026_19_29_36_30172.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896221","1416896218","1416896223","1416896217","1416896220","1416896219"],"photo_ids_order":["1416896217","1416896218","1416896219","1416896220","1416896221","1416896223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7da2dd6495daa7019fef2a8bd139e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3774445298651699969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_30_05_29136.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/112d6650d378811b67c944874bfb30c3.jpg","text":"TemporaryFile(/tmp/multipartBody5564174639649290956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_33_05_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de9aac1d6150c7ca7ac8db3e3c857364.jpg","text":"TemporaryFile(/tmp/multipartBody8392624510790325377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_29_36_30172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/658b1087b0ec7dbfc738473848531fab.jpg","text":"TemporaryFile(/tmp/multipartBody2957562005402620462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_34_05_29176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a7578f8dc1c4a1898a795aac5ed0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8970254943906337120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_31_06_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d54aa9f1a17f12c4b7170ff64ed2faf.jpg","text":"TemporaryFile(/tmp/multipartBody1475953880764340890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519647487,"filename":"image_08052026_19_31_36_30241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896219","file1":"1416896218","file0":"1416896217","file4":"1416896221","file5":"1416896223","file3":"1416896220"},"map_files_photo_id_array":[{"photo_id":"1416896223","filename":"file5"},{"photo_id":"1416896219","filename":"file2"},{"photo_id":"1416896221","filename":"file4"},{"photo_id":"1416896218","filename":"file1"},{"photo_id":"1416896217","filename":"file0"},{"photo_id":"1416896220","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896221":["hashtag1","hashtag2"]},{"1416896218":["hashtag1","hashtag2"]},{"1416896223":["hashtag1","hashtag2"]},{"1416896217":["hashtag1","hashtag2"]},{"1416896220":["hashtag1","hashtag2"]},{"1416896219":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896221, 1416896218, 1416896223, 1416896217, 1416896220, 1416896219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95365381240845 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:14:03.913612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/00/59/image_08052026_00_59_35_30420.jpg', '/home/pi/Desktop/images/08052026/01/01/image_08052026_01_01_36_30424.jpg', '/home/pi/Desktop/images/08052026/01/04/image_08052026_01_04_36_30366.jpg', '/home/pi/Desktop/images/08052026/01/04/image_08052026_01_05_05_29280.jpg', '/home/pi/Desktop/images/08052026/01/05/image_08052026_01_05_35_30249.jpg', '/home/pi/Desktop/images/08052026/01/05/image_08052026_01_06_05_30326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/00/59/image_08052026_00_59_35_30420.jpg
/home/pi/Desktop/images/08052026/01/01/image_08052026_01_01_36_30424.jpg
/home/pi/Desktop/images/08052026/01/04/image_08052026_01_04_36_30366.jpg
/home/pi/Desktop/images/08052026/01/04/image_08052026_01_05_05_29280.jpg
/home/pi/Desktop/images/08052026/01/05/image_08052026_01_05_35_30249.jpg
/home/pi/Desktop/images/08052026/01/05/image_08052026_01_06_05_30326.jpg
2026-05-11 19:14:04.046137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/28/image_08052026_19_29_06_30274.jpg', '/home/pi/Desktop/images/08052026/19/28/image_08052026_19_28_35_30217.jpg', '/home/pi/Desktop/images/08052026/19/26/image_08052026_19_27_06_30324.jpg', '/home/pi/Desktop/images/08052026/19/25/image_08052026_19_26_05_29190.jpg', '/home/pi/Desktop/images/08052026/19/24/image_08052026_19_25_05_30250.jpg', '/home/pi/Desktop/images/08052026/19/24/image_08052026_19_24_35_30219.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/28/image_08052026_19_29_06_30274.jpg
/home/pi/Desktop/images/08052026/19/28/image_08052026_19_28_35_30217.jpg
/home/pi/Desktop/images/08052026/19/26/image_08052026_19_27_06_30324.jpg
/home/pi/Desktop/images/08052026/19/25/image_08052026_19_26_05_29190.jpg
/home/pi/Desktop/images/08052026/19/24/image_08052026_19_25_05_30250.jpg
/home/pi/Desktop/images/08052026/19/24/image_08052026_19_24_35_30219.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896230","1416896233","1416896236","1416896232","1416896228","1416896225"],"photo_ids_order":["1416896225","1416896228","1416896230","1416896232","1416896233","1416896236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c580a843e9f620cc704bcd69f0828df.jpg","text":"TemporaryFile(/tmp/multipartBody7075743073213925196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_27_06_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f274a8cf112c493c39ba7809a476f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5826094095614071555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_25_05_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d53333644f47354c0c2eb8f0f5dc7460.jpg","text":"TemporaryFile(/tmp/multipartBody5819792387520598873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_24_35_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4ed72f4a8d3ff476e71ea3bcbba738f.jpg","text":"TemporaryFile(/tmp/multipartBody4232357964333973772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_26_05_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25194c4259d8ef6ba15ea7b656ebe4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1806602651580580164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_28_35_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1124ecd776813d273926c30b7219db42.jpg","text":"TemporaryFile(/tmp/multipartBody464742254460816865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519710179,"filename":"image_08052026_19_29_06_30274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896230","file1":"1416896228","file0":"1416896225","file4":"1416896233","file5":"1416896236","file3":"1416896232"},"map_files_photo_id_array":[{"photo_id":"1416896236","filename":"file5"},{"photo_id":"1416896230","filename":"file2"},{"photo_id":"1416896233","filename":"file4"},{"photo_id":"1416896228","filename":"file1"},{"photo_id":"1416896225","filename":"file0"},{"photo_id":"1416896232","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896230":["hashtag1","hashtag2"]},{"1416896233":["hashtag1","hashtag2"]},{"1416896236":["hashtag1","hashtag2"]},{"1416896232":["hashtag1","hashtag2"]},{"1416896228":["hashtag1","hashtag2"]},{"1416896225":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896230, 1416896233, 1416896236, 1416896232, 1416896228, 1416896225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.13727879524231 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896227","1416896224","1416896235","1416896229","1416896237","1416896231"],"photo_ids_order":["1416896224","1416896227","1416896229","1416896231","1416896235","1416896237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79687cfe39e313f70c77489f5e166db6.jpg","text":"TemporaryFile(/tmp/multipartBody4126008463454079317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_01_01_36_30424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56b280448be5bfa24f326d93dd94cb62.jpg","text":"TemporaryFile(/tmp/multipartBody46754844968936250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_00_59_35_30420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8f7d2a557cd32f0a77b63e0b4dc6a19.jpg","text":"TemporaryFile(/tmp/multipartBody4462716738890034257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_01_05_35_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/149eba96825a6428696ec4fd6a5ed394.jpg","text":"TemporaryFile(/tmp/multipartBody2265570407225845905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_01_04_36_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/71f97a8dd4eb08a95d50aa186279a219.jpg","text":"TemporaryFile(/tmp/multipartBody4806565983865888044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_01_06_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9159d94107fe3febfd2fc221d46edaa.jpg","text":"TemporaryFile(/tmp/multipartBody9105940565067598647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519709492,"filename":"image_08052026_01_05_05_29280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896229","file1":"1416896227","file0":"1416896224","file4":"1416896235","file5":"1416896237","file3":"1416896231"},"map_files_photo_id_array":[{"photo_id":"1416896237","filename":"file5"},{"photo_id":"1416896229","filename":"file2"},{"photo_id":"1416896235","filename":"file4"},{"photo_id":"1416896227","filename":"file1"},{"photo_id":"1416896224","filename":"file0"},{"photo_id":"1416896231","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896227":["hashtag1","hashtag2"]},{"1416896224":["hashtag1","hashtag2"]},{"1416896235":["hashtag1","hashtag2"]},{"1416896229":["hashtag1","hashtag2"]},{"1416896237":["hashtag1","hashtag2"]},{"1416896231":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896227, 1416896224, 1416896235, 1416896229, 1416896237, 1416896231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68656396865845 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:15:04.694883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/15/image_11052026_19_15_44_30373.jpg', '/home/pi/Desktop/images/11052026/19/09/image_11052026_19_09_44_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/15/image_11052026_19_15_44_30373.jpg
/home/pi/Desktop/images/11052026/19/09/image_11052026_19_09_44_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896239","1416896240"],"photo_ids_order":["1416896239","1416896240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65e3d1748cab7dae724122e346167ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2240874012802402697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519766436,"filename":"image_11052026_19_15_44_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ee93166e963ca9bb88306f2280af3e3.jpg","text":"TemporaryFile(/tmp/multipartBody6193960729573576910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519766436,"filename":"image_11052026_19_09_44_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896240","file0":"1416896239"},"map_files_photo_id_array":[{"photo_id":"1416896240","filename":"file1"},{"photo_id":"1416896239","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896239":["hashtag1","hashtag2"]},{"1416896240":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896239, 1416896240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.507431268692017 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:16:03.438488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/15/image_08052026_19_15_36_30330.jpg', '/home/pi/Desktop/images/08052026/19/12/image_08052026_19_12_35_29188.jpg', '/home/pi/Desktop/images/08052026/19/11/image_08052026_19_12_06_30338.jpg', '/home/pi/Desktop/images/08052026/19/11/image_08052026_19_11_35_30228.jpg', '/home/pi/Desktop/images/08052026/19/10/image_08052026_19_11_05_30326.jpg', '/home/pi/Desktop/images/08052026/19/10/image_08052026_19_10_35_29388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/15/image_08052026_19_15_36_30330.jpg
/home/pi/Desktop/images/08052026/19/12/image_08052026_19_12_35_29188.jpg
/home/pi/Desktop/images/08052026/19/11/image_08052026_19_12_06_30338.jpg
/home/pi/Desktop/images/08052026/19/11/image_08052026_19_11_35_30228.jpg
/home/pi/Desktop/images/08052026/19/10/image_08052026_19_11_05_30326.jpg
/home/pi/Desktop/images/08052026/19/10/image_08052026_19_10_35_29388.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896245","1416896242","1416896244","1416896247","1416896246","1416896243"],"photo_ids_order":["1416896242","1416896243","1416896244","1416896245","1416896246","1416896247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0eee2a3ca3a2553b96e4a8a8791c563f.jpg","text":"TemporaryFile(/tmp/multipartBody9007274923881070561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_11_35_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef91632c1c7f9da90e0f76cc53c57220.jpg","text":"TemporaryFile(/tmp/multipartBody5444464543161470524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_15_36_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52a51e2d8676849dc5452656f29c04cd.jpg","text":"TemporaryFile(/tmp/multipartBody5643168370888729000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_12_06_30338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a749a3bc4390de2fb9fe03333e577a0d.jpg","text":"TemporaryFile(/tmp/multipartBody208053121786238848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_10_35_29388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46b864c8971eb115e092cc6e6ca5276b.jpg","text":"TemporaryFile(/tmp/multipartBody1939372116043876567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_11_05_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac21827bd94b5bed4b1cafc9d3b62305.jpg","text":"TemporaryFile(/tmp/multipartBody5515608241900683374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519827046,"filename":"image_08052026_19_12_35_29188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896244","file1":"1416896243","file0":"1416896242","file4":"1416896246","file5":"1416896247","file3":"1416896245"},"map_files_photo_id_array":[{"photo_id":"1416896247","filename":"file5"},{"photo_id":"1416896244","filename":"file2"},{"photo_id":"1416896246","filename":"file4"},{"photo_id":"1416896243","filename":"file1"},{"photo_id":"1416896242","filename":"file0"},{"photo_id":"1416896245","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896245":["hashtag1","hashtag2"]},{"1416896242":["hashtag1","hashtag2"]},{"1416896244":["hashtag1","hashtag2"]},{"1416896247":["hashtag1","hashtag2"]},{"1416896246":["hashtag1","hashtag2"]},{"1416896243":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896245, 1416896242, 1416896244, 1416896247, 1416896246, 1416896243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.661741971969604 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:17:04.102998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/09/image_08052026_19_10_06_30376.jpg', '/home/pi/Desktop/images/08052026/19/09/image_08052026_19_09_35_29336.jpg', '/home/pi/Desktop/images/08052026/19/05/image_08052026_19_05_36_30318.jpg', '/home/pi/Desktop/images/08052026/19/04/image_08052026_19_05_05_30335.jpg', '/home/pi/Desktop/images/08052026/18/59/image_08052026_18_59_35_30404.jpg', '/home/pi/Desktop/images/08052026/18/58/image_08052026_18_59_05_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/09/image_08052026_19_10_06_30376.jpg
/home/pi/Desktop/images/08052026/19/09/image_08052026_19_09_35_29336.jpg
/home/pi/Desktop/images/08052026/19/05/image_08052026_19_05_36_30318.jpg
/home/pi/Desktop/images/08052026/19/04/image_08052026_19_05_05_30335.jpg
/home/pi/Desktop/images/08052026/18/59/image_08052026_18_59_35_30404.jpg
/home/pi/Desktop/images/08052026/18/58/image_08052026_18_59_05_29273.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.309694290161133 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:18:03.695150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/19/09/image_08052026_19_10_06_30376.jpg', '/home/pi/Desktop/images/08052026/19/09/image_08052026_19_09_35_29336.jpg', '/home/pi/Desktop/images/08052026/19/05/image_08052026_19_05_36_30318.jpg', '/home/pi/Desktop/images/08052026/19/04/image_08052026_19_05_05_30335.jpg', '/home/pi/Desktop/images/08052026/18/59/image_08052026_18_59_35_30404.jpg', '/home/pi/Desktop/images/08052026/18/58/image_08052026_18_59_05_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/19/09/image_08052026_19_10_06_30376.jpg
/home/pi/Desktop/images/08052026/19/09/image_08052026_19_09_35_29336.jpg
/home/pi/Desktop/images/08052026/19/05/image_08052026_19_05_36_30318.jpg
/home/pi/Desktop/images/08052026/19/04/image_08052026_19_05_05_30335.jpg
/home/pi/Desktop/images/08052026/18/59/image_08052026_18_59_35_30404.jpg
/home/pi/Desktop/images/08052026/18/58/image_08052026_18_59_05_29273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896262","1416896265","1416896264","1416896267","1416896261","1416896263"],"photo_ids_order":["1416896261","1416896262","1416896263","1416896264","1416896265","1416896267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb76761352b1b2063466a97138861051.jpg","text":"TemporaryFile(/tmp/multipartBody4000415503236902897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_19_09_35_29336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dbb8539c207e5b0881f82888299128f4.jpg","text":"TemporaryFile(/tmp/multipartBody4974592536512620874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_18_59_35_30404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e0adc455ce6a8d691d90dddc22af339.jpg","text":"TemporaryFile(/tmp/multipartBody4432773942959095068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_19_05_05_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a3295c5f6253e75641b1f1dae2468c0.jpg","text":"TemporaryFile(/tmp/multipartBody5806551362990855106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_18_59_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b285ab6cf4c450f6b9c9587bb5c6023d.jpg","text":"TemporaryFile(/tmp/multipartBody5535732553916769751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_19_10_06_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c41ca1c6b266e577c2afdf3292a2cf3.jpg","text":"TemporaryFile(/tmp/multipartBody9062483043579881261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778519947399,"filename":"image_08052026_19_05_36_30318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896263","file1":"1416896262","file0":"1416896261","file4":"1416896265","file5":"1416896267","file3":"1416896264"},"map_files_photo_id_array":[{"photo_id":"1416896267","filename":"file5"},{"photo_id":"1416896263","filename":"file2"},{"photo_id":"1416896265","filename":"file4"},{"photo_id":"1416896262","filename":"file1"},{"photo_id":"1416896261","filename":"file0"},{"photo_id":"1416896264","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896262":["hashtag1","hashtag2"]},{"1416896265":["hashtag1","hashtag2"]},{"1416896264":["hashtag1","hashtag2"]},{"1416896267":["hashtag1","hashtag2"]},{"1416896261":["hashtag1","hashtag2"]},{"1416896263":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896262, 1416896265, 1416896264, 1416896267, 1416896261, 1416896263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.187294721603394 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:19:04.231123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/44/image_08052026_18_44_35_29257.jpg', '/home/pi/Desktop/images/08052026/18/43/image_08052026_18_44_06_30261.jpg', '/home/pi/Desktop/images/08052026/18/42/image_08052026_18_43_05_30227.jpg', '/home/pi/Desktop/images/08052026/18/42/image_08052026_18_42_35_29245.jpg', '/home/pi/Desktop/images/08052026/18/41/image_08052026_18_41_36_30262.jpg', '/home/pi/Desktop/images/08052026/18/38/image_08052026_18_38_36_30307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/44/image_08052026_18_44_35_29257.jpg
/home/pi/Desktop/images/08052026/18/43/image_08052026_18_44_06_30261.jpg
/home/pi/Desktop/images/08052026/18/42/image_08052026_18_43_05_30227.jpg
/home/pi/Desktop/images/08052026/18/42/image_08052026_18_42_35_29245.jpg
/home/pi/Desktop/images/08052026/18/41/image_08052026_18_41_36_30262.jpg
/home/pi/Desktop/images/08052026/18/38/image_08052026_18_38_36_30307.jpg
2026-05-11 19:19:04.530191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/06/image_08052026_01_07_05_29201.jpg', '/home/pi/Desktop/images/08052026/01/07/image_08052026_01_07_35_30378.jpg', '/home/pi/Desktop/images/08052026/01/08/image_08052026_01_09_05_30400.jpg', '/home/pi/Desktop/images/08052026/01/09/image_08052026_01_09_36_30381.jpg', '/home/pi/Desktop/images/08052026/01/09/image_08052026_01_10_05_29206.jpg', '/home/pi/Desktop/images/08052026/01/10/image_08052026_01_10_35_30136.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/06/image_08052026_01_07_05_29201.jpg
/home/pi/Desktop/images/08052026/01/07/image_08052026_01_07_35_30378.jpg
/home/pi/Desktop/images/08052026/01/08/image_08052026_01_09_05_30400.jpg
/home/pi/Desktop/images/08052026/01/09/image_08052026_01_09_36_30381.jpg
/home/pi/Desktop/images/08052026/01/09/image_08052026_01_10_05_29206.jpg
/home/pi/Desktop/images/08052026/01/10/image_08052026_01_10_35_30136.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.9557530879974365 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896271","1416896268","1416896273","1416896275","1416896269","1416896278"],"photo_ids_order":["1416896268","1416896269","1416896271","1416896273","1416896275","1416896278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8ed2739b69c631664915cedcb20945a.jpg","text":"TemporaryFile(/tmp/multipartBody4434237210081510681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_09_05_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c083cfd52fb3bdcaa0d35210e71de4d8.jpg","text":"TemporaryFile(/tmp/multipartBody3327897789027231509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_07_05_29201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e6df7fc55f80da47f98a27bbccb1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7560781993062545644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_09_36_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da11ebf5cb6c0746e66e84389d8558be.jpg","text":"TemporaryFile(/tmp/multipartBody4586688525680439671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_10_05_29206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1ea9b5f87effd0569c19f3c6d47a5732.jpg","text":"TemporaryFile(/tmp/multipartBody412786001701638847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_07_35_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c4d838c51f0c904b770a42c710ac435.jpg","text":"TemporaryFile(/tmp/multipartBody5113587427820446317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520010072,"filename":"image_08052026_01_10_35_30136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896271","file1":"1416896269","file0":"1416896268","file4":"1416896275","file5":"1416896278","file3":"1416896273"},"map_files_photo_id_array":[{"photo_id":"1416896278","filename":"file5"},{"photo_id":"1416896271","filename":"file2"},{"photo_id":"1416896275","filename":"file4"},{"photo_id":"1416896269","filename":"file1"},{"photo_id":"1416896268","filename":"file0"},{"photo_id":"1416896273","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896271":["hashtag1","hashtag2"]},{"1416896268":["hashtag1","hashtag2"]},{"1416896273":["hashtag1","hashtag2"]},{"1416896275":["hashtag1","hashtag2"]},{"1416896269":["hashtag1","hashtag2"]},{"1416896278":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896271, 1416896268, 1416896273, 1416896275, 1416896269, 1416896278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.09459185600281 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:20:03.378553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/13/image_11052026_19_14_14_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/13/image_11052026_19_14_14_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896280"],"photo_id":"1416896280","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/18d7b30126e39fbe60881adc5a3690c3.jpg","text":"TemporaryFile(/tmp/multipartBody3248421628733438733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520064597,"filename":"image_11052026_19_14_14_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896280"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896280"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.735405206680298 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:21:04.068302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/20/image_11052026_19_21_14_29178.jpg', '/home/pi/Desktop/images/11052026/19/20/image_11052026_19_20_44_30367.jpg', '/home/pi/Desktop/images/11052026/19/19/image_11052026_19_20_14_30143.jpg', '/home/pi/Desktop/images/11052026/19/19/image_11052026_19_19_44_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/20/image_11052026_19_21_14_29178.jpg
/home/pi/Desktop/images/11052026/19/20/image_11052026_19_20_44_30367.jpg
/home/pi/Desktop/images/11052026/19/19/image_11052026_19_20_14_30143.jpg
/home/pi/Desktop/images/11052026/19/19/image_11052026_19_19_44_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896283","1416896282","1416896285","1416896284"],"photo_ids_order":["1416896282","1416896283","1416896284","1416896285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/451af8254d2baccb89b0716459cc28f2.jpg","text":"TemporaryFile(/tmp/multipartBody7650936969503293292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520126199,"filename":"image_11052026_19_20_44_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/836e9afcf0a6a1b701da72a98f91d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody8018126554778742473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520126199,"filename":"image_11052026_19_21_14_29178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b169bccd3fe9cd31f26c075bfa625ef4.jpg","text":"TemporaryFile(/tmp/multipartBody6368512650062275013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520126199,"filename":"image_11052026_19_19_44_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d10bedf8721d9401d6d65347743b860.jpg","text":"TemporaryFile(/tmp/multipartBody2669458198907593070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520126199,"filename":"image_11052026_19_20_14_30143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896284","file1":"1416896283","file0":"1416896282","file3":"1416896285"},"map_files_photo_id_array":[{"photo_id":"1416896284","filename":"file2"},{"photo_id":"1416896283","filename":"file1"},{"photo_id":"1416896282","filename":"file0"},{"photo_id":"1416896285","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896283":["hashtag1","hashtag2"]},{"1416896282":["hashtag1","hashtag2"]},{"1416896285":["hashtag1","hashtag2"]},{"1416896284":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896283, 1416896282, 1416896285, 1416896284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.836946487426758 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:22:03.371521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/44/image_08052026_18_44_35_29257.jpg', '/home/pi/Desktop/images/08052026/18/43/image_08052026_18_44_06_30261.jpg', '/home/pi/Desktop/images/08052026/18/42/image_08052026_18_43_05_30227.jpg', '/home/pi/Desktop/images/08052026/18/42/image_08052026_18_42_35_29245.jpg', '/home/pi/Desktop/images/08052026/18/41/image_08052026_18_41_36_30262.jpg', '/home/pi/Desktop/images/08052026/18/38/image_08052026_18_38_36_30307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/44/image_08052026_18_44_35_29257.jpg
/home/pi/Desktop/images/08052026/18/43/image_08052026_18_44_06_30261.jpg
/home/pi/Desktop/images/08052026/18/42/image_08052026_18_43_05_30227.jpg
/home/pi/Desktop/images/08052026/18/42/image_08052026_18_42_35_29245.jpg
/home/pi/Desktop/images/08052026/18/41/image_08052026_18_41_36_30262.jpg
/home/pi/Desktop/images/08052026/18/38/image_08052026_18_38_36_30307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896292","1416896289","1416896291","1416896288","1416896287","1416896290"],"photo_ids_order":["1416896287","1416896288","1416896289","1416896290","1416896291","1416896292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23be5ceb2aa5fcf98a9a94461d8a104d.jpg","text":"TemporaryFile(/tmp/multipartBody5062205373943060521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_38_36_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15f16b4b592129b151cd3ac178c477b1.jpg","text":"TemporaryFile(/tmp/multipartBody2989345682116427144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_43_05_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f993bf0f958755f06710ecb8d45a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody458654385612248677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_41_36_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d22953aa25cf5f40d71514ccc5dc0ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2641744558878230488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_44_06_30261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1204c0af0efbbd40b1ad91d6552c43a6.jpg","text":"TemporaryFile(/tmp/multipartBody6236274926386606098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_44_35_29257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb2ba33445e962a064b86fcfdfdb7787.jpg","text":"TemporaryFile(/tmp/multipartBody1875613423846038725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520186269,"filename":"image_08052026_18_42_35_29245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896289","file1":"1416896288","file0":"1416896287","file4":"1416896291","file5":"1416896292","file3":"1416896290"},"map_files_photo_id_array":[{"photo_id":"1416896292","filename":"file5"},{"photo_id":"1416896289","filename":"file2"},{"photo_id":"1416896291","filename":"file4"},{"photo_id":"1416896288","filename":"file1"},{"photo_id":"1416896287","filename":"file0"},{"photo_id":"1416896290","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896292":["hashtag1","hashtag2"]},{"1416896289":["hashtag1","hashtag2"]},{"1416896291":["hashtag1","hashtag2"]},{"1416896288":["hashtag1","hashtag2"]},{"1416896287":["hashtag1","hashtag2"]},{"1416896290":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896292, 1416896289, 1416896291, 1416896288, 1416896287, 1416896290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31260800361633 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:23:03.649070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/21/image_11052026_19_22_14_30348.jpg', '/home/pi/Desktop/images/11052026/19/21/image_11052026_19_21_44_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/21/image_11052026_19_22_14_30348.jpg
/home/pi/Desktop/images/11052026/19/21/image_11052026_19_21_44_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896295","1416896294"],"photo_ids_order":["1416896294","1416896295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72ba849ec717292f590cde6e6451261a.jpg","text":"TemporaryFile(/tmp/multipartBody2238712327232347516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520245517,"filename":"image_11052026_19_21_44_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67622432f0f783f9c395b1a36b17d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6455871920576568116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520245517,"filename":"image_11052026_19_22_14_30348.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896295","file0":"1416896294"},"map_files_photo_id_array":[{"photo_id":"1416896295","filename":"file1"},{"photo_id":"1416896294","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896295":["hashtag1","hashtag2"]},{"1416896294":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896295, 1416896294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.452101945877075 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:24:03.888900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/10/image_08052026_01_11_05_30197.jpg', '/home/pi/Desktop/images/08052026/01/11/image_08052026_01_11_36_30401.jpg', '/home/pi/Desktop/images/08052026/01/11/image_08052026_01_12_05_29333.jpg', '/home/pi/Desktop/images/08052026/01/12/image_08052026_01_12_35_30314.jpg', '/home/pi/Desktop/images/08052026/01/13/image_08052026_01_13_35_29241.jpg', '/home/pi/Desktop/images/08052026/01/14/image_08052026_01_14_36_30348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/10/image_08052026_01_11_05_30197.jpg
/home/pi/Desktop/images/08052026/01/11/image_08052026_01_11_36_30401.jpg
/home/pi/Desktop/images/08052026/01/11/image_08052026_01_12_05_29333.jpg
/home/pi/Desktop/images/08052026/01/12/image_08052026_01_12_35_30314.jpg
/home/pi/Desktop/images/08052026/01/13/image_08052026_01_13_35_29241.jpg
/home/pi/Desktop/images/08052026/01/14/image_08052026_01_14_36_30348.jpg
2026-05-11 19:24:03.856267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/37/image_08052026_18_38_05_30353.jpg', '/home/pi/Desktop/images/08052026/18/37/image_08052026_18_37_35_29325.jpg', '/home/pi/Desktop/images/08052026/18/36/image_08052026_18_37_06_30192.jpg', '/home/pi/Desktop/images/08052026/18/36/image_08052026_18_36_36_30142.jpg', '/home/pi/Desktop/images/08052026/18/35/image_08052026_18_36_05_30455.jpg', '/home/pi/Desktop/images/08052026/18/34/image_08052026_18_35_05_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/37/image_08052026_18_38_05_30353.jpg
/home/pi/Desktop/images/08052026/18/37/image_08052026_18_37_35_29325.jpg
/home/pi/Desktop/images/08052026/18/36/image_08052026_18_37_06_30192.jpg
/home/pi/Desktop/images/08052026/18/36/image_08052026_18_36_36_30142.jpg
/home/pi/Desktop/images/08052026/18/35/image_08052026_18_36_05_30455.jpg
/home/pi/Desktop/images/08052026/18/34/image_08052026_18_35_05_29232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896311","1416896308","1416896313","1416896300","1416896303","1416896306"],"photo_ids_order":["1416896300","1416896303","1416896306","1416896308","1416896311","1416896313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f1e1ec31febf48b052a3e9f7c9104e4.jpg","text":"TemporaryFile(/tmp/multipartBody3956648135448360745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_36_05_30455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14567fd7162d1c239a6cee28b1638299.jpg","text":"TemporaryFile(/tmp/multipartBody935400064920512939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_36_36_30142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a707f68a3c6f50a4f710c67345651927.jpg","text":"TemporaryFile(/tmp/multipartBody599885672233780125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_35_05_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e53735050cf821e3c258ce2d3b654a7.jpg","text":"TemporaryFile(/tmp/multipartBody15282544577822933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_38_05_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d597d0dba35696cc6078320040bf747.jpg","text":"TemporaryFile(/tmp/multipartBody7469710647449825609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_37_35_29325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c37ad6ae216fa51b3ab557193fdabaf.jpg","text":"TemporaryFile(/tmp/multipartBody7072500647509145069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520308478,"filename":"image_08052026_18_37_06_30192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896306","file1":"1416896303","file0":"1416896300","file4":"1416896311","file5":"1416896313","file3":"1416896308"},"map_files_photo_id_array":[{"photo_id":"1416896313","filename":"file5"},{"photo_id":"1416896306","filename":"file2"},{"photo_id":"1416896311","filename":"file4"},{"photo_id":"1416896303","filename":"file1"},{"photo_id":"1416896300","filename":"file0"},{"photo_id":"1416896308","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896311":["hashtag1","hashtag2"]},{"1416896308":["hashtag1","hashtag2"]},{"1416896313":["hashtag1","hashtag2"]},{"1416896300":["hashtag1","hashtag2"]},{"1416896303":["hashtag1","hashtag2"]},{"1416896306":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896311, 1416896308, 1416896313, 1416896300, 1416896303, 1416896306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.407395362854004 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896314","1416896310","1416896304","1416896307","1416896301","1416896312"],"photo_ids_order":["1416896301","1416896304","1416896307","1416896310","1416896312","1416896314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1fa18e2362e44b6ee6996e470cc3d565.jpg","text":"TemporaryFile(/tmp/multipartBody226476302575045366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_14_36_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73994c02e45fc630e0eea35283d42a13.jpg","text":"TemporaryFile(/tmp/multipartBody8853102195253881813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_12_35_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc0b67b908d769ff7263dc14e048e799.jpg","text":"TemporaryFile(/tmp/multipartBody6015253407847751885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_11_36_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50bf8a231a795aa538603f9941fede80.jpg","text":"TemporaryFile(/tmp/multipartBody3351757983590020989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_12_05_29333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/66acf91d797359459de18a6b74ac5a67.jpg","text":"TemporaryFile(/tmp/multipartBody5866695881032247607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_11_05_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0f26d868754bd26ce397f31dc09f24c.jpg","text":"TemporaryFile(/tmp/multipartBody3388569291583913298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520309197,"filename":"image_08052026_01_13_35_29241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896307","file1":"1416896304","file0":"1416896301","file4":"1416896312","file5":"1416896314","file3":"1416896310"},"map_files_photo_id_array":[{"photo_id":"1416896314","filename":"file5"},{"photo_id":"1416896307","filename":"file2"},{"photo_id":"1416896312","filename":"file4"},{"photo_id":"1416896304","filename":"file1"},{"photo_id":"1416896301","filename":"file0"},{"photo_id":"1416896310","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896314":["hashtag1","hashtag2"]},{"1416896310":["hashtag1","hashtag2"]},{"1416896304":["hashtag1","hashtag2"]},{"1416896307":["hashtag1","hashtag2"]},{"1416896301":["hashtag1","hashtag2"]},{"1416896312":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896314, 1416896310, 1416896304, 1416896307, 1416896301, 1416896312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96700382232666 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:25:04.232014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/33/image_08052026_18_34_05_30297.jpg', '/home/pi/Desktop/images/08052026/18/32/image_08052026_18_32_36_30239.jpg', '/home/pi/Desktop/images/08052026/18/31/image_08052026_18_32_05_30302.jpg', '/home/pi/Desktop/images/08052026/18/30/image_08052026_18_31_05_29178.jpg', '/home/pi/Desktop/images/08052026/18/29/image_08052026_18_30_05_30368.jpg', '/home/pi/Desktop/images/08052026/18/29/image_08052026_18_29_35_30281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/33/image_08052026_18_34_05_30297.jpg
/home/pi/Desktop/images/08052026/18/32/image_08052026_18_32_36_30239.jpg
/home/pi/Desktop/images/08052026/18/31/image_08052026_18_32_05_30302.jpg
/home/pi/Desktop/images/08052026/18/30/image_08052026_18_31_05_29178.jpg
/home/pi/Desktop/images/08052026/18/29/image_08052026_18_30_05_30368.jpg
/home/pi/Desktop/images/08052026/18/29/image_08052026_18_29_35_30281.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896320","1416896317","1416896316","1416896319","1416896321","1416896318"],"photo_ids_order":["1416896316","1416896317","1416896318","1416896319","1416896320","1416896321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/330959340f21021259d9503cb4852a15.jpg","text":"TemporaryFile(/tmp/multipartBody7426544867038124726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_30_05_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4848e0602256a1fa52ee3d6ba2124b19.jpg","text":"TemporaryFile(/tmp/multipartBody1016558517526384024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_32_36_30239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3addc5f4ac641a226942482d3066d970.jpg","text":"TemporaryFile(/tmp/multipartBody6243528539957409563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_34_05_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a147e5911d1632b107c3eb22637c0455.jpg","text":"TemporaryFile(/tmp/multipartBody753795908566826934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_31_05_29178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6441c6e25b075e35288dc8860d702cd.jpg","text":"TemporaryFile(/tmp/multipartBody5754791615099729075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_29_35_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1b2cf221c6e9230c3cf749c5ce1bd71.jpg","text":"TemporaryFile(/tmp/multipartBody338763315243365491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520367444,"filename":"image_08052026_18_32_05_30302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896318","file1":"1416896317","file0":"1416896316","file4":"1416896320","file5":"1416896321","file3":"1416896319"},"map_files_photo_id_array":[{"photo_id":"1416896321","filename":"file5"},{"photo_id":"1416896318","filename":"file2"},{"photo_id":"1416896320","filename":"file4"},{"photo_id":"1416896317","filename":"file1"},{"photo_id":"1416896316","filename":"file0"},{"photo_id":"1416896319","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896320":["hashtag1","hashtag2"]},{"1416896317":["hashtag1","hashtag2"]},{"1416896316":["hashtag1","hashtag2"]},{"1416896319":["hashtag1","hashtag2"]},{"1416896321":["hashtag1","hashtag2"]},{"1416896318":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896320, 1416896317, 1416896316, 1416896319, 1416896321, 1416896318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59831142425537 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:26:03.128145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/28/image_08052026_18_28_36_30254.jpg', '/home/pi/Desktop/images/08052026/18/27/image_08052026_18_28_05_30339.jpg', '/home/pi/Desktop/images/08052026/18/26/image_08052026_18_27_06_30274.jpg', '/home/pi/Desktop/images/08052026/18/26/image_08052026_18_26_36_30258.jpg', '/home/pi/Desktop/images/08052026/18/25/image_08052026_18_26_05_30296.jpg', '/home/pi/Desktop/images/08052026/18/25/image_08052026_18_25_35_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/28/image_08052026_18_28_36_30254.jpg
/home/pi/Desktop/images/08052026/18/27/image_08052026_18_28_05_30339.jpg
/home/pi/Desktop/images/08052026/18/26/image_08052026_18_27_06_30274.jpg
/home/pi/Desktop/images/08052026/18/26/image_08052026_18_26_36_30258.jpg
/home/pi/Desktop/images/08052026/18/25/image_08052026_18_26_05_30296.jpg
/home/pi/Desktop/images/08052026/18/25/image_08052026_18_25_35_29232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896326","1416896323","1416896325","1416896328","1416896327","1416896324"],"photo_ids_order":["1416896323","1416896324","1416896325","1416896326","1416896327","1416896328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba7261fc73bc5fd658cec05a048c7885.jpg","text":"TemporaryFile(/tmp/multipartBody5901288513362433626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_26_36_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42c79e7319a13a034020c205b9e27084.jpg","text":"TemporaryFile(/tmp/multipartBody6933984595847045688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_28_36_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e70efb71de82073825d4f738cd4aa300.jpg","text":"TemporaryFile(/tmp/multipartBody8937426673207596057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_27_06_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/414441c504de5e7be6d8ae640052171f.jpg","text":"TemporaryFile(/tmp/multipartBody723641489746172974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_25_35_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dde8dc2a2dda2f0891387bc261d205e8.jpg","text":"TemporaryFile(/tmp/multipartBody3227771558101818858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_26_05_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ff819bf5ad22b2eb6ad9ed28425c2ea.jpg","text":"TemporaryFile(/tmp/multipartBody513134342027085198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520426292,"filename":"image_08052026_18_28_05_30339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896325","file1":"1416896324","file0":"1416896323","file4":"1416896327","file5":"1416896328","file3":"1416896326"},"map_files_photo_id_array":[{"photo_id":"1416896328","filename":"file5"},{"photo_id":"1416896325","filename":"file2"},{"photo_id":"1416896327","filename":"file4"},{"photo_id":"1416896324","filename":"file1"},{"photo_id":"1416896323","filename":"file0"},{"photo_id":"1416896326","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896326":["hashtag1","hashtag2"]},{"1416896323":["hashtag1","hashtag2"]},{"1416896325":["hashtag1","hashtag2"]},{"1416896328":["hashtag1","hashtag2"]},{"1416896327":["hashtag1","hashtag2"]},{"1416896324":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896326, 1416896323, 1416896325, 1416896328, 1416896327, 1416896324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60628390312195 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:27:03.952104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/22/image_11052026_19_22_44_30181.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/22/image_11052026_19_22_44_30181.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7914166450500488 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:28:03.549761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/22/image_11052026_19_22_44_30181.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/22/image_11052026_19_22_44_30181.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896331"],"photo_id":"1416896331","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a078727b8dd511c4dc34d480394e62e.jpg","text":"TemporaryFile(/tmp/multipartBody8976160315758465428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520544852,"filename":"image_11052026_19_22_44_30181.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896331"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896331"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.996190786361694 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:29:03.948547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/24/image_08052026_18_24_36_30392.jpg', '/home/pi/Desktop/images/08052026/18/23/image_08052026_18_24_05_29329.jpg', '/home/pi/Desktop/images/08052026/18/22/image_08052026_18_23_05_30330.jpg', '/home/pi/Desktop/images/08052026/18/21/image_08052026_18_22_06_30297.jpg', '/home/pi/Desktop/images/08052026/18/21/image_08052026_18_21_36_30359.jpg', '/home/pi/Desktop/images/08052026/18/19/image_08052026_18_20_05_30410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/24/image_08052026_18_24_36_30392.jpg
/home/pi/Desktop/images/08052026/18/23/image_08052026_18_24_05_29329.jpg
/home/pi/Desktop/images/08052026/18/22/image_08052026_18_23_05_30330.jpg
/home/pi/Desktop/images/08052026/18/21/image_08052026_18_22_06_30297.jpg
/home/pi/Desktop/images/08052026/18/21/image_08052026_18_21_36_30359.jpg
/home/pi/Desktop/images/08052026/18/19/image_08052026_18_20_05_30410.jpg
2026-05-11 19:29:04.096619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/14/image_08052026_01_15_05_29240.jpg', '/home/pi/Desktop/images/08052026/01/15/image_08052026_01_15_35_30330.jpg', '/home/pi/Desktop/images/08052026/01/15/image_08052026_01_16_06_30280.jpg', '/home/pi/Desktop/images/08052026/01/28/image_08052026_01_28_36_30237.jpg', '/home/pi/Desktop/images/08052026/01/29/image_08052026_01_29_35_30323.jpg', '/home/pi/Desktop/images/08052026/01/29/image_08052026_01_30_06_30377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/14/image_08052026_01_15_05_29240.jpg
/home/pi/Desktop/images/08052026/01/15/image_08052026_01_15_35_30330.jpg
/home/pi/Desktop/images/08052026/01/15/image_08052026_01_16_06_30280.jpg
/home/pi/Desktop/images/08052026/01/28/image_08052026_01_28_36_30237.jpg
/home/pi/Desktop/images/08052026/01/29/image_08052026_01_29_35_30323.jpg
/home/pi/Desktop/images/08052026/01/29/image_08052026_01_30_06_30377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896332","1416896335","1416896337","1416896345","1416896342","1416896339"],"photo_ids_order":["1416896332","1416896335","1416896337","1416896339","1416896342","1416896345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db49b2c399f63b582cdcc74b3bb911b1.jpg","text":"TemporaryFile(/tmp/multipartBody4718195577729450357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_24_36_30392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fda171a23cc575bd1e1b6a5d2a93423c.jpg","text":"TemporaryFile(/tmp/multipartBody4631744739714528680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_24_05_29329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/683f05dfc51d218307931bd3fee406cf.jpg","text":"TemporaryFile(/tmp/multipartBody4021227509132994315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_23_05_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f2328fc5fd196cfa86d92e808609462.jpg","text":"TemporaryFile(/tmp/multipartBody8145628679522161928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_20_05_30410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4cb4a602dbfaa00c34e5de20d0b65ae.jpg","text":"TemporaryFile(/tmp/multipartBody2928626789834548672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_21_36_30359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5df2395bd6542de4934145fda26d2233.jpg","text":"TemporaryFile(/tmp/multipartBody4510963302467683244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520608660,"filename":"image_08052026_18_22_06_30297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896337","file1":"1416896335","file0":"1416896332","file4":"1416896342","file5":"1416896345","file3":"1416896339"},"map_files_photo_id_array":[{"photo_id":"1416896345","filename":"file5"},{"photo_id":"1416896337","filename":"file2"},{"photo_id":"1416896342","filename":"file4"},{"photo_id":"1416896335","filename":"file1"},{"photo_id":"1416896332","filename":"file0"},{"photo_id":"1416896339","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896332":["hashtag1","hashtag2"]},{"1416896335":["hashtag1","hashtag2"]},{"1416896337":["hashtag1","hashtag2"]},{"1416896345":["hashtag1","hashtag2"]},{"1416896342":["hashtag1","hashtag2"]},{"1416896339":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896332, 1416896335, 1416896337, 1416896345, 1416896342, 1416896339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50644612312317 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896338","1416896340","1416896334","1416896343","1416896346","1416896336"],"photo_ids_order":["1416896334","1416896336","1416896338","1416896340","1416896343","1416896346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3952579cb643ca153de82b0678e239fb.jpg","text":"TemporaryFile(/tmp/multipartBody8949385422513937843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_16_06_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bae22bbe174b3f0d118a2b147f6b844.jpg","text":"TemporaryFile(/tmp/multipartBody4125976449748040444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_28_36_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2af06d20f40de3380d4b3323ebd8be73.jpg","text":"TemporaryFile(/tmp/multipartBody6509836999807725174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_15_05_29240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64d101e1176ef14ed5b7b306abf895ae.jpg","text":"TemporaryFile(/tmp/multipartBody2928675712736647273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_29_35_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92d2d66ee789970e7bc2131b8e92c547.jpg","text":"TemporaryFile(/tmp/multipartBody8637878410667740075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_30_06_30377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2c28aa4b630a0dd56d95c575a960ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4679018546430864374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520609395,"filename":"image_08052026_01_15_35_30330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896338","file1":"1416896336","file0":"1416896334","file4":"1416896343","file5":"1416896346","file3":"1416896340"},"map_files_photo_id_array":[{"photo_id":"1416896346","filename":"file5"},{"photo_id":"1416896338","filename":"file2"},{"photo_id":"1416896343","filename":"file4"},{"photo_id":"1416896336","filename":"file1"},{"photo_id":"1416896334","filename":"file0"},{"photo_id":"1416896340","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896338":["hashtag1","hashtag2"]},{"1416896340":["hashtag1","hashtag2"]},{"1416896334":["hashtag1","hashtag2"]},{"1416896343":["hashtag1","hashtag2"]},{"1416896346":["hashtag1","hashtag2"]},{"1416896336":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896338, 1416896340, 1416896334, 1416896343, 1416896346, 1416896336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75334978103638 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:30:02.937308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/28/image_11052026_19_29_14_30248.jpg', '/home/pi/Desktop/images/11052026/19/26/image_11052026_19_27_14_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/28/image_11052026_19_29_14_30248.jpg
/home/pi/Desktop/images/11052026/19/26/image_11052026_19_27_14_30224.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896349","1416896348"],"photo_ids_order":["1416896348","1416896349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9905bb491b827bb333b19a4cc946665.jpg","text":"TemporaryFile(/tmp/multipartBody7014954958982145670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520664592,"filename":"image_11052026_19_27_14_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc4656baf09d50d2ebc494ab1823a01e.jpg","text":"TemporaryFile(/tmp/multipartBody6537364689528440898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520664592,"filename":"image_11052026_19_29_14_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896349","file0":"1416896348"},"map_files_photo_id_array":[{"photo_id":"1416896349","filename":"file1"},{"photo_id":"1416896348","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896349":["hashtag1","hashtag2"]},{"1416896348":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896349, 1416896348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.240934133529663 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:31:04.432619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/19/image_08052026_18_19_35_29299.jpg', '/home/pi/Desktop/images/08052026/18/18/image_08052026_18_19_06_30265.jpg', '/home/pi/Desktop/images/08052026/18/17/image_08052026_18_17_35_29211.jpg', '/home/pi/Desktop/images/08052026/18/16/image_08052026_18_17_06_30194.jpg', '/home/pi/Desktop/images/08052026/18/16/image_08052026_18_16_36_30142.jpg', '/home/pi/Desktop/images/08052026/18/15/image_08052026_18_15_35_30316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/19/image_08052026_18_19_35_29299.jpg
/home/pi/Desktop/images/08052026/18/18/image_08052026_18_19_06_30265.jpg
/home/pi/Desktop/images/08052026/18/17/image_08052026_18_17_35_29211.jpg
/home/pi/Desktop/images/08052026/18/16/image_08052026_18_17_06_30194.jpg
/home/pi/Desktop/images/08052026/18/16/image_08052026_18_16_36_30142.jpg
/home/pi/Desktop/images/08052026/18/15/image_08052026_18_15_35_30316.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896359","1416896361","1416896358","1416896360","1416896357","1416896362"],"photo_ids_order":["1416896357","1416896358","1416896359","1416896360","1416896361","1416896362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8efe33d516a7caa9944935059fdd001f.jpg","text":"TemporaryFile(/tmp/multipartBody1004316871642631702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_17_35_29211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5051c039fe3397541caa2f07b6c1e52b.jpg","text":"TemporaryFile(/tmp/multipartBody3371317248452318833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_16_36_30142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/430d029d223470fb5701864404de4d51.jpg","text":"TemporaryFile(/tmp/multipartBody5460770180474391593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_19_06_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44d346b1e9b60b0d064681722b534d36.jpg","text":"TemporaryFile(/tmp/multipartBody8254065767907870135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_17_06_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90a3c9de5139ce8a741842fe4df00bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6367225192632514787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_19_35_29299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9022041e53ed3c3b2535baa86ef7f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody4713660482615572714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520727336,"filename":"image_08052026_18_15_35_30316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896359","file1":"1416896358","file0":"1416896357","file4":"1416896361","file5":"1416896362","file3":"1416896360"},"map_files_photo_id_array":[{"photo_id":"1416896362","filename":"file5"},{"photo_id":"1416896359","filename":"file2"},{"photo_id":"1416896361","filename":"file4"},{"photo_id":"1416896358","filename":"file1"},{"photo_id":"1416896357","filename":"file0"},{"photo_id":"1416896360","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896359":["hashtag1","hashtag2"]},{"1416896361":["hashtag1","hashtag2"]},{"1416896358":["hashtag1","hashtag2"]},{"1416896360":["hashtag1","hashtag2"]},{"1416896357":["hashtag1","hashtag2"]},{"1416896362":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896359, 1416896361, 1416896358, 1416896360, 1416896357, 1416896362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99669885635376 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:32:03.212473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/31/image_11052026_19_32_14_30283.jpg', '/home/pi/Desktop/images/11052026/19/31/image_11052026_19_31_44_30336.jpg', '/home/pi/Desktop/images/11052026/19/30/image_11052026_19_31_14_30242.jpg', '/home/pi/Desktop/images/11052026/19/29/image_11052026_19_29_44_30276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/31/image_11052026_19_32_14_30283.jpg
/home/pi/Desktop/images/11052026/19/31/image_11052026_19_31_44_30336.jpg
/home/pi/Desktop/images/11052026/19/30/image_11052026_19_31_14_30242.jpg
/home/pi/Desktop/images/11052026/19/29/image_11052026_19_29_44_30276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896365","1416896367","1416896364","1416896366"],"photo_ids_order":["1416896364","1416896365","1416896366","1416896367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84c3070737dcfc62b59005898ca3994d.jpg","text":"TemporaryFile(/tmp/multipartBody8318831325516689550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520785426,"filename":"image_11052026_19_31_44_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c7c95029a9fcf75b68d2e1c43d05588.jpg","text":"TemporaryFile(/tmp/multipartBody3525766408967353477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520785426,"filename":"image_11052026_19_29_44_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/972f7e015e121c0fe48086cd61b8e88e.jpg","text":"TemporaryFile(/tmp/multipartBody2808890608381926687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520785426,"filename":"image_11052026_19_32_14_30283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62d959bf34e0110e835e05ea67d853fe.jpg","text":"TemporaryFile(/tmp/multipartBody2244891092174745353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520785426,"filename":"image_11052026_19_31_14_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896366","file1":"1416896365","file0":"1416896364","file3":"1416896367"},"map_files_photo_id_array":[{"photo_id":"1416896366","filename":"file2"},{"photo_id":"1416896365","filename":"file1"},{"photo_id":"1416896364","filename":"file0"},{"photo_id":"1416896367","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896365":["hashtag1","hashtag2"]},{"1416896367":["hashtag1","hashtag2"]},{"1416896364":["hashtag1","hashtag2"]},{"1416896366":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896365, 1416896367, 1416896364, 1416896366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.967190265655518 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:33:04.459982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg', '/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3568365573883057 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:34:03.187333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.jpg', '/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.jpg
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg
2026-05-11 19:34:03.212305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg', '/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_33_14_30248.jpg
/home/pi/Desktop/images/11052026/19/32/image_11052026_19_32_43_29097.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896371","1416896374"],"photo_ids_order":["1416896371","1416896374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48e8fa37882cdcf77190367662686f70.jpg","text":"TemporaryFile(/tmp/multipartBody6343337438521248997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520905024,"filename":"image_11052026_19_32_43_29097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f0a2a24cb44321dc94cb477d5cfc08f.jpg","text":"TemporaryFile(/tmp/multipartBody4603942235406720946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520905024,"filename":"image_11052026_19_33_14_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896374","file0":"1416896371"},"map_files_photo_id_array":[{"photo_id":"1416896374","filename":"file1"},{"photo_id":"1416896371","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896371":["hashtag1","hashtag2"]},{"1416896374":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896371, 1416896374)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416896373","1416896372"],"photo_ids_order":["1416896372","1416896373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b8175d039afea2fb8962afe7e3d28f0.jpg","text":"TemporaryFile(/tmp/multipartBody3932333467471031717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520905135,"filename":"image_11052026_19_32_43_29097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9a6627691bd4b0247c27bfd68db99a8.jpg","text":"TemporaryFile(/tmp/multipartBody2169096777730316513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778520905135,"filename":"image_11052026_19_33_14_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896373","file0":"1416896372"},"map_files_photo_id_array":[{"photo_id":"1416896373","filename":"file1"},{"photo_id":"1416896372","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896373":["hashtag1","hashtag2"]},{"1416896372":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896373, 1416896372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.09520673751831 secondes ---
uploaded 2 photos
time to upload: 21.159170150756836 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:35:04.221932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/33/image_11052026_19_33_44_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/33/image_11052026_19_33_44_30279.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9972352981567383 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:36:03.218903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/35/image_11052026_19_36_14_30264.jpg', '/home/pi/Desktop/images/11052026/19/35/image_11052026_19_35_44_30313.jpg', '/home/pi/Desktop/images/11052026/19/34/image_11052026_19_35_14_30287.jpg', '/home/pi/Desktop/images/11052026/19/33/image_11052026_19_34_14_30304.jpg', '/home/pi/Desktop/images/11052026/19/33/image_11052026_19_33_44_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/35/image_11052026_19_36_14_30264.jpg
/home/pi/Desktop/images/11052026/19/35/image_11052026_19_35_44_30313.jpg
/home/pi/Desktop/images/11052026/19/34/image_11052026_19_35_14_30287.jpg
/home/pi/Desktop/images/11052026/19/33/image_11052026_19_34_14_30304.jpg
/home/pi/Desktop/images/11052026/19/33/image_11052026_19_33_44_30279.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896379","1416896381","1416896378","1416896380","1416896377"],"photo_ids_order":["1416896377","1416896378","1416896379","1416896380","1416896381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d74183d7036721f02d899b8edd592a24.jpg","text":"TemporaryFile(/tmp/multipartBody1192840313574671076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521025805,"filename":"image_11052026_19_35_14_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6b2bdd9c660d873cff097aaa2bb5313f.jpg","text":"TemporaryFile(/tmp/multipartBody372481237188702386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521025805,"filename":"image_11052026_19_33_44_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6085cff67587c22dac3090bbdcdd5300.jpg","text":"TemporaryFile(/tmp/multipartBody5513263972695424271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521025805,"filename":"image_11052026_19_35_44_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/667a5b81c1b560333205aa5bb054f421.jpg","text":"TemporaryFile(/tmp/multipartBody8551956866188008585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521025805,"filename":"image_11052026_19_34_14_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6266e7ff3e02331790ced94ce11f1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody407254668749204420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521025805,"filename":"image_11052026_19_36_14_30264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896379","file1":"1416896378","file0":"1416896377","file4":"1416896381","file3":"1416896380"},"map_files_photo_id_array":[{"photo_id":"1416896379","filename":"file2"},{"photo_id":"1416896381","filename":"file4"},{"photo_id":"1416896378","filename":"file1"},{"photo_id":"1416896377","filename":"file0"},{"photo_id":"1416896380","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896379":["hashtag1","hashtag2"]},{"1416896381":["hashtag1","hashtag2"]},{"1416896378":["hashtag1","hashtag2"]},{"1416896380":["hashtag1","hashtag2"]},{"1416896377":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896379, 1416896381, 1416896378, 1416896380, 1416896377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.798481464385986 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:37:04.433227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/36/image_11052026_19_37_14_30309.jpg', '/home/pi/Desktop/images/11052026/19/36/image_11052026_19_36_43_29169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/36/image_11052026_19_37_14_30309.jpg
/home/pi/Desktop/images/11052026/19/36/image_11052026_19_36_43_29169.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896384","1416896386"],"photo_ids_order":["1416896384","1416896386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/64eaaf33fd392f999058962f293d75d0.jpg","text":"TemporaryFile(/tmp/multipartBody3819637502795975883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521086231,"filename":"image_11052026_19_37_14_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04a47da9429e619c2051a29e7282dce4.jpg","text":"TemporaryFile(/tmp/multipartBody225491152577449038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521086231,"filename":"image_11052026_19_36_43_29169.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896386","file0":"1416896384"},"map_files_photo_id_array":[{"photo_id":"1416896386","filename":"file1"},{"photo_id":"1416896384","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896384":["hashtag1","hashtag2"]},{"1416896386":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896384, 1416896386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.43177342414856 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:38:02.955079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/13/image_08052026_18_14_05_30398.jpg', '/home/pi/Desktop/images/08052026/18/13/image_08052026_18_13_35_29199.jpg', '/home/pi/Desktop/images/08052026/18/11/image_08052026_18_11_35_29177.jpg', '/home/pi/Desktop/images/08052026/18/10/image_08052026_18_10_35_30203.jpg', '/home/pi/Desktop/images/08052026/18/09/image_08052026_18_10_05_30346.jpg', '/home/pi/Desktop/images/08052026/18/09/image_08052026_18_09_35_29209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/13/image_08052026_18_14_05_30398.jpg
/home/pi/Desktop/images/08052026/18/13/image_08052026_18_13_35_29199.jpg
/home/pi/Desktop/images/08052026/18/11/image_08052026_18_11_35_29177.jpg
/home/pi/Desktop/images/08052026/18/10/image_08052026_18_10_35_30203.jpg
/home/pi/Desktop/images/08052026/18/09/image_08052026_18_10_05_30346.jpg
/home/pi/Desktop/images/08052026/18/09/image_08052026_18_09_35_29209.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896397","1416896394","1416896396","1416896393","1416896392","1416896395"],"photo_ids_order":["1416896392","1416896393","1416896394","1416896395","1416896396","1416896397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f789795dd31fc9086e46514a0b005f75.jpg","text":"TemporaryFile(/tmp/multipartBody4612250311758727562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_09_35_29209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a12c183069a5e6dd81f230c7fcf2b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1635079142548315485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_11_35_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b93ec194bd8db240eab085bdfafab7f9.jpg","text":"TemporaryFile(/tmp/multipartBody4942440618528635292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_10_05_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f146ca57ebf34ddd9d42559a522faaee.jpg","text":"TemporaryFile(/tmp/multipartBody5123484219037883493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_13_35_29199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aaa77614cd8fe1ba19d7f4375c419d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6691202734065094711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_14_05_30398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e06e7db5e10dc09eb65eb553ff40002.jpg","text":"TemporaryFile(/tmp/multipartBody7847315323644565860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521146576,"filename":"image_08052026_18_10_35_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896394","file1":"1416896393","file0":"1416896392","file4":"1416896396","file5":"1416896397","file3":"1416896395"},"map_files_photo_id_array":[{"photo_id":"1416896397","filename":"file5"},{"photo_id":"1416896394","filename":"file2"},{"photo_id":"1416896396","filename":"file4"},{"photo_id":"1416896393","filename":"file1"},{"photo_id":"1416896392","filename":"file0"},{"photo_id":"1416896395","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896397":["hashtag1","hashtag2"]},{"1416896394":["hashtag1","hashtag2"]},{"1416896396":["hashtag1","hashtag2"]},{"1416896393":["hashtag1","hashtag2"]},{"1416896392":["hashtag1","hashtag2"]},{"1416896395":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896397, 1416896394, 1416896396, 1416896393, 1416896392, 1416896395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80955219268799 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:39:04.317319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/37/image_11052026_19_37_44_30306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/37/image_11052026_19_37_44_30306.jpg
2026-05-11 19:39:04.903769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/37/image_11052026_19_37_44_30306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/37/image_11052026_19_37_44_30306.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9677207469940186 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896399"],"photo_id":"1416896399","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2dce330559f2abd8d3470b7e55d139ed.jpg","text":"TemporaryFile(/tmp/multipartBody657087447775317826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521206024,"filename":"image_11052026_19_37_44_30306.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896399"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896399"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.591540813446045 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:40:03.573476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/18/08/image_08052026_18_09_06_30250.jpg', '/home/pi/Desktop/images/08052026/18/08/image_08052026_18_08_35_30154.jpg', '/home/pi/Desktop/images/08052026/18/07/image_08052026_18_07_35_29121.jpg', '/home/pi/Desktop/images/08052026/18/06/image_08052026_18_07_06_30264.jpg', '/home/pi/Desktop/images/08052026/18/00/image_08052026_18_01_05_30216.jpg', '/home/pi/Desktop/images/08052026/17/59/image_08052026_18_00_05_29098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/18/08/image_08052026_18_09_06_30250.jpg
/home/pi/Desktop/images/08052026/18/08/image_08052026_18_08_35_30154.jpg
/home/pi/Desktop/images/08052026/18/07/image_08052026_18_07_35_29121.jpg
/home/pi/Desktop/images/08052026/18/06/image_08052026_18_07_06_30264.jpg
/home/pi/Desktop/images/08052026/18/00/image_08052026_18_01_05_30216.jpg
/home/pi/Desktop/images/08052026/17/59/image_08052026_18_00_05_29098.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896401","1416896404","1416896403","1416896406","1416896402","1416896405"],"photo_ids_order":["1416896401","1416896402","1416896403","1416896404","1416896405","1416896406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e8aaada0380bb19a9097d605eff7e11.jpg","text":"TemporaryFile(/tmp/multipartBody1423909034701686758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_09_06_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/798c3fd8aeb45598ee3c6a181177aca2.jpg","text":"TemporaryFile(/tmp/multipartBody2819377055420116814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_07_06_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/61cc7d863aea5ff64cb4e3ad6243415f.jpg","text":"TemporaryFile(/tmp/multipartBody7821502713218163746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_07_35_29121.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/189d5eb518df8a86c283fb5aebf6c4dc.jpg","text":"TemporaryFile(/tmp/multipartBody1999316503736699413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_00_05_29098.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c853484d19d1be5b170cd60db911d61.jpg","text":"TemporaryFile(/tmp/multipartBody2342594069871739418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_08_35_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4bc9098d4302a84c5484fa5ef0f14845.jpg","text":"TemporaryFile(/tmp/multipartBody1259225810216740839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521266988,"filename":"image_08052026_18_01_05_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896403","file1":"1416896402","file0":"1416896401","file4":"1416896405","file5":"1416896406","file3":"1416896404"},"map_files_photo_id_array":[{"photo_id":"1416896406","filename":"file5"},{"photo_id":"1416896403","filename":"file2"},{"photo_id":"1416896405","filename":"file4"},{"photo_id":"1416896402","filename":"file1"},{"photo_id":"1416896401","filename":"file0"},{"photo_id":"1416896404","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896401":["hashtag1","hashtag2"]},{"1416896404":["hashtag1","hashtag2"]},{"1416896403":["hashtag1","hashtag2"]},{"1416896406":["hashtag1","hashtag2"]},{"1416896402":["hashtag1","hashtag2"]},{"1416896405":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896401, 1416896404, 1416896403, 1416896406, 1416896402, 1416896405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91650080680847 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:41:04.143996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/56/image_08052026_17_57_06_30198.jpg', '/home/pi/Desktop/images/08052026/17/54/image_08052026_17_55_05_29115.jpg', '/home/pi/Desktop/images/08052026/17/52/image_08052026_17_53_05_30214.jpg', '/home/pi/Desktop/images/08052026/17/52/image_08052026_17_52_35_29204.jpg', '/home/pi/Desktop/images/08052026/17/51/image_08052026_17_51_35_30306.jpg', '/home/pi/Desktop/images/08052026/17/50/image_08052026_17_51_05_30283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/56/image_08052026_17_57_06_30198.jpg
/home/pi/Desktop/images/08052026/17/54/image_08052026_17_55_05_29115.jpg
/home/pi/Desktop/images/08052026/17/52/image_08052026_17_53_05_30214.jpg
/home/pi/Desktop/images/08052026/17/52/image_08052026_17_52_35_29204.jpg
/home/pi/Desktop/images/08052026/17/51/image_08052026_17_51_35_30306.jpg
/home/pi/Desktop/images/08052026/17/50/image_08052026_17_51_05_30283.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896410","1416896413","1416896412","1416896409","1416896408","1416896411"],"photo_ids_order":["1416896408","1416896409","1416896410","1416896411","1416896412","1416896413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f0616aa1bbb698a3947e520c355f741.jpg","text":"TemporaryFile(/tmp/multipartBody1324321095695604626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_53_05_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76b97f9370a0b095d7f7e7eed3767d3d.jpg","text":"TemporaryFile(/tmp/multipartBody621552056711372074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_51_05_30283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e12be8f1109f41ab95b608a21e654c10.jpg","text":"TemporaryFile(/tmp/multipartBody7109517178482219312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_51_35_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67a686f5587b0bc8c0ac31a5a7ca44d3.jpg","text":"TemporaryFile(/tmp/multipartBody6182024642995185643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_55_05_29115.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e9cc03e68c91c4f994e516fbb84364b.jpg","text":"TemporaryFile(/tmp/multipartBody1524866645138527946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_57_06_30198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40ee61a17f42afe51c835006f31cfb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3154221524718197853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521326962,"filename":"image_08052026_17_52_35_29204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896410","file1":"1416896409","file0":"1416896408","file4":"1416896412","file5":"1416896413","file3":"1416896411"},"map_files_photo_id_array":[{"photo_id":"1416896413","filename":"file5"},{"photo_id":"1416896410","filename":"file2"},{"photo_id":"1416896412","filename":"file4"},{"photo_id":"1416896409","filename":"file1"},{"photo_id":"1416896408","filename":"file0"},{"photo_id":"1416896411","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896410":["hashtag1","hashtag2"]},{"1416896413":["hashtag1","hashtag2"]},{"1416896412":["hashtag1","hashtag2"]},{"1416896409":["hashtag1","hashtag2"]},{"1416896408":["hashtag1","hashtag2"]},{"1416896411":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896410, 1416896413, 1416896412, 1416896409, 1416896408, 1416896411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10306692123413 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:42:03.505665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/42/image_08052026_17_43_06_30105.jpg', '/home/pi/Desktop/images/08052026/17/41/image_08052026_17_42_05_30409.jpg', '/home/pi/Desktop/images/08052026/17/41/image_08052026_17_41_35_29279.jpg', '/home/pi/Desktop/images/08052026/17/40/image_08052026_17_41_06_30209.jpg', '/home/pi/Desktop/images/08052026/17/40/image_08052026_17_40_36_30249.jpg', '/home/pi/Desktop/images/08052026/17/39/image_08052026_17_40_05_30358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/42/image_08052026_17_43_06_30105.jpg
/home/pi/Desktop/images/08052026/17/41/image_08052026_17_42_05_30409.jpg
/home/pi/Desktop/images/08052026/17/41/image_08052026_17_41_35_29279.jpg
/home/pi/Desktop/images/08052026/17/40/image_08052026_17_41_06_30209.jpg
/home/pi/Desktop/images/08052026/17/40/image_08052026_17_40_36_30249.jpg
/home/pi/Desktop/images/08052026/17/39/image_08052026_17_40_05_30358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896419","1416896416","1416896421","1416896415","1416896418","1416896417"],"photo_ids_order":["1416896415","1416896416","1416896417","1416896418","1416896419","1416896421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f65358eb41ee3b7192f817eee6f7cea.jpg","text":"TemporaryFile(/tmp/multipartBody847393971299428665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_40_36_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4df0500bc30571aa53e4b32e78e7f928.jpg","text":"TemporaryFile(/tmp/multipartBody681062439994163830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_42_05_30409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b98312d22146e30261d2042742e09872.jpg","text":"TemporaryFile(/tmp/multipartBody5718046754755642822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_40_05_30358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a27861b7861166896b0dd7230af2f1e.jpg","text":"TemporaryFile(/tmp/multipartBody1142266654735166057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_43_06_30105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3a3f5513f2edf3787de648c95a651c0.jpg","text":"TemporaryFile(/tmp/multipartBody832466741515752527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_41_06_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f6dd6ea14623ed9b5f02a6611ebc479.jpg","text":"TemporaryFile(/tmp/multipartBody2485238895813800781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521387006,"filename":"image_08052026_17_41_35_29279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896417","file1":"1416896416","file0":"1416896415","file4":"1416896419","file5":"1416896421","file3":"1416896418"},"map_files_photo_id_array":[{"photo_id":"1416896421","filename":"file5"},{"photo_id":"1416896417","filename":"file2"},{"photo_id":"1416896419","filename":"file4"},{"photo_id":"1416896416","filename":"file1"},{"photo_id":"1416896415","filename":"file0"},{"photo_id":"1416896418","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896419":["hashtag1","hashtag2"]},{"1416896416":["hashtag1","hashtag2"]},{"1416896421":["hashtag1","hashtag2"]},{"1416896415":["hashtag1","hashtag2"]},{"1416896418":["hashtag1","hashtag2"]},{"1416896417":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896419, 1416896416, 1416896421, 1416896415, 1416896418, 1416896417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84753727912903 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:43:04.035413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/39/image_08052026_17_39_35_29196.jpg', '/home/pi/Desktop/images/08052026/17/38/image_08052026_17_39_06_30247.jpg', '/home/pi/Desktop/images/08052026/17/38/image_08052026_17_38_35_30162.jpg', '/home/pi/Desktop/images/08052026/17/37/image_08052026_17_37_35_30166.jpg', '/home/pi/Desktop/images/08052026/17/36/image_08052026_17_37_05_29115.jpg', '/home/pi/Desktop/images/08052026/17/32/image_08052026_17_33_06_30271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/39/image_08052026_17_39_35_29196.jpg
/home/pi/Desktop/images/08052026/17/38/image_08052026_17_39_06_30247.jpg
/home/pi/Desktop/images/08052026/17/38/image_08052026_17_38_35_30162.jpg
/home/pi/Desktop/images/08052026/17/37/image_08052026_17_37_35_30166.jpg
/home/pi/Desktop/images/08052026/17/36/image_08052026_17_37_05_29115.jpg
/home/pi/Desktop/images/08052026/17/32/image_08052026_17_33_06_30271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896422","1416896425","1416896428","1416896424","1416896426","1416896423"],"photo_ids_order":["1416896422","1416896423","1416896424","1416896425","1416896426","1416896428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ad5fe32ece93d21d3d08616c5b61ad5.jpg","text":"TemporaryFile(/tmp/multipartBody784081630039638843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_39_35_29196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fdfd6c3c0b0ad5c4377e33ba867eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody4295474047917847068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_37_35_30166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85f962a308aadbc284803e59cc1a9d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1698004801641631419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_33_06_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/095918483a434f8d9d200853a9ca17e1.jpg","text":"TemporaryFile(/tmp/multipartBody2700074159953565370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_38_35_30162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f71ed1332893c0d13674f9588d3c8198.jpg","text":"TemporaryFile(/tmp/multipartBody7643173326204529321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_37_05_29115.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24a4d6a0ce632b3b4c6203a750e863ce.jpg","text":"TemporaryFile(/tmp/multipartBody4320966252209833054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521447001,"filename":"image_08052026_17_39_06_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896424","file1":"1416896423","file0":"1416896422","file4":"1416896426","file5":"1416896428","file3":"1416896425"},"map_files_photo_id_array":[{"photo_id":"1416896428","filename":"file5"},{"photo_id":"1416896424","filename":"file2"},{"photo_id":"1416896426","filename":"file4"},{"photo_id":"1416896423","filename":"file1"},{"photo_id":"1416896422","filename":"file0"},{"photo_id":"1416896425","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896422":["hashtag1","hashtag2"]},{"1416896425":["hashtag1","hashtag2"]},{"1416896428":["hashtag1","hashtag2"]},{"1416896424":["hashtag1","hashtag2"]},{"1416896426":["hashtag1","hashtag2"]},{"1416896423":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896422, 1416896425, 1416896428, 1416896424, 1416896426, 1416896423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9189076423645 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:44:03.187197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/30/image_08052026_01_30_35_29351.jpg', '/home/pi/Desktop/images/08052026/01/31/image_08052026_01_31_36_30375.jpg', '/home/pi/Desktop/images/08052026/01/36/image_08052026_01_36_35_30346.jpg', '/home/pi/Desktop/images/08052026/01/36/image_08052026_01_37_06_30321.jpg', '/home/pi/Desktop/images/08052026/01/37/image_08052026_01_37_35_29352.jpg', '/home/pi/Desktop/images/08052026/01/37/image_08052026_01_38_05_30382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/30/image_08052026_01_30_35_29351.jpg
/home/pi/Desktop/images/08052026/01/31/image_08052026_01_31_36_30375.jpg
/home/pi/Desktop/images/08052026/01/36/image_08052026_01_36_35_30346.jpg
/home/pi/Desktop/images/08052026/01/36/image_08052026_01_37_06_30321.jpg
/home/pi/Desktop/images/08052026/01/37/image_08052026_01_37_35_29352.jpg
/home/pi/Desktop/images/08052026/01/37/image_08052026_01_38_05_30382.jpg
2026-05-11 19:44:03.223911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/32/image_08052026_17_32_35_30191.jpg', '/home/pi/Desktop/images/08052026/17/31/image_08052026_17_32_05_30277.jpg', '/home/pi/Desktop/images/08052026/17/31/image_08052026_17_31_35_29163.jpg', '/home/pi/Desktop/images/08052026/17/30/image_08052026_17_31_06_30213.jpg', '/home/pi/Desktop/images/08052026/17/30/image_08052026_17_30_36_30213.jpg', '/home/pi/Desktop/images/08052026/17/29/image_08052026_17_30_05_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/32/image_08052026_17_32_35_30191.jpg
/home/pi/Desktop/images/08052026/17/31/image_08052026_17_32_05_30277.jpg
/home/pi/Desktop/images/08052026/17/31/image_08052026_17_31_35_29163.jpg
/home/pi/Desktop/images/08052026/17/30/image_08052026_17_31_06_30213.jpg
/home/pi/Desktop/images/08052026/17/30/image_08052026_17_30_36_30213.jpg
/home/pi/Desktop/images/08052026/17/29/image_08052026_17_30_05_30319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896437","1416896446","1416896434","1416896439","1416896444","1416896441"],"photo_ids_order":["1416896434","1416896437","1416896439","1416896441","1416896444","1416896446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1bd3efebb42d9e7da9c8da82f41df3e.jpg","text":"TemporaryFile(/tmp/multipartBody3647362526290743401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_31_36_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfa55af715018b759a1b5d4121705143.jpg","text":"TemporaryFile(/tmp/multipartBody2542944311701773912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_38_05_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8765a62bab723c3ac5c321e4cb86b0dc.jpg","text":"TemporaryFile(/tmp/multipartBody2690713683512985726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_30_35_29351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/083ce08d61a14d1fcdac95ed117a8387.jpg","text":"TemporaryFile(/tmp/multipartBody1435053212233564102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_36_35_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9039ea23b53acfd9d3acd81d2521a315.jpg","text":"TemporaryFile(/tmp/multipartBody9202812722371064929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_37_35_29352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d3c1142dc3dc31e8a4e9a08773732f0.jpg","text":"TemporaryFile(/tmp/multipartBody1066485584783186477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521507797,"filename":"image_08052026_01_37_06_30321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896439","file1":"1416896437","file0":"1416896434","file4":"1416896444","file5":"1416896446","file3":"1416896441"},"map_files_photo_id_array":[{"photo_id":"1416896446","filename":"file5"},{"photo_id":"1416896439","filename":"file2"},{"photo_id":"1416896444","filename":"file4"},{"photo_id":"1416896437","filename":"file1"},{"photo_id":"1416896434","filename":"file0"},{"photo_id":"1416896441","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896437":["hashtag1","hashtag2"]},{"1416896446":["hashtag1","hashtag2"]},{"1416896434":["hashtag1","hashtag2"]},{"1416896439":["hashtag1","hashtag2"]},{"1416896444":["hashtag1","hashtag2"]},{"1416896441":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896437, 1416896446, 1416896434, 1416896439, 1416896444, 1416896441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64495491981506 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896442","1416896436","1416896445","1416896447","1416896438","1416896440"],"photo_ids_order":["1416896436","1416896438","1416896440","1416896442","1416896445","1416896447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf72278afaa9aa3d40e88f6f44c34f57.jpg","text":"TemporaryFile(/tmp/multipartBody158927727475009062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_31_06_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04211ca8b2158754b636ef575a1fd04b.jpg","text":"TemporaryFile(/tmp/multipartBody3264783368276165921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_32_35_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c01cb91aa39f573fd4512cc8d718a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4745947755663622627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_30_36_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da24cf3d40d3520d0b322b39053f0341.jpg","text":"TemporaryFile(/tmp/multipartBody5097279126819387719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_30_05_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4ff14af8b707704c40c56adfd43decf.jpg","text":"TemporaryFile(/tmp/multipartBody944624487279850112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_32_05_30277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be6da07dbcf766570a37f0a8e6398318.jpg","text":"TemporaryFile(/tmp/multipartBody5686744009173168262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521508662,"filename":"image_08052026_17_31_35_29163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896440","file1":"1416896438","file0":"1416896436","file4":"1416896445","file5":"1416896447","file3":"1416896442"},"map_files_photo_id_array":[{"photo_id":"1416896447","filename":"file5"},{"photo_id":"1416896440","filename":"file2"},{"photo_id":"1416896445","filename":"file4"},{"photo_id":"1416896438","filename":"file1"},{"photo_id":"1416896436","filename":"file0"},{"photo_id":"1416896442","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896442":["hashtag1","hashtag2"]},{"1416896436":["hashtag1","hashtag2"]},{"1416896445":["hashtag1","hashtag2"]},{"1416896447":["hashtag1","hashtag2"]},{"1416896438":["hashtag1","hashtag2"]},{"1416896440":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896442, 1416896436, 1416896445, 1416896447, 1416896438, 1416896440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16032004356384 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:45:04.405542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/28/image_08052026_17_29_06_30238.jpg', '/home/pi/Desktop/images/08052026/17/28/image_08052026_17_28_35_30215.jpg', '/home/pi/Desktop/images/08052026/17/27/image_08052026_17_27_35_29205.jpg', '/home/pi/Desktop/images/08052026/17/26/image_08052026_17_27_06_30281.jpg', '/home/pi/Desktop/images/08052026/17/26/image_08052026_17_26_35_30204.jpg', '/home/pi/Desktop/images/08052026/17/25/image_08052026_17_26_05_30263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/28/image_08052026_17_29_06_30238.jpg
/home/pi/Desktop/images/08052026/17/28/image_08052026_17_28_35_30215.jpg
/home/pi/Desktop/images/08052026/17/27/image_08052026_17_27_35_29205.jpg
/home/pi/Desktop/images/08052026/17/26/image_08052026_17_27_06_30281.jpg
/home/pi/Desktop/images/08052026/17/26/image_08052026_17_26_35_30204.jpg
/home/pi/Desktop/images/08052026/17/25/image_08052026_17_26_05_30263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896452","1416896451","1416896454","1416896450","1416896453","1416896449"],"photo_ids_order":["1416896449","1416896450","1416896451","1416896452","1416896453","1416896454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a10fb30d42a0a219f361a008dc6a2c65.jpg","text":"TemporaryFile(/tmp/multipartBody2300735671930267398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_27_06_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de16801c09e800e4d0807baf92627722.jpg","text":"TemporaryFile(/tmp/multipartBody5737971288615684173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_27_35_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b54c1d2a30c3d3f9280398f58930e32f.jpg","text":"TemporaryFile(/tmp/multipartBody208926673799123447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_26_05_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94fd01973e6061d7b18b9f1695834f9c.jpg","text":"TemporaryFile(/tmp/multipartBody6422535512444356311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_28_35_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93a9c516996130bbfc5971fe830c58ad.jpg","text":"TemporaryFile(/tmp/multipartBody4076665436089598406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_26_35_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff7cb7d902479099e29fb97bd245f175.jpg","text":"TemporaryFile(/tmp/multipartBody4011336967318559398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521567413,"filename":"image_08052026_17_29_06_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896451","file1":"1416896450","file0":"1416896449","file4":"1416896453","file5":"1416896454","file3":"1416896452"},"map_files_photo_id_array":[{"photo_id":"1416896454","filename":"file5"},{"photo_id":"1416896451","filename":"file2"},{"photo_id":"1416896453","filename":"file4"},{"photo_id":"1416896450","filename":"file1"},{"photo_id":"1416896449","filename":"file0"},{"photo_id":"1416896452","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896452":["hashtag1","hashtag2"]},{"1416896451":["hashtag1","hashtag2"]},{"1416896454":["hashtag1","hashtag2"]},{"1416896450":["hashtag1","hashtag2"]},{"1416896453":["hashtag1","hashtag2"]},{"1416896449":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896452, 1416896451, 1416896454, 1416896450, 1416896453, 1416896449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.796175718307495 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:46:03.200936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/25/image_08052026_17_25_35_29257.jpg', '/home/pi/Desktop/images/08052026/17/24/image_08052026_17_25_06_30333.jpg', '/home/pi/Desktop/images/08052026/17/24/image_08052026_17_24_35_30306.jpg', '/home/pi/Desktop/images/08052026/17/23/image_08052026_17_23_36_30416.jpg', '/home/pi/Desktop/images/08052026/17/22/image_08052026_17_23_05_30374.jpg', '/home/pi/Desktop/images/08052026/17/22/image_08052026_17_22_35_29240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/25/image_08052026_17_25_35_29257.jpg
/home/pi/Desktop/images/08052026/17/24/image_08052026_17_25_06_30333.jpg
/home/pi/Desktop/images/08052026/17/24/image_08052026_17_24_35_30306.jpg
/home/pi/Desktop/images/08052026/17/23/image_08052026_17_23_36_30416.jpg
/home/pi/Desktop/images/08052026/17/22/image_08052026_17_23_05_30374.jpg
/home/pi/Desktop/images/08052026/17/22/image_08052026_17_22_35_29240.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896458","1416896460","1416896457","1416896459","1416896456","1416896455"],"photo_ids_order":["1416896455","1416896456","1416896457","1416896458","1416896459","1416896460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e899c814175b36ae962fe2ddc93b9ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4949617710619579762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_23_36_30416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ed7413952c1661ec3894cdfa70492d5.jpg","text":"TemporaryFile(/tmp/multipartBody7128292592217488911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_22_35_29240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/98090dea5a8fe1c20aad209608c49749.jpg","text":"TemporaryFile(/tmp/multipartBody8974596695154961294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_24_35_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a6935e2a4e194154a6ddd9f9a612d23.jpg","text":"TemporaryFile(/tmp/multipartBody5632159519079436848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_23_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee281f78ab78d5f951da5b06282c0333.jpg","text":"TemporaryFile(/tmp/multipartBody2756428512177949793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_25_06_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c4af707db3dff002a00589432ba334d.jpg","text":"TemporaryFile(/tmp/multipartBody8139203862492917056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521626437,"filename":"image_08052026_17_25_35_29257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896457","file1":"1416896456","file0":"1416896455","file4":"1416896459","file5":"1416896460","file3":"1416896458"},"map_files_photo_id_array":[{"photo_id":"1416896460","filename":"file5"},{"photo_id":"1416896457","filename":"file2"},{"photo_id":"1416896459","filename":"file4"},{"photo_id":"1416896456","filename":"file1"},{"photo_id":"1416896455","filename":"file0"},{"photo_id":"1416896458","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896458":["hashtag1","hashtag2"]},{"1416896460":["hashtag1","hashtag2"]},{"1416896457":["hashtag1","hashtag2"]},{"1416896459":["hashtag1","hashtag2"]},{"1416896456":["hashtag1","hashtag2"]},{"1416896455":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896458, 1416896460, 1416896457, 1416896459, 1416896456, 1416896455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.364197969436646 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:47:04.428323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/21/image_08052026_17_22_06_30289.jpg', '/home/pi/Desktop/images/08052026/17/20/image_08052026_17_21_05_30304.jpg', '/home/pi/Desktop/images/08052026/17/18/image_08052026_17_18_36_30318.jpg', '/home/pi/Desktop/images/08052026/17/17/image_08052026_17_17_35_30332.jpg', '/home/pi/Desktop/images/08052026/17/16/image_08052026_17_17_05_29195.jpg', '/home/pi/Desktop/images/08052026/17/16/image_08052026_17_16_36_30280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/21/image_08052026_17_22_06_30289.jpg
/home/pi/Desktop/images/08052026/17/20/image_08052026_17_21_05_30304.jpg
/home/pi/Desktop/images/08052026/17/18/image_08052026_17_18_36_30318.jpg
/home/pi/Desktop/images/08052026/17/17/image_08052026_17_17_35_30332.jpg
/home/pi/Desktop/images/08052026/17/16/image_08052026_17_17_05_29195.jpg
/home/pi/Desktop/images/08052026/17/16/image_08052026_17_16_36_30280.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896464","1416896466","1416896463","1416896462","1416896465","1416896461"],"photo_ids_order":["1416896461","1416896462","1416896463","1416896464","1416896465","1416896466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5328711c1c65ab1f5facc8eb0086e609.jpg","text":"TemporaryFile(/tmp/multipartBody5331192917974751064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_17_35_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3b360cafdb56d64b871f0962d64c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody3230442787923262535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_16_36_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/10e5aa31aef6519eb54b2bec817b52c4.jpg","text":"TemporaryFile(/tmp/multipartBody4575459853428504056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_18_36_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/359c6bdbf57c135c57091a28af19fc7c.jpg","text":"TemporaryFile(/tmp/multipartBody6072192709214714914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_21_05_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d41cff85e1060974f587995f48fc1488.jpg","text":"TemporaryFile(/tmp/multipartBody5768901974432569398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_17_05_29195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7990311f2970a62ed217865351a9923.jpg","text":"TemporaryFile(/tmp/multipartBody7426065793293771577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521687559,"filename":"image_08052026_17_22_06_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896463","file1":"1416896462","file0":"1416896461","file4":"1416896465","file5":"1416896466","file3":"1416896464"},"map_files_photo_id_array":[{"photo_id":"1416896466","filename":"file5"},{"photo_id":"1416896463","filename":"file2"},{"photo_id":"1416896465","filename":"file4"},{"photo_id":"1416896462","filename":"file1"},{"photo_id":"1416896461","filename":"file0"},{"photo_id":"1416896464","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896464":["hashtag1","hashtag2"]},{"1416896466":["hashtag1","hashtag2"]},{"1416896463":["hashtag1","hashtag2"]},{"1416896462":["hashtag1","hashtag2"]},{"1416896465":["hashtag1","hashtag2"]},{"1416896461":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896464, 1416896466, 1416896463, 1416896462, 1416896465, 1416896461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74602675437927 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:48:03.228913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/37/image_11052026_19_38_14_30315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/37/image_11052026_19_38_14_30315.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896467"],"photo_id":"1416896467","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d2cda21fd51632aa032b34fb2ebfa2a8.jpg","text":"TemporaryFile(/tmp/multipartBody116574460841437729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521744364,"filename":"image_11052026_19_38_14_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896467"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896467"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.468607187271118 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:49:04.120185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/15/image_08052026_17_16_05_30380.jpg', '/home/pi/Desktop/images/08052026/17/15/image_08052026_17_15_35_29227.jpg', '/home/pi/Desktop/images/08052026/17/14/image_08052026_17_15_06_30225.jpg', '/home/pi/Desktop/images/08052026/17/13/image_08052026_17_14_05_30291.jpg', '/home/pi/Desktop/images/08052026/17/13/image_08052026_17_13_35_29207.jpg', '/home/pi/Desktop/images/08052026/17/12/image_08052026_17_13_06_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/15/image_08052026_17_16_05_30380.jpg
/home/pi/Desktop/images/08052026/17/15/image_08052026_17_15_35_29227.jpg
/home/pi/Desktop/images/08052026/17/14/image_08052026_17_15_06_30225.jpg
/home/pi/Desktop/images/08052026/17/13/image_08052026_17_14_05_30291.jpg
/home/pi/Desktop/images/08052026/17/13/image_08052026_17_13_35_29207.jpg
/home/pi/Desktop/images/08052026/17/12/image_08052026_17_13_06_30211.jpg
2026-05-11 19:49:04.217800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/39/image_08052026_01_39_35_30439.jpg', '/home/pi/Desktop/images/08052026/01/57/image_08052026_01_57_36_30297.jpg', '/home/pi/Desktop/images/08052026/01/57/image_08052026_01_58_05_29167.jpg', '/home/pi/Desktop/images/08052026/01/58/image_08052026_01_58_35_30289.jpg', '/home/pi/Desktop/images/08052026/01/58/image_08052026_01_59_06_30373.jpg', '/home/pi/Desktop/images/08052026/01/59/image_08052026_01_59_35_29332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/39/image_08052026_01_39_35_30439.jpg
/home/pi/Desktop/images/08052026/01/57/image_08052026_01_57_36_30297.jpg
/home/pi/Desktop/images/08052026/01/57/image_08052026_01_58_05_29167.jpg
/home/pi/Desktop/images/08052026/01/58/image_08052026_01_58_35_30289.jpg
/home/pi/Desktop/images/08052026/01/58/image_08052026_01_59_06_30373.jpg
/home/pi/Desktop/images/08052026/01/59/image_08052026_01_59_35_29332.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896470","1416896478","1416896472","1416896474","1416896468","1416896476"],"photo_ids_order":["1416896468","1416896470","1416896472","1416896474","1416896476","1416896478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/77a3c2cf36e4a492f2330c9bb4ae6da9.jpg","text":"TemporaryFile(/tmp/multipartBody8457218401446468628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_15_35_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e03510391b60553464196ce28a60cc13.jpg","text":"TemporaryFile(/tmp/multipartBody3341470133983918161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_13_06_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8af91ce5f48febe7a5b9d437145d139.jpg","text":"TemporaryFile(/tmp/multipartBody4160780177519599653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_15_06_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a6e206b728dea0c9ab30af237efa49a.jpg","text":"TemporaryFile(/tmp/multipartBody1327835923275753115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_14_05_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79225ec471ad2980816d8dbbeeb9a246.jpg","text":"TemporaryFile(/tmp/multipartBody6040990538711713690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_16_05_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9967d2e7f5279bd2b0bbd422304aed5.jpg","text":"TemporaryFile(/tmp/multipartBody2991737237946749530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809049,"filename":"image_08052026_17_13_35_29207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896472","file1":"1416896470","file0":"1416896468","file4":"1416896476","file5":"1416896478","file3":"1416896474"},"map_files_photo_id_array":[{"photo_id":"1416896478","filename":"file5"},{"photo_id":"1416896472","filename":"file2"},{"photo_id":"1416896476","filename":"file4"},{"photo_id":"1416896470","filename":"file1"},{"photo_id":"1416896468","filename":"file0"},{"photo_id":"1416896474","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896470":["hashtag1","hashtag2"]},{"1416896478":["hashtag1","hashtag2"]},{"1416896472":["hashtag1","hashtag2"]},{"1416896474":["hashtag1","hashtag2"]},{"1416896468":["hashtag1","hashtag2"]},{"1416896476":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896470, 1416896478, 1416896472, 1416896474, 1416896468, 1416896476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24155640602112 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896479","1416896475","1416896469","1416896477","1416896471","1416896473"],"photo_ids_order":["1416896469","1416896471","1416896473","1416896475","1416896477","1416896479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15ac7f0be4e35dc8c731a833c74f9080.jpg","text":"TemporaryFile(/tmp/multipartBody1093620553274175245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_59_35_29332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19fab25dea9c104fa16bfa5a329bbf19.jpg","text":"TemporaryFile(/tmp/multipartBody3479035077771801114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_58_35_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/11f96d60f0a1bdc28d28d5e324847679.jpg","text":"TemporaryFile(/tmp/multipartBody6044431791484677962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_39_35_30439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7e10d156a978cb0d472280211bfc92c.jpg","text":"TemporaryFile(/tmp/multipartBody5214336082873463723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_59_06_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8d538028c4ab703b2b95a373e050e00.jpg","text":"TemporaryFile(/tmp/multipartBody7628455260047416880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_57_36_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b4276f42e9f82dbafd78ec84ec0e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1871819493386863214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521809704,"filename":"image_08052026_01_58_05_29167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896473","file1":"1416896471","file0":"1416896469","file4":"1416896477","file5":"1416896479","file3":"1416896475"},"map_files_photo_id_array":[{"photo_id":"1416896479","filename":"file5"},{"photo_id":"1416896473","filename":"file2"},{"photo_id":"1416896477","filename":"file4"},{"photo_id":"1416896471","filename":"file1"},{"photo_id":"1416896469","filename":"file0"},{"photo_id":"1416896475","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896479":["hashtag1","hashtag2"]},{"1416896475":["hashtag1","hashtag2"]},{"1416896469":["hashtag1","hashtag2"]},{"1416896477":["hashtag1","hashtag2"]},{"1416896471":["hashtag1","hashtag2"]},{"1416896473":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896479, 1416896475, 1416896469, 1416896477, 1416896471, 1416896473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.30628776550293 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:50:03.110526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/47/image_11052026_19_47_44_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/47/image_11052026_19_47_44_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896482"],"photo_id":"1416896482","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dfabb086ecd85aa07f197b18705ada8.jpg","text":"TemporaryFile(/tmp/multipartBody8895544793463653237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521864350,"filename":"image_11052026_19_47_44_30291.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896482"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896482"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.969076871871948 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:51:04.112813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/48/image_11052026_19_49_13_29210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/48/image_11052026_19_49_13_29210.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8351500034332275 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:52:03.381277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/48/image_11052026_19_49_13_29210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/48/image_11052026_19_49_13_29210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896486"],"photo_id":"1416896486","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8d7855d35a2316b7e695271923c2b348.jpg","text":"TemporaryFile(/tmp/multipartBody5491435925966736883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778521984457,"filename":"image_11052026_19_49_13_29210.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896486"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896486"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.507226705551147 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:53:03.955983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/50/image_11052026_19_50_44_30377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/50/image_11052026_19_50_44_30377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896487"],"photo_id":"1416896487","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/462341914cf14c62ac87cd9379f2cb57.jpg","text":"TemporaryFile(/tmp/multipartBody7252655837543833511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522045187,"filename":"image_11052026_19_50_44_30377.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896487"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896487"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.299659967422485 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:54:03.655083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/01/59/image_08052026_02_00_05_30412.jpg', '/home/pi/Desktop/images/08052026/02/00/image_08052026_02_00_36_30367.jpg', '/home/pi/Desktop/images/08052026/02/00/image_08052026_02_01_05_29165.jpg', '/home/pi/Desktop/images/08052026/02/01/image_08052026_02_01_35_30383.jpg', '/home/pi/Desktop/images/08052026/02/03/image_08052026_02_03_36_30406.jpg', '/home/pi/Desktop/images/08052026/02/03/image_08052026_02_04_05_29247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/01/59/image_08052026_02_00_05_30412.jpg
/home/pi/Desktop/images/08052026/02/00/image_08052026_02_00_36_30367.jpg
/home/pi/Desktop/images/08052026/02/00/image_08052026_02_01_05_29165.jpg
/home/pi/Desktop/images/08052026/02/01/image_08052026_02_01_35_30383.jpg
/home/pi/Desktop/images/08052026/02/03/image_08052026_02_03_36_30406.jpg
/home/pi/Desktop/images/08052026/02/03/image_08052026_02_04_05_29247.jpg
2026-05-11 19:54:03.890366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/09/image_08052026_17_10_05_29337.jpg', '/home/pi/Desktop/images/08052026/17/09/image_08052026_17_09_36_30400.jpg', '/home/pi/Desktop/images/08052026/17/08/image_08052026_17_09_05_30400.jpg', '/home/pi/Desktop/images/08052026/17/08/image_08052026_17_08_35_29181.jpg', '/home/pi/Desktop/images/08052026/17/07/image_08052026_17_08_06_30398.jpg', '/home/pi/Desktop/images/08052026/17/07/image_08052026_17_07_35_30356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/09/image_08052026_17_10_05_29337.jpg
/home/pi/Desktop/images/08052026/17/09/image_08052026_17_09_36_30400.jpg
/home/pi/Desktop/images/08052026/17/08/image_08052026_17_09_05_30400.jpg
/home/pi/Desktop/images/08052026/17/08/image_08052026_17_08_35_29181.jpg
/home/pi/Desktop/images/08052026/17/07/image_08052026_17_08_06_30398.jpg
/home/pi/Desktop/images/08052026/17/07/image_08052026_17_07_35_30356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896496","1416896490","1416896498","1416896492","1416896494","1416896488"],"photo_ids_order":["1416896488","1416896490","1416896492","1416896494","1416896496","1416896498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45aaa625ed6e63a69512f0fb380a9339.jpg","text":"TemporaryFile(/tmp/multipartBody3066663456562126417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_03_36_30406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/422ae4fcb9d99db703ab3f909f86e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3581701281591565025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_00_36_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7648a5a3b0edd0610a9c88b422bde78.jpg","text":"TemporaryFile(/tmp/multipartBody7862624939570593839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_04_05_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d1870f59e99f81990410030c6afcab6.jpg","text":"TemporaryFile(/tmp/multipartBody6431014598148307082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_01_05_29165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/030231d96c9969335c289ada44ff48e2.jpg","text":"TemporaryFile(/tmp/multipartBody7509979887943317568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_01_35_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a47d42411e001b6dbf8efc9df4832e34.jpg","text":"TemporaryFile(/tmp/multipartBody1128439314059994718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522108011,"filename":"image_08052026_02_00_05_30412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896492","file1":"1416896490","file0":"1416896488","file4":"1416896496","file5":"1416896498","file3":"1416896494"},"map_files_photo_id_array":[{"photo_id":"1416896498","filename":"file5"},{"photo_id":"1416896492","filename":"file2"},{"photo_id":"1416896496","filename":"file4"},{"photo_id":"1416896490","filename":"file1"},{"photo_id":"1416896488","filename":"file0"},{"photo_id":"1416896494","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896496":["hashtag1","hashtag2"]},{"1416896490":["hashtag1","hashtag2"]},{"1416896498":["hashtag1","hashtag2"]},{"1416896492":["hashtag1","hashtag2"]},{"1416896494":["hashtag1","hashtag2"]},{"1416896488":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896496, 1416896490, 1416896498, 1416896492, 1416896494, 1416896488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63760590553284 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896499","1416896493","1416896495","1416896489","1416896491","1416896497"],"photo_ids_order":["1416896489","1416896491","1416896493","1416896495","1416896497","1416896499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59f173f72268e5114dc109e590f343ad.jpg","text":"TemporaryFile(/tmp/multipartBody8247525951640668467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_07_35_30356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab2b08213b065499ff0d18b2774dba3a.jpg","text":"TemporaryFile(/tmp/multipartBody3882926758508479246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_09_05_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92abaede59778c984f40e1430de26219.jpg","text":"TemporaryFile(/tmp/multipartBody8771886639283193478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_08_35_29181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cdfc03cfcf0e0e0cbf5a940165c0825.jpg","text":"TemporaryFile(/tmp/multipartBody7032213541947324730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_10_05_29337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c8624a709f58e511481747b53f1ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody4501417772380704541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_09_36_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75d4dd31e7b7af0687d277188470d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody5689021948055297457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522109027,"filename":"image_08052026_17_08_06_30398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896493","file1":"1416896491","file0":"1416896489","file4":"1416896497","file5":"1416896499","file3":"1416896495"},"map_files_photo_id_array":[{"photo_id":"1416896499","filename":"file5"},{"photo_id":"1416896493","filename":"file2"},{"photo_id":"1416896497","filename":"file4"},{"photo_id":"1416896491","filename":"file1"},{"photo_id":"1416896489","filename":"file0"},{"photo_id":"1416896495","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896499":["hashtag1","hashtag2"]},{"1416896493":["hashtag1","hashtag2"]},{"1416896495":["hashtag1","hashtag2"]},{"1416896489":["hashtag1","hashtag2"]},{"1416896491":["hashtag1","hashtag2"]},{"1416896497":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896499, 1416896493, 1416896495, 1416896489, 1416896491, 1416896497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90808892250061 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 19:59:04.154881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/57/image_11052026_19_58_14_30237.jpg', '/home/pi/Desktop/images/11052026/19/53/image_11052026_19_53_44_30290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/57/image_11052026_19_58_14_30237.jpg
/home/pi/Desktop/images/11052026/19/53/image_11052026_19_53_44_30290.jpg
2026-05-11 19:59:04.461016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/53/image_11052026_19_53_44_30290.jpg', '/home/pi/Desktop/images/11052026/19/57/image_11052026_19_58_14_30237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/53/image_11052026_19_53_44_30290.jpg
/home/pi/Desktop/images/11052026/19/57/image_11052026_19_58_14_30237.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896512","1416896514"],"photo_ids_order":["1416896512","1416896514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd54734f0a57d1a2d017d03713848a90.jpg","text":"TemporaryFile(/tmp/multipartBody4005895258465978481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522405945,"filename":"image_11052026_19_58_14_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1cc4bd969bc6a741a0d8e291219ad41a.jpg","text":"TemporaryFile(/tmp/multipartBody3347752781313266166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522405945,"filename":"image_11052026_19_53_44_30290.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896514","file0":"1416896512"},"map_files_photo_id_array":[{"photo_id":"1416896514","filename":"file1"},{"photo_id":"1416896512","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896512":["hashtag1","hashtag2"]},{"1416896514":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896512, 1416896514)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896515","1416896513"],"photo_ids_order":["1416896513","1416896515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35ed83b8769144a71ace435db1ea6fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4195930823957847699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522406527,"filename":"image_11052026_19_58_14_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4befef83c4dfdb63b943b768f9179ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3049049699296657694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522406527,"filename":"image_11052026_19_53_44_30290.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896515","file0":"1416896513"},"map_files_photo_id_array":[{"photo_id":"1416896515","filename":"file1"},{"photo_id":"1416896513","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896515":["hashtag1","hashtag2"]},{"1416896513":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896515, 1416896513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.543139934539795 secondes ---
uploaded 2 photos
time to upload: 22.27008891105652 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:00:03.289105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/06/image_08052026_17_07_05_30253.jpg', '/home/pi/Desktop/images/08052026/17/06/image_08052026_17_06_35_29116.jpg', '/home/pi/Desktop/images/08052026/17/05/image_08052026_17_05_35_30278.jpg', '/home/pi/Desktop/images/08052026/17/04/image_08052026_17_05_05_29186.jpg', '/home/pi/Desktop/images/08052026/17/04/image_08052026_17_04_36_30409.jpg', '/home/pi/Desktop/images/08052026/17/01/image_08052026_17_01_35_29202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/06/image_08052026_17_07_05_30253.jpg
/home/pi/Desktop/images/08052026/17/06/image_08052026_17_06_35_29116.jpg
/home/pi/Desktop/images/08052026/17/05/image_08052026_17_05_35_30278.jpg
/home/pi/Desktop/images/08052026/17/04/image_08052026_17_05_05_29186.jpg
/home/pi/Desktop/images/08052026/17/04/image_08052026_17_04_36_30409.jpg
/home/pi/Desktop/images/08052026/17/01/image_08052026_17_01_35_29202.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.852806329727173 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:01:03.946742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/19/58/image_11052026_19_58_44_29132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/19/58/image_11052026_19_58_44_29132.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896527"],"photo_id":"1416896527","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e17ae9ffe9f5cda53a52944232a9ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5951594254965864838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522525328,"filename":"image_11052026_19_58_44_29132.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896527"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896527"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.068588972091675 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:02:03.012104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/00/image_11052026_20_01_14_30209.jpg', '/home/pi/Desktop/images/11052026/20/00/image_11052026_20_00_43_29132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/00/image_11052026_20_01_14_30209.jpg
/home/pi/Desktop/images/11052026/20/00/image_11052026_20_00_43_29132.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896530","1416896529"],"photo_ids_order":["1416896529","1416896530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b42da7dfcc5ba1145394c8cff1234f9.jpg","text":"TemporaryFile(/tmp/multipartBody5194471183218433440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522584696,"filename":"image_11052026_20_00_43_29132.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dab757b4451c0f71cc78d63fd1d5991f.jpg","text":"TemporaryFile(/tmp/multipartBody1330309619139700514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522584696,"filename":"image_11052026_20_01_14_30209.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896530","file0":"1416896529"},"map_files_photo_id_array":[{"photo_id":"1416896530","filename":"file1"},{"photo_id":"1416896529","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896530":["hashtag1","hashtag2"]},{"1416896529":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896530, 1416896529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.627780437469482 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:03:04.511612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/01/image_11052026_20_02_14_30309.jpg', '/home/pi/Desktop/images/11052026/20/01/image_11052026_20_01_44_30308.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/01/image_11052026_20_02_14_30309.jpg
/home/pi/Desktop/images/11052026/20/01/image_11052026_20_01_44_30308.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896533","1416896532"],"photo_ids_order":["1416896532","1416896533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/309c547bdb30171d67a57b3350b0fe75.jpg","text":"TemporaryFile(/tmp/multipartBody6038988098386530670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522646153,"filename":"image_11052026_20_01_44_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3c639053b31b9332b54371ea1990e69.jpg","text":"TemporaryFile(/tmp/multipartBody5243953211160461504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522646153,"filename":"image_11052026_20_02_14_30309.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896533","file0":"1416896532"},"map_files_photo_id_array":[{"photo_id":"1416896533","filename":"file1"},{"photo_id":"1416896532","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896533":["hashtag1","hashtag2"]},{"1416896532":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896533, 1416896532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.25965666770935 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:04:03.757484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/02/image_11052026_20_02_43_29146.jpg', '/home/pi/Desktop/images/11052026/20/02/image_11052026_20_03_14_30234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/02/image_11052026_20_02_43_29146.jpg
/home/pi/Desktop/images/11052026/20/02/image_11052026_20_03_14_30234.jpg
2026-05-11 20:04:03.814688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/02/image_11052026_20_03_14_30234.jpg', '/home/pi/Desktop/images/11052026/20/02/image_11052026_20_02_43_29146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/02/image_11052026_20_03_14_30234.jpg
/home/pi/Desktop/images/11052026/20/02/image_11052026_20_02_43_29146.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896535","1416896537"],"photo_ids_order":["1416896535","1416896537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/abd1856ae6af5852abdf46a2351f2eee.jpg","text":"TemporaryFile(/tmp/multipartBody4265351387932474601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522705859,"filename":"image_11052026_20_02_43_29146.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/412d829cbee03d9d9bababf6d84788f6.jpg","text":"TemporaryFile(/tmp/multipartBody2404987875376402526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522705859,"filename":"image_11052026_20_03_14_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896537","file0":"1416896535"},"map_files_photo_id_array":[{"photo_id":"1416896537","filename":"file1"},{"photo_id":"1416896535","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896535":["hashtag1","hashtag2"]},{"1416896537":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896535, 1416896537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.500420331954956 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896536","1416896538"],"photo_ids_order":["1416896536","1416896538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b85646d8b6552230d906fb67e48aa6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5557314951782701639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522706279,"filename":"image_11052026_20_03_14_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19af2a330689643d4ada9dcbdbd8ea58.jpg","text":"TemporaryFile(/tmp/multipartBody2085550807802028241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522706279,"filename":"image_11052026_20_02_43_29146.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896538","file0":"1416896536"},"map_files_photo_id_array":[{"photo_id":"1416896538","filename":"file1"},{"photo_id":"1416896536","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896536":["hashtag1","hashtag2"]},{"1416896538":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896536, 1416896538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.945606470108032 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:05:04.005153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/03/image_11052026_20_04_14_30323.jpg', '/home/pi/Desktop/images/11052026/20/03/image_11052026_20_03_44_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/03/image_11052026_20_04_14_30323.jpg
/home/pi/Desktop/images/11052026/20/03/image_11052026_20_03_44_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896547","1416896546"],"photo_ids_order":["1416896546","1416896547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d03d3cf6f5c4a6d31021df38a43a0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2992310056177347931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522765734,"filename":"image_11052026_20_03_44_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ebc2855a77dcaa47c3616a69b8b034a.jpg","text":"TemporaryFile(/tmp/multipartBody3030277948874726767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522765734,"filename":"image_11052026_20_04_14_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896547","file0":"1416896546"},"map_files_photo_id_array":[{"photo_id":"1416896547","filename":"file1"},{"photo_id":"1416896546","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896547":["hashtag1","hashtag2"]},{"1416896546":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896547, 1416896546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.713730573654175 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:06:03.391829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/06/image_08052026_17_07_05_30253.jpg', '/home/pi/Desktop/images/08052026/17/06/image_08052026_17_06_35_29116.jpg', '/home/pi/Desktop/images/08052026/17/05/image_08052026_17_05_35_30278.jpg', '/home/pi/Desktop/images/08052026/17/04/image_08052026_17_05_05_29186.jpg', '/home/pi/Desktop/images/08052026/17/04/image_08052026_17_04_36_30409.jpg', '/home/pi/Desktop/images/08052026/17/01/image_08052026_17_01_35_29202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/06/image_08052026_17_07_05_30253.jpg
/home/pi/Desktop/images/08052026/17/06/image_08052026_17_06_35_29116.jpg
/home/pi/Desktop/images/08052026/17/05/image_08052026_17_05_35_30278.jpg
/home/pi/Desktop/images/08052026/17/04/image_08052026_17_05_05_29186.jpg
/home/pi/Desktop/images/08052026/17/04/image_08052026_17_04_36_30409.jpg
/home/pi/Desktop/images/08052026/17/01/image_08052026_17_01_35_29202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896551","1416896550","1416896553","1416896552","1416896549","1416896554"],"photo_ids_order":["1416896549","1416896550","1416896551","1416896552","1416896553","1416896554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44674b6ac18abab43435845a6b44fd90.jpg","text":"TemporaryFile(/tmp/multipartBody3218049502668830250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_05_35_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57ec6acd488792dd15b5a76ccffffca4.jpg","text":"TemporaryFile(/tmp/multipartBody110292503971460426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_06_35_29116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ccd24a72c9ffe5fc28c0b08349b68c4.jpg","text":"TemporaryFile(/tmp/multipartBody952918363814936834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_04_36_30409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e739293d300d4420d1f599b32035a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1236093302522996534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_05_05_29186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59862b7d7625b018035f3d01a61bf529.jpg","text":"TemporaryFile(/tmp/multipartBody6670890547449416338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_07_05_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14c90797b01e4dda68561e6c22f14205.jpg","text":"TemporaryFile(/tmp/multipartBody4704377333535967756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522827063,"filename":"image_08052026_17_01_35_29202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896551","file1":"1416896550","file0":"1416896549","file4":"1416896553","file5":"1416896554","file3":"1416896552"},"map_files_photo_id_array":[{"photo_id":"1416896554","filename":"file5"},{"photo_id":"1416896551","filename":"file2"},{"photo_id":"1416896553","filename":"file4"},{"photo_id":"1416896550","filename":"file1"},{"photo_id":"1416896549","filename":"file0"},{"photo_id":"1416896552","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896551":["hashtag1","hashtag2"]},{"1416896550":["hashtag1","hashtag2"]},{"1416896553":["hashtag1","hashtag2"]},{"1416896552":["hashtag1","hashtag2"]},{"1416896549":["hashtag1","hashtag2"]},{"1416896554":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896551, 1416896550, 1416896553, 1416896552, 1416896549, 1416896554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01952409744263 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:07:03.622222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/00/image_08052026_17_01_06_30309.jpg', '/home/pi/Desktop/images/08052026/17/00/image_08052026_17_00_35_30214.jpg', '/home/pi/Desktop/images/08052026/16/59/image_08052026_17_00_05_30289.jpg', '/home/pi/Desktop/images/08052026/16/59/image_08052026_16_59_35_29196.jpg', '/home/pi/Desktop/images/08052026/16/58/image_08052026_16_58_35_30176.jpg', '/home/pi/Desktop/images/08052026/16/57/image_08052026_16_58_05_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/00/image_08052026_17_01_06_30309.jpg
/home/pi/Desktop/images/08052026/17/00/image_08052026_17_00_35_30214.jpg
/home/pi/Desktop/images/08052026/16/59/image_08052026_17_00_05_30289.jpg
/home/pi/Desktop/images/08052026/16/59/image_08052026_16_59_35_29196.jpg
/home/pi/Desktop/images/08052026/16/58/image_08052026_16_58_35_30176.jpg
/home/pi/Desktop/images/08052026/16/57/image_08052026_16_58_05_30228.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3258659839630127 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:08:03.084706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/17/00/image_08052026_17_01_06_30309.jpg', '/home/pi/Desktop/images/08052026/17/00/image_08052026_17_00_35_30214.jpg', '/home/pi/Desktop/images/08052026/16/59/image_08052026_17_00_05_30289.jpg', '/home/pi/Desktop/images/08052026/16/59/image_08052026_16_59_35_29196.jpg', '/home/pi/Desktop/images/08052026/16/58/image_08052026_16_58_35_30176.jpg', '/home/pi/Desktop/images/08052026/16/57/image_08052026_16_58_05_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/17/00/image_08052026_17_01_06_30309.jpg
/home/pi/Desktop/images/08052026/17/00/image_08052026_17_00_35_30214.jpg
/home/pi/Desktop/images/08052026/16/59/image_08052026_17_00_05_30289.jpg
/home/pi/Desktop/images/08052026/16/59/image_08052026_16_59_35_29196.jpg
/home/pi/Desktop/images/08052026/16/58/image_08052026_16_58_35_30176.jpg
/home/pi/Desktop/images/08052026/16/57/image_08052026_16_58_05_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896563","1416896565","1416896562","1416896564","1416896567","1416896566"],"photo_ids_order":["1416896562","1416896563","1416896564","1416896565","1416896566","1416896567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c274c1f115bb49e58653078c7b941bde.jpg","text":"TemporaryFile(/tmp/multipartBody5820188078429854145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_17_00_35_30214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5fe70b991d27d97943a728d8ca13f719.jpg","text":"TemporaryFile(/tmp/multipartBody5140551210702978007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_16_59_35_29196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c4d338543bc4567df03199d59e2ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody7732160882078487220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_17_01_06_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1657f4040f9f178bda7ce02ece718b8.jpg","text":"TemporaryFile(/tmp/multipartBody2868144107518861674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_17_00_05_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3df14a5a2371663f64c05eb2bf63190.jpg","text":"TemporaryFile(/tmp/multipartBody5059261086108861490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_16_58_05_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73dc155f8c0a739f9e701be417e0dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody8226757123822418723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778522946783,"filename":"image_08052026_16_58_35_30176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896564","file1":"1416896563","file0":"1416896562","file4":"1416896566","file5":"1416896567","file3":"1416896565"},"map_files_photo_id_array":[{"photo_id":"1416896567","filename":"file5"},{"photo_id":"1416896564","filename":"file2"},{"photo_id":"1416896566","filename":"file4"},{"photo_id":"1416896563","filename":"file1"},{"photo_id":"1416896562","filename":"file0"},{"photo_id":"1416896565","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896563":["hashtag1","hashtag2"]},{"1416896565":["hashtag1","hashtag2"]},{"1416896562":["hashtag1","hashtag2"]},{"1416896564":["hashtag1","hashtag2"]},{"1416896567":["hashtag1","hashtag2"]},{"1416896566":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896563, 1416896565, 1416896562, 1416896564, 1416896567, 1416896566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.968416929244995 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:09:04.521726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/57/image_08052026_16_57_35_29298.jpg', '/home/pi/Desktop/images/08052026/16/55/image_08052026_16_56_05_30374.jpg', '/home/pi/Desktop/images/08052026/16/55/image_08052026_16_55_35_29196.jpg', '/home/pi/Desktop/images/08052026/16/53/image_08052026_16_54_05_30251.jpg', '/home/pi/Desktop/images/08052026/16/53/image_08052026_16_53_35_29177.jpg', '/home/pi/Desktop/images/08052026/16/52/image_08052026_16_53_06_30196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/57/image_08052026_16_57_35_29298.jpg
/home/pi/Desktop/images/08052026/16/55/image_08052026_16_56_05_30374.jpg
/home/pi/Desktop/images/08052026/16/55/image_08052026_16_55_35_29196.jpg
/home/pi/Desktop/images/08052026/16/53/image_08052026_16_54_05_30251.jpg
/home/pi/Desktop/images/08052026/16/53/image_08052026_16_53_35_29177.jpg
/home/pi/Desktop/images/08052026/16/52/image_08052026_16_53_06_30196.jpg
2026-05-11 20:09:04.749327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/04/image_08052026_02_04_35_30343.jpg', '/home/pi/Desktop/images/08052026/02/05/image_08052026_02_05_35_29214.jpg', '/home/pi/Desktop/images/08052026/02/05/image_08052026_02_06_05_30312.jpg', '/home/pi/Desktop/images/08052026/02/09/image_08052026_02_09_35_30365.jpg', '/home/pi/Desktop/images/08052026/02/10/image_08052026_02_11_05_30181.jpg', '/home/pi/Desktop/images/08052026/02/20/image_08052026_02_21_05_30439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/04/image_08052026_02_04_35_30343.jpg
/home/pi/Desktop/images/08052026/02/05/image_08052026_02_05_35_29214.jpg
/home/pi/Desktop/images/08052026/02/05/image_08052026_02_06_05_30312.jpg
/home/pi/Desktop/images/08052026/02/09/image_08052026_02_09_35_30365.jpg
/home/pi/Desktop/images/08052026/02/10/image_08052026_02_11_05_30181.jpg
/home/pi/Desktop/images/08052026/02/20/image_08052026_02_21_05_30439.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.538259744644165 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896574","1416896576","1416896579","1416896570","1416896572","1416896569"],"photo_ids_order":["1416896569","1416896570","1416896572","1416896574","1416896576","1416896579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ee78aefd3dbfb90f3ee910685d153ce.jpg","text":"TemporaryFile(/tmp/multipartBody5760087769305271301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_54_05_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8771653d016256116d32c83a1d4721ce.jpg","text":"TemporaryFile(/tmp/multipartBody8192928250753777175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_53_35_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab5d59b2d4cefa9d3d85d20d5a33a951.jpg","text":"TemporaryFile(/tmp/multipartBody6131695848668876950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_53_06_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37df9424bfca04e4491bf1d7b15d474b.jpg","text":"TemporaryFile(/tmp/multipartBody2431920884516135590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_56_05_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e70ca59b1a8d82dab0d01447e5da6118.jpg","text":"TemporaryFile(/tmp/multipartBody5250529001611820783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_55_35_29196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06eecfddbebcf891bd047d00f2441342.jpg","text":"TemporaryFile(/tmp/multipartBody6758898914919347800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523010870,"filename":"image_08052026_16_57_35_29298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896572","file1":"1416896570","file0":"1416896569","file4":"1416896576","file5":"1416896579","file3":"1416896574"},"map_files_photo_id_array":[{"photo_id":"1416896579","filename":"file5"},{"photo_id":"1416896572","filename":"file2"},{"photo_id":"1416896576","filename":"file4"},{"photo_id":"1416896570","filename":"file1"},{"photo_id":"1416896569","filename":"file0"},{"photo_id":"1416896574","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896574":["hashtag1","hashtag2"]},{"1416896576":["hashtag1","hashtag2"]},{"1416896579":["hashtag1","hashtag2"]},{"1416896570":["hashtag1","hashtag2"]},{"1416896572":["hashtag1","hashtag2"]},{"1416896569":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896574, 1416896576, 1416896579, 1416896570, 1416896572, 1416896569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.583290338516235 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:10:03.814483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/09/image_11052026_20_10_14_30242.jpg', '/home/pi/Desktop/images/11052026/20/09/image_11052026_20_09_44_30351.jpg', '/home/pi/Desktop/images/11052026/20/04/image_11052026_20_04_43_29167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/09/image_11052026_20_10_14_30242.jpg
/home/pi/Desktop/images/11052026/20/09/image_11052026_20_09_44_30351.jpg
/home/pi/Desktop/images/11052026/20/04/image_11052026_20_04_43_29167.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896583","1416896582","1416896581"],"photo_ids_order":["1416896581","1416896582","1416896583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/368bc3c2eb8560f4113ef3b18e16bba1.jpg","text":"TemporaryFile(/tmp/multipartBody233554971798842966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523065751,"filename":"image_11052026_20_04_43_29167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b41884392d7f736dbcac58e014598d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1135663361101941766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523065751,"filename":"image_11052026_20_09_44_30351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da1b8d22901eb5c970faa80db26d2918.jpg","text":"TemporaryFile(/tmp/multipartBody9215333903540598782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523065751,"filename":"image_11052026_20_10_14_30242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896583","file1":"1416896582","file0":"1416896581"},"map_files_photo_id_array":[{"photo_id":"1416896583","filename":"file2"},{"photo_id":"1416896582","filename":"file1"},{"photo_id":"1416896581","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896583":["hashtag1","hashtag2"]},{"1416896582":["hashtag1","hashtag2"]},{"1416896581":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896583, 1416896582, 1416896581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.49622893333435 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:11:04.213604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/51/image_08052026_16_52_05_30248.jpg', '/home/pi/Desktop/images/08052026/16/51/image_08052026_16_51_35_29173.jpg', '/home/pi/Desktop/images/08052026/16/50/image_08052026_16_50_35_30163.jpg', '/home/pi/Desktop/images/08052026/16/48/image_08052026_16_49_06_30365.jpg', '/home/pi/Desktop/images/08052026/16/48/image_08052026_16_48_35_30266.jpg', '/home/pi/Desktop/images/08052026/16/46/image_08052026_16_47_05_30337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/51/image_08052026_16_52_05_30248.jpg
/home/pi/Desktop/images/08052026/16/51/image_08052026_16_51_35_29173.jpg
/home/pi/Desktop/images/08052026/16/50/image_08052026_16_50_35_30163.jpg
/home/pi/Desktop/images/08052026/16/48/image_08052026_16_49_06_30365.jpg
/home/pi/Desktop/images/08052026/16/48/image_08052026_16_48_35_30266.jpg
/home/pi/Desktop/images/08052026/16/46/image_08052026_16_47_05_30337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896595","1416896592","1416896588","1416896590","1416896593","1416896596"],"photo_ids_order":["1416896588","1416896590","1416896592","1416896593","1416896595","1416896596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89fcf1ab429bee17cf217358d8a42154.jpg","text":"TemporaryFile(/tmp/multipartBody6935484448662995310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_48_35_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14057a46f59a7807757cb2a0df02aa1a.jpg","text":"TemporaryFile(/tmp/multipartBody1283361032818588728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_50_35_30163.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e7136fde53f97585c08f583f7428500.jpg","text":"TemporaryFile(/tmp/multipartBody6704192525941483119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_52_05_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85215f90bec6a5ef6cebcec9d33f9493.jpg","text":"TemporaryFile(/tmp/multipartBody2316143394224545256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_51_35_29173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0ad4bd676a9dcffe365a88c2cc93285.jpg","text":"TemporaryFile(/tmp/multipartBody9163837924756971476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_49_06_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/89feb4ccc99e883922910a39d02cb19a.jpg","text":"TemporaryFile(/tmp/multipartBody4598657251412488506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523127820,"filename":"image_08052026_16_47_05_30337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896592","file1":"1416896590","file0":"1416896588","file4":"1416896595","file5":"1416896596","file3":"1416896593"},"map_files_photo_id_array":[{"photo_id":"1416896596","filename":"file5"},{"photo_id":"1416896592","filename":"file2"},{"photo_id":"1416896595","filename":"file4"},{"photo_id":"1416896590","filename":"file1"},{"photo_id":"1416896588","filename":"file0"},{"photo_id":"1416896593","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896595":["hashtag1","hashtag2"]},{"1416896592":["hashtag1","hashtag2"]},{"1416896588":["hashtag1","hashtag2"]},{"1416896590":["hashtag1","hashtag2"]},{"1416896593":["hashtag1","hashtag2"]},{"1416896596":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896595, 1416896592, 1416896588, 1416896590, 1416896593, 1416896596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30782198905945 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:12:03.147276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/10/image_11052026_20_10_44_29176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/10/image_11052026_20_10_44_29176.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896598"],"photo_id":"1416896598","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9608cd0cf514fde93ea5db12efd8b8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2325625869633165559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523184384,"filename":"image_11052026_20_10_44_29176.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896598"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896598"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.089905500411987 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:13:03.622033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/11/image_11052026_20_12_13_29311.jpg', '/home/pi/Desktop/images/11052026/20/11/image_11052026_20_11_44_30343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/11/image_11052026_20_12_13_29311.jpg
/home/pi/Desktop/images/11052026/20/11/image_11052026_20_11_44_30343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896601","1416896600"],"photo_ids_order":["1416896600","1416896601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfc2e92c60636904bd27e7c61a2692f5.jpg","text":"TemporaryFile(/tmp/multipartBody1671557334670499564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523245393,"filename":"image_11052026_20_11_44_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7977c8c023e5a76b2020480b1efbe127.jpg","text":"TemporaryFile(/tmp/multipartBody154779518459638203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523245393,"filename":"image_11052026_20_12_13_29311.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896601","file0":"1416896600"},"map_files_photo_id_array":[{"photo_id":"1416896601","filename":"file1"},{"photo_id":"1416896600","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896601":["hashtag1","hashtag2"]},{"1416896600":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896601, 1416896600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.536662101745605 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:14:03.552504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/12/image_11052026_20_13_14_30270.jpg', '/home/pi/Desktop/images/11052026/20/12/image_11052026_20_12_44_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/12/image_11052026_20_13_14_30270.jpg
/home/pi/Desktop/images/11052026/20/12/image_11052026_20_12_44_30275.jpg
2026-05-11 20:14:03.714200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/12/image_11052026_20_12_44_30275.jpg', '/home/pi/Desktop/images/11052026/20/12/image_11052026_20_13_14_30270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/12/image_11052026_20_12_44_30275.jpg
/home/pi/Desktop/images/11052026/20/12/image_11052026_20_13_14_30270.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896605","1416896603"],"photo_ids_order":["1416896603","1416896605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3ffdae8e161edfe66757e0cf279cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody5003978837440109428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523305769,"filename":"image_11052026_20_12_44_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bac797d6b1b2e5a182e25a3652596194.jpg","text":"TemporaryFile(/tmp/multipartBody6422786051253997043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523305769,"filename":"image_11052026_20_13_14_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896605","file0":"1416896603"},"map_files_photo_id_array":[{"photo_id":"1416896605","filename":"file1"},{"photo_id":"1416896603","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896605":["hashtag1","hashtag2"]},{"1416896603":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896605, 1416896603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.358805179595947 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896604","1416896606"],"photo_ids_order":["1416896604","1416896606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c28c8a62431d91957a27fef438ec81fe.jpg","text":"TemporaryFile(/tmp/multipartBody5421417622619384705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523305916,"filename":"image_11052026_20_12_44_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b60ef0dcd681299e66622f21de928194.jpg","text":"TemporaryFile(/tmp/multipartBody1019112431248145473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523305916,"filename":"image_11052026_20_13_14_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896606","file0":"1416896604"},"map_files_photo_id_array":[{"photo_id":"1416896606","filename":"file1"},{"photo_id":"1416896604","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896604":["hashtag1","hashtag2"]},{"1416896606":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896604, 1416896606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.46890687942505 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:15:04.131729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/46/image_08052026_16_46_35_29248.jpg', '/home/pi/Desktop/images/08052026/16/40/image_08052026_16_40_35_29249.jpg', '/home/pi/Desktop/images/08052026/16/39/image_08052026_16_40_06_30205.jpg', '/home/pi/Desktop/images/08052026/16/39/image_08052026_16_39_35_30252.jpg', '/home/pi/Desktop/images/08052026/16/38/image_08052026_16_39_05_30263.jpg', '/home/pi/Desktop/images/08052026/16/38/image_08052026_16_38_35_29235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/46/image_08052026_16_46_35_29248.jpg
/home/pi/Desktop/images/08052026/16/40/image_08052026_16_40_35_29249.jpg
/home/pi/Desktop/images/08052026/16/39/image_08052026_16_40_06_30205.jpg
/home/pi/Desktop/images/08052026/16/39/image_08052026_16_39_35_30252.jpg
/home/pi/Desktop/images/08052026/16/38/image_08052026_16_39_05_30263.jpg
/home/pi/Desktop/images/08052026/16/38/image_08052026_16_38_35_29235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896611","1416896614","1416896613","1416896610","1416896612","1416896615"],"photo_ids_order":["1416896610","1416896611","1416896612","1416896613","1416896614","1416896615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/38f17f33972cc6b25831f12ee609b421.jpg","text":"TemporaryFile(/tmp/multipartBody426266559596594198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_40_35_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/530755e8ef928e42eb55e696322cadc0.jpg","text":"TemporaryFile(/tmp/multipartBody6003658274077019037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_39_05_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af0c95cacbf38121a594f9da407bd36a.jpg","text":"TemporaryFile(/tmp/multipartBody8826270478376085740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_39_35_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/401372b7b2c140f9c226c8bb2b6b199f.jpg","text":"TemporaryFile(/tmp/multipartBody6528266617514280480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_46_35_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75d6f6bafbb67d0f148c16fd3c60f64a.jpg","text":"TemporaryFile(/tmp/multipartBody4760819135016745261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_40_06_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df8e9dea5a1bf5c7f09ae2715eb390b0.jpg","text":"TemporaryFile(/tmp/multipartBody6205697972139414100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523367095,"filename":"image_08052026_16_38_35_29235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896612","file1":"1416896611","file0":"1416896610","file4":"1416896614","file5":"1416896615","file3":"1416896613"},"map_files_photo_id_array":[{"photo_id":"1416896615","filename":"file5"},{"photo_id":"1416896612","filename":"file2"},{"photo_id":"1416896614","filename":"file4"},{"photo_id":"1416896611","filename":"file1"},{"photo_id":"1416896610","filename":"file0"},{"photo_id":"1416896613","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896611":["hashtag1","hashtag2"]},{"1416896614":["hashtag1","hashtag2"]},{"1416896613":["hashtag1","hashtag2"]},{"1416896610":["hashtag1","hashtag2"]},{"1416896612":["hashtag1","hashtag2"]},{"1416896615":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896611, 1416896614, 1416896613, 1416896610, 1416896612, 1416896615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19767451286316 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:16:03.072066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/13/image_11052026_20_13_44_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/13/image_11052026_20_13_44_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896617"],"photo_id":"1416896617","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf9bce9ad4e838a42477411d5075d979.jpg","text":"TemporaryFile(/tmp/multipartBody1506289407365662209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523424384,"filename":"image_11052026_20_13_44_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896617"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896617"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.383396625518799 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:17:04.720427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/37/image_08052026_16_38_06_30300.jpg', '/home/pi/Desktop/images/08052026/16/37/image_08052026_16_37_35_30264.jpg', '/home/pi/Desktop/images/08052026/16/36/image_08052026_16_36_35_29349.jpg', '/home/pi/Desktop/images/08052026/16/35/image_08052026_16_36_06_30327.jpg', '/home/pi/Desktop/images/08052026/16/35/image_08052026_16_35_35_30227.jpg', '/home/pi/Desktop/images/08052026/16/28/image_08052026_16_28_35_29229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/37/image_08052026_16_38_06_30300.jpg
/home/pi/Desktop/images/08052026/16/37/image_08052026_16_37_35_30264.jpg
/home/pi/Desktop/images/08052026/16/36/image_08052026_16_36_35_29349.jpg
/home/pi/Desktop/images/08052026/16/35/image_08052026_16_36_06_30327.jpg
/home/pi/Desktop/images/08052026/16/35/image_08052026_16_35_35_30227.jpg
/home/pi/Desktop/images/08052026/16/28/image_08052026_16_28_35_29229.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3446431159973145 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:18:03.272299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/17/image_11052026_20_18_14_30206.jpg', '/home/pi/Desktop/images/11052026/20/15/image_11052026_20_15_44_30213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/17/image_11052026_20_18_14_30206.jpg
/home/pi/Desktop/images/11052026/20/15/image_11052026_20_15_44_30213.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896632","1416896631"],"photo_ids_order":["1416896631","1416896632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1af212a143f900035b125ec8267dd75.jpg","text":"TemporaryFile(/tmp/multipartBody3213758848337563125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523544711,"filename":"image_11052026_20_15_44_30213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4173ce07f8daebc23553daf7b074e379.jpg","text":"TemporaryFile(/tmp/multipartBody443989314914989206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523544711,"filename":"image_11052026_20_18_14_30206.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896632","file0":"1416896631"},"map_files_photo_id_array":[{"photo_id":"1416896632","filename":"file1"},{"photo_id":"1416896631","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896632":["hashtag1","hashtag2"]},{"1416896631":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896632, 1416896631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.603466272354126 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:19:03.896926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/37/image_08052026_16_38_06_30300.jpg', '/home/pi/Desktop/images/08052026/16/37/image_08052026_16_37_35_30264.jpg', '/home/pi/Desktop/images/08052026/16/36/image_08052026_16_36_35_29349.jpg', '/home/pi/Desktop/images/08052026/16/35/image_08052026_16_36_06_30327.jpg', '/home/pi/Desktop/images/08052026/16/35/image_08052026_16_35_35_30227.jpg', '/home/pi/Desktop/images/08052026/16/28/image_08052026_16_28_35_29229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/37/image_08052026_16_38_06_30300.jpg
/home/pi/Desktop/images/08052026/16/37/image_08052026_16_37_35_30264.jpg
/home/pi/Desktop/images/08052026/16/36/image_08052026_16_36_35_29349.jpg
/home/pi/Desktop/images/08052026/16/35/image_08052026_16_36_06_30327.jpg
/home/pi/Desktop/images/08052026/16/35/image_08052026_16_35_35_30227.jpg
/home/pi/Desktop/images/08052026/16/28/image_08052026_16_28_35_29229.jpg
2026-05-11 20:19:04.156543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/18/image_11052026_20_18_44_30192.jpg', '/home/pi/Desktop/images/11052026/20/18/image_11052026_20_19_13_29138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/18/image_11052026_20_18_44_30192.jpg
/home/pi/Desktop/images/11052026/20/18/image_11052026_20_19_13_29138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896634","1416896636"],"photo_ids_order":["1416896634","1416896636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/511fd1f5d89556d26264de8ef9aea21a.jpg","text":"TemporaryFile(/tmp/multipartBody5338783713169705861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523606614,"filename":"image_11052026_20_18_44_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c33a4378612c082661be4ee58cee465a.jpg","text":"TemporaryFile(/tmp/multipartBody1942224407413418025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523606614,"filename":"image_11052026_20_19_13_29138.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896636","file0":"1416896634"},"map_files_photo_id_array":[{"photo_id":"1416896636","filename":"file1"},{"photo_id":"1416896634","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896634":["hashtag1","hashtag2"]},{"1416896636":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896634, 1416896636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.571695804595947 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896635","1416896638","1416896640","1416896637","1416896642","1416896639"],"photo_ids_order":["1416896635","1416896637","1416896638","1416896639","1416896640","1416896642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea5eb90f5abfa4a4356b0dbf96ef0fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5297284204041918566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_38_06_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69295bce17b7af5d8b48b7328d94d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3791961334583840996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_36_35_29349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e67aeff8cfe71b4846cef33082b5d0c.jpg","text":"TemporaryFile(/tmp/multipartBody4456411775888056653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_35_35_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f83f4020531d5385962e0f8483b28464.jpg","text":"TemporaryFile(/tmp/multipartBody933860339752943334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_37_35_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/008d173d7ce2250ec8bbe2f0896054b4.jpg","text":"TemporaryFile(/tmp/multipartBody4172889330256067433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_28_35_29229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d282b121fd71c3c434a37ffd2144dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody6046602108824702522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523608496,"filename":"image_08052026_16_36_06_30327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896638","file1":"1416896637","file0":"1416896635","file4":"1416896640","file5":"1416896642","file3":"1416896639"},"map_files_photo_id_array":[{"photo_id":"1416896642","filename":"file5"},{"photo_id":"1416896638","filename":"file2"},{"photo_id":"1416896640","filename":"file4"},{"photo_id":"1416896637","filename":"file1"},{"photo_id":"1416896635","filename":"file0"},{"photo_id":"1416896639","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896635":["hashtag1","hashtag2"]},{"1416896638":["hashtag1","hashtag2"]},{"1416896640":["hashtag1","hashtag2"]},{"1416896637":["hashtag1","hashtag2"]},{"1416896642":["hashtag1","hashtag2"]},{"1416896639":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896635, 1416896638, 1416896640, 1416896637, 1416896642, 1416896639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.263850688934326 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:20:03.649014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/19/image_11052026_20_20_14_30240.jpg', '/home/pi/Desktop/images/11052026/20/19/image_11052026_20_19_44_30110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/19/image_11052026_20_20_14_30240.jpg
/home/pi/Desktop/images/11052026/20/19/image_11052026_20_19_44_30110.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896644","1416896643"],"photo_ids_order":["1416896643","1416896644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2458edaecaadb03b0a05d0caab06a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3393005202408816837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523665172,"filename":"image_11052026_20_19_44_30110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9396acbd961a7eb78f9321c9bfc2450.jpg","text":"TemporaryFile(/tmp/multipartBody1612879397475557463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523665172,"filename":"image_11052026_20_20_14_30240.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896644","file0":"1416896643"},"map_files_photo_id_array":[{"photo_id":"1416896644","filename":"file1"},{"photo_id":"1416896643","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896644":["hashtag1","hashtag2"]},{"1416896643":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896644, 1416896643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.617197275161743 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:21:04.177456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/20/image_11052026_20_21_14_30199.jpg', '/home/pi/Desktop/images/11052026/20/20/image_11052026_20_20_44_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/20/image_11052026_20_21_14_30199.jpg
/home/pi/Desktop/images/11052026/20/20/image_11052026_20_20_44_30242.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.196596622467041 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:22:03.895493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/20/image_11052026_20_21_14_30199.jpg', '/home/pi/Desktop/images/11052026/20/20/image_11052026_20_20_44_30242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/20/image_11052026_20_21_14_30199.jpg
/home/pi/Desktop/images/11052026/20/20/image_11052026_20_20_44_30242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896649","1416896648"],"photo_ids_order":["1416896648","1416896649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9773e5d8ee6fdecdd28f708728775d31.jpg","text":"TemporaryFile(/tmp/multipartBody482441434055977755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523785589,"filename":"image_11052026_20_20_44_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7127020d3548b6d7e34e11bbd7a2e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1102025487343429068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523785589,"filename":"image_11052026_20_21_14_30199.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896649","file0":"1416896648"},"map_files_photo_id_array":[{"photo_id":"1416896649","filename":"file1"},{"photo_id":"1416896648","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896649":["hashtag1","hashtag2"]},{"1416896648":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896649, 1416896648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.7854106426239 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:23:04.353072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/21/image_11052026_20_21_44_30265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/21/image_11052026_20_21_44_30265.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896651"],"photo_id":"1416896651","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/447099b19f48668137614d19bb125a09.jpg","text":"TemporaryFile(/tmp/multipartBody5829274198508008900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523845536,"filename":"image_11052026_20_21_44_30265.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896651"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896651"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.227662086486816 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:24:03.478947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/22/image_11052026_20_23_14_30113.jpg', '/home/pi/Desktop/images/11052026/20/22/image_11052026_20_22_44_30111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/22/image_11052026_20_23_14_30113.jpg
/home/pi/Desktop/images/11052026/20/22/image_11052026_20_22_44_30111.jpg
2026-05-11 20:24:03.666120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/22/image_11052026_20_22_44_30111.jpg', '/home/pi/Desktop/images/11052026/20/22/image_11052026_20_23_14_30113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/22/image_11052026_20_22_44_30111.jpg
/home/pi/Desktop/images/11052026/20/22/image_11052026_20_23_14_30113.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896654","1416896657"],"photo_ids_order":["1416896654","1416896657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/456553555bcab3434add8dc23ce4ec77.jpg","text":"TemporaryFile(/tmp/multipartBody1551894992661585081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523904937,"filename":"image_11052026_20_23_14_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24a735cf7a352fe563683bb1b3b7bb44.jpg","text":"TemporaryFile(/tmp/multipartBody7989940066956210699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523904937,"filename":"image_11052026_20_22_44_30111.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896657","file0":"1416896654"},"map_files_photo_id_array":[{"photo_id":"1416896657","filename":"file1"},{"photo_id":"1416896654","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896654":["hashtag1","hashtag2"]},{"1416896657":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896654, 1416896657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.18045663833618 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896658","1416896655"],"photo_ids_order":["1416896655","1416896658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce536b95b4dc7f34fe6ac42175c17f22.jpg","text":"TemporaryFile(/tmp/multipartBody5821557527344227341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523905494,"filename":"image_11052026_20_23_14_30113.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5be647b14b857dc4509cc0957495175.jpg","text":"TemporaryFile(/tmp/multipartBody7054402855805424997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778523905494,"filename":"image_11052026_20_22_44_30111.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896658","file0":"1416896655"},"map_files_photo_id_array":[{"photo_id":"1416896658","filename":"file1"},{"photo_id":"1416896655","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896658":["hashtag1","hashtag2"]},{"1416896655":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896658, 1416896655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.471818923950195 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:25:04.211399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/23/image_11052026_20_23_44_30238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/23/image_11052026_20_23_44_30238.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.820925235748291 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:26:03.817389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/23/image_11052026_20_23_44_30238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/23/image_11052026_20_23_44_30238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896838"],"photo_id":"1416896838","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/589143e1bb37e39ffc79d79b26fb3a16.jpg","text":"TemporaryFile(/tmp/multipartBody7352784647800443451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524024914,"filename":"image_11052026_20_23_44_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896838"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.410943508148193 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:27:04.240448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/24/image_11052026_20_25_14_30215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/24/image_11052026_20_25_14_30215.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896918"],"photo_id":"1416896918","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c046dc933aa5f9dae42e319f94bfc22.jpg","text":"TemporaryFile(/tmp/multipartBody683473709628457132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524085364,"filename":"image_11052026_20_25_14_30215.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416896918"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416896918"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.371603727340698 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:28:03.170223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/27/image_08052026_16_28_06_30280.jpg', '/home/pi/Desktop/images/08052026/16/24/image_08052026_16_24_35_29161.jpg', '/home/pi/Desktop/images/08052026/16/23/image_08052026_16_24_06_30305.jpg', '/home/pi/Desktop/images/08052026/16/22/image_08052026_16_23_05_30308.jpg', '/home/pi/Desktop/images/08052026/16/15/image_08052026_16_16_06_30252.jpg', '/home/pi/Desktop/images/08052026/16/15/image_08052026_16_15_35_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/27/image_08052026_16_28_06_30280.jpg
/home/pi/Desktop/images/08052026/16/24/image_08052026_16_24_35_29161.jpg
/home/pi/Desktop/images/08052026/16/23/image_08052026_16_24_06_30305.jpg
/home/pi/Desktop/images/08052026/16/22/image_08052026_16_23_05_30308.jpg
/home/pi/Desktop/images/08052026/16/15/image_08052026_16_16_06_30252.jpg
/home/pi/Desktop/images/08052026/16/15/image_08052026_16_15_35_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896941","1416896940","1416896943","1416896942","1416896939","1416896944"],"photo_ids_order":["1416896939","1416896940","1416896941","1416896942","1416896943","1416896944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a90e6ede0e14cb1dfeb24f94d95479d.jpg","text":"TemporaryFile(/tmp/multipartBody3451600080471148040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_24_06_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/490a85a937ba38c2830a25afffff5d77.jpg","text":"TemporaryFile(/tmp/multipartBody340453213694192447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_24_35_29161.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e4e2a237c43ad6a2eec42e96b295e41.jpg","text":"TemporaryFile(/tmp/multipartBody1057500925801521232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_16_06_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2723f4b363fc6110c41c77540071b026.jpg","text":"TemporaryFile(/tmp/multipartBody6183321193223489381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_23_05_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e56e40c9b9ffe806fb617952fca63d63.jpg","text":"TemporaryFile(/tmp/multipartBody317891669428464993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_28_06_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/151f46214417b6e0873d27bec10309c4.jpg","text":"TemporaryFile(/tmp/multipartBody6160743380572981127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524146931,"filename":"image_08052026_16_15_35_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416896941","file1":"1416896940","file0":"1416896939","file4":"1416896943","file5":"1416896944","file3":"1416896942"},"map_files_photo_id_array":[{"photo_id":"1416896944","filename":"file5"},{"photo_id":"1416896941","filename":"file2"},{"photo_id":"1416896943","filename":"file4"},{"photo_id":"1416896940","filename":"file1"},{"photo_id":"1416896939","filename":"file0"},{"photo_id":"1416896942","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416896941":["hashtag1","hashtag2"]},{"1416896940":["hashtag1","hashtag2"]},{"1416896943":["hashtag1","hashtag2"]},{"1416896942":["hashtag1","hashtag2"]},{"1416896939":["hashtag1","hashtag2"]},{"1416896944":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416896941, 1416896940, 1416896943, 1416896942, 1416896939, 1416896944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01674556732178 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:29:03.844696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/27/image_11052026_20_28_14_30130.jpg', '/home/pi/Desktop/images/11052026/20/25/image_11052026_20_26_14_30239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/27/image_11052026_20_28_14_30130.jpg
/home/pi/Desktop/images/11052026/20/25/image_11052026_20_26_14_30239.jpg
2026-05-11 20:29:03.962479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/25/image_11052026_20_26_14_30239.jpg', '/home/pi/Desktop/images/11052026/20/27/image_11052026_20_28_14_30130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/25/image_11052026_20_26_14_30239.jpg
/home/pi/Desktop/images/11052026/20/27/image_11052026_20_28_14_30130.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896946","1416896948"],"photo_ids_order":["1416896946","1416896948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cc863aed60e9064df351c7208fa1fec.jpg","text":"TemporaryFile(/tmp/multipartBody8052617423595116924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524205831,"filename":"image_11052026_20_28_14_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/530b3965cad6112b84c66912413a7f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3074265456858589765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524205831,"filename":"image_11052026_20_26_14_30239.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896948","file0":"1416896946"},"map_files_photo_id_array":[{"photo_id":"1416896948","filename":"file1"},{"photo_id":"1416896946","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896946":["hashtag1","hashtag2"]},{"1416896948":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896946, 1416896948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.55907917022705 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896947","1416896949"],"photo_ids_order":["1416896947","1416896949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/208ae2aacfc5b04bf0fc07a4d78ccc30.jpg","text":"TemporaryFile(/tmp/multipartBody340902467758802912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524206334,"filename":"image_11052026_20_26_14_30239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/996d5a3b2489805181d1126ac1303509.jpg","text":"TemporaryFile(/tmp/multipartBody39898177595938203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524206334,"filename":"image_11052026_20_28_14_30130.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896949","file0":"1416896947"},"map_files_photo_id_array":[{"photo_id":"1416896949","filename":"file1"},{"photo_id":"1416896947","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896947":["hashtag1","hashtag2"]},{"1416896949":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896947, 1416896949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.108510732650757 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:30:02.955130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/29/image_11052026_20_30_14_30153.jpg', '/home/pi/Desktop/images/11052026/20/28/image_11052026_20_28_44_30309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/29/image_11052026_20_30_14_30153.jpg
/home/pi/Desktop/images/11052026/20/28/image_11052026_20_28_44_30309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896955","1416896954"],"photo_ids_order":["1416896954","1416896955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/490fb3978a357e9721ae339fcd71cd7e.jpg","text":"TemporaryFile(/tmp/multipartBody2690162558623675826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524264624,"filename":"image_11052026_20_28_44_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9eaa93164d68192ca6673f5b75395742.jpg","text":"TemporaryFile(/tmp/multipartBody8706851373164774746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524264624,"filename":"image_11052026_20_30_14_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896955","file0":"1416896954"},"map_files_photo_id_array":[{"photo_id":"1416896955","filename":"file1"},{"photo_id":"1416896954","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896955":["hashtag1","hashtag2"]},{"1416896954":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896955, 1416896954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.147364139556885 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:31:04.351485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/30/image_11052026_20_31_14_30290.jpg', '/home/pi/Desktop/images/11052026/20/30/image_11052026_20_30_44_30195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/30/image_11052026_20_31_14_30290.jpg
/home/pi/Desktop/images/11052026/20/30/image_11052026_20_30_44_30195.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416896964","1416896963"],"photo_ids_order":["1416896963","1416896964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5343094af466ac58d3a4736bdd76eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3752238223230049087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524325808,"filename":"image_11052026_20_30_44_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c6e44fca05ee8f54b5a35abf5d0c76a.jpg","text":"TemporaryFile(/tmp/multipartBody5036917556036723456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524325808,"filename":"image_11052026_20_31_14_30290.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416896964","file0":"1416896963"},"map_files_photo_id_array":[{"photo_id":"1416896964","filename":"file1"},{"photo_id":"1416896963","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416896964":["hashtag1","hashtag2"]},{"1416896963":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416896964, 1416896963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.075928211212158 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:32:02.996060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/14/image_08052026_16_15_05_30276.jpg', '/home/pi/Desktop/images/08052026/16/13/image_08052026_16_14_06_30190.jpg', '/home/pi/Desktop/images/08052026/16/12/image_08052026_16_13_05_30310.jpg', '/home/pi/Desktop/images/08052026/16/12/image_08052026_16_12_35_29207.jpg', '/home/pi/Desktop/images/08052026/16/11/image_08052026_16_12_06_30187.jpg', '/home/pi/Desktop/images/08052026/16/11/image_08052026_16_11_36_30249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/14/image_08052026_16_15_05_30276.jpg
/home/pi/Desktop/images/08052026/16/13/image_08052026_16_14_06_30190.jpg
/home/pi/Desktop/images/08052026/16/12/image_08052026_16_13_05_30310.jpg
/home/pi/Desktop/images/08052026/16/12/image_08052026_16_12_35_29207.jpg
/home/pi/Desktop/images/08052026/16/11/image_08052026_16_12_06_30187.jpg
/home/pi/Desktop/images/08052026/16/11/image_08052026_16_11_36_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897010","1416897012","1416897009","1416897011","1416897008","1416897007"],"photo_ids_order":["1416897007","1416897008","1416897009","1416897010","1416897011","1416897012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14ff3f0afa3fd182a8a069b16c65eaeb.jpg","text":"TemporaryFile(/tmp/multipartBody6601923676289765812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_12_35_29207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24c195eba9b7c5b5ef56a566b861e638.jpg","text":"TemporaryFile(/tmp/multipartBody4615942781402953626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_11_36_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a930b558c8de45e1a26885b09137387.jpg","text":"TemporaryFile(/tmp/multipartBody2511127348702337961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_13_05_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8fa7ec0fba9ad6b81bd0b7d6a37bc9ea.jpg","text":"TemporaryFile(/tmp/multipartBody6395918503832075411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_12_06_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37c855ca8e7e0c3866cf111b81aac644.jpg","text":"TemporaryFile(/tmp/multipartBody1531548646340592099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_14_06_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/560960fa111cd870444e8d1c399b38e9.jpg","text":"TemporaryFile(/tmp/multipartBody8151619207479061239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524386219,"filename":"image_08052026_16_15_05_30276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897009","file1":"1416897008","file0":"1416897007","file4":"1416897011","file5":"1416897012","file3":"1416897010"},"map_files_photo_id_array":[{"photo_id":"1416897012","filename":"file5"},{"photo_id":"1416897009","filename":"file2"},{"photo_id":"1416897011","filename":"file4"},{"photo_id":"1416897008","filename":"file1"},{"photo_id":"1416897007","filename":"file0"},{"photo_id":"1416897010","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897010":["hashtag1","hashtag2"]},{"1416897012":["hashtag1","hashtag2"]},{"1416897009":["hashtag1","hashtag2"]},{"1416897011":["hashtag1","hashtag2"]},{"1416897008":["hashtag1","hashtag2"]},{"1416897007":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897010, 1416897012, 1416897009, 1416897011, 1416897008, 1416897007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2918381690979 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:33:04.462199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg', '/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.177201509475708 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:34:03.680776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/32/image_11052026_20_33_14_30216.jpg', '/home/pi/Desktop/images/11052026/20/32/image_11052026_20_32_44_30192.jpg', '/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg', '/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/32/image_11052026_20_33_14_30216.jpg
/home/pi/Desktop/images/11052026/20/32/image_11052026_20_32_44_30192.jpg
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.jpg
2026-05-11 20:34:03.920388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.jpg', '/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg', '/home/pi/Desktop/images/11052026/20/32/image_11052026_20_32_44_30192.jpg', '/home/pi/Desktop/images/11052026/20/32/image_11052026_20_33_14_30216.jpg', '/home/pi/Desktop/images/11052026/20/33/image_11052026_20_33_44_30268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_31_43_29208.jpg
/home/pi/Desktop/images/11052026/20/31/image_11052026_20_32_14_30315.jpg
/home/pi/Desktop/images/11052026/20/32/image_11052026_20_32_44_30192.jpg
/home/pi/Desktop/images/11052026/20/32/image_11052026_20_33_14_30216.jpg
/home/pi/Desktop/images/11052026/20/33/image_11052026_20_33_44_30268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897016","1416897021","1416897018","1416897023"],"photo_ids_order":["1416897016","1416897018","1416897021","1416897023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8541cb14b3f2f06321d17e929ed5a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3861843920173567613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524507319,"filename":"image_11052026_20_33_14_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b0c4a1de6a6a62518a53be9e72ae488.jpg","text":"TemporaryFile(/tmp/multipartBody4309555909242849487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524507319,"filename":"image_11052026_20_32_14_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c099db9f2d61e34a4b08cb960d018e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5756772668154544548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524507319,"filename":"image_11052026_20_32_44_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0779edc8a5697fac63169430a18cf55.jpg","text":"TemporaryFile(/tmp/multipartBody5887105709501303753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524507319,"filename":"image_11052026_20_31_43_29208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897021","file1":"1416897018","file0":"1416897016","file3":"1416897023"},"map_files_photo_id_array":[{"photo_id":"1416897021","filename":"file2"},{"photo_id":"1416897018","filename":"file1"},{"photo_id":"1416897016","filename":"file0"},{"photo_id":"1416897023","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416897016":["hashtag1","hashtag2"]},{"1416897021":["hashtag1","hashtag2"]},{"1416897018":["hashtag1","hashtag2"]},{"1416897023":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416897016, 1416897021, 1416897018, 1416897023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.940295457839966 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897022","1416897024","1416897020","1416897017","1416897019"],"photo_ids_order":["1416897017","1416897019","1416897020","1416897022","1416897024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc50179df43d86aec2c5380a59000174.jpg","text":"TemporaryFile(/tmp/multipartBody8780587349883062157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524508029,"filename":"image_11052026_20_33_14_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f07d9cac0393212ca943d7ce41407ca5.jpg","text":"TemporaryFile(/tmp/multipartBody6353013248725191121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524508029,"filename":"image_11052026_20_33_44_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d77bd20658e343e3577bc4bb4e786e7.jpg","text":"TemporaryFile(/tmp/multipartBody4918377604004078827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524508029,"filename":"image_11052026_20_32_44_30192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/974c5e7388e16f25ab99261c4deed256.jpg","text":"TemporaryFile(/tmp/multipartBody630506050820706943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524508029,"filename":"image_11052026_20_31_43_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3f68b73302985482bfb3f8f42a01ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4377428077096327245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524508029,"filename":"image_11052026_20_32_14_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897020","file1":"1416897019","file0":"1416897017","file4":"1416897024","file3":"1416897022"},"map_files_photo_id_array":[{"photo_id":"1416897020","filename":"file2"},{"photo_id":"1416897024","filename":"file4"},{"photo_id":"1416897019","filename":"file1"},{"photo_id":"1416897017","filename":"file0"},{"photo_id":"1416897022","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416897022":["hashtag1","hashtag2"]},{"1416897024":["hashtag1","hashtag2"]},{"1416897020":["hashtag1","hashtag2"]},{"1416897017":["hashtag1","hashtag2"]},{"1416897019":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416897022, 1416897024, 1416897020, 1416897017, 1416897019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.76451587677002 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:35:04.230055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/10/image_08052026_16_11_05_30297.jpg', '/home/pi/Desktop/images/08052026/16/10/image_08052026_16_10_35_29335.jpg', '/home/pi/Desktop/images/08052026/16/09/image_08052026_16_10_06_30261.jpg', '/home/pi/Desktop/images/08052026/16/09/image_08052026_16_09_35_30270.jpg', '/home/pi/Desktop/images/08052026/16/08/image_08052026_16_08_35_29167.jpg', '/home/pi/Desktop/images/08052026/16/07/image_08052026_16_08_06_30233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/10/image_08052026_16_11_05_30297.jpg
/home/pi/Desktop/images/08052026/16/10/image_08052026_16_10_35_29335.jpg
/home/pi/Desktop/images/08052026/16/09/image_08052026_16_10_06_30261.jpg
/home/pi/Desktop/images/08052026/16/09/image_08052026_16_09_35_30270.jpg
/home/pi/Desktop/images/08052026/16/08/image_08052026_16_08_35_29167.jpg
/home/pi/Desktop/images/08052026/16/07/image_08052026_16_08_06_30233.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897027","1416897032","1416897029","1416897026","1416897031","1416897028"],"photo_ids_order":["1416897026","1416897027","1416897028","1416897029","1416897031","1416897032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3dc58dae7f57307060cc2094cfac58c9.jpg","text":"TemporaryFile(/tmp/multipartBody1196947181068328210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_10_35_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/de00b80fb5f76c79a6b395939779810a.jpg","text":"TemporaryFile(/tmp/multipartBody1998324025758031591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_08_06_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c6a50e3a055f5ac9eab8fc34e1f02a6.jpg","text":"TemporaryFile(/tmp/multipartBody2522835721877660837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_09_35_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2e1de93fcdb0da85ff157c984b456c7.jpg","text":"TemporaryFile(/tmp/multipartBody799219024552190920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_11_05_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5233fd8378ed811a683f661033bc9dec.jpg","text":"TemporaryFile(/tmp/multipartBody6351762154346099371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_08_35_29167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9978b10518cfd0ab4c11938582dcb5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2630092584609607725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524567549,"filename":"image_08052026_16_10_06_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897028","file1":"1416897027","file0":"1416897026","file4":"1416897031","file5":"1416897032","file3":"1416897029"},"map_files_photo_id_array":[{"photo_id":"1416897032","filename":"file5"},{"photo_id":"1416897028","filename":"file2"},{"photo_id":"1416897031","filename":"file4"},{"photo_id":"1416897027","filename":"file1"},{"photo_id":"1416897026","filename":"file0"},{"photo_id":"1416897029","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897027":["hashtag1","hashtag2"]},{"1416897032":["hashtag1","hashtag2"]},{"1416897029":["hashtag1","hashtag2"]},{"1416897026":["hashtag1","hashtag2"]},{"1416897031":["hashtag1","hashtag2"]},{"1416897028":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897027, 1416897032, 1416897029, 1416897026, 1416897031, 1416897028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.324896812438965 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:36:03.121180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/35/image_11052026_20_36_14_29148.jpg', '/home/pi/Desktop/images/11052026/20/34/image_11052026_20_35_14_30388.jpg', '/home/pi/Desktop/images/11052026/20/33/image_11052026_20_34_14_29175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/35/image_11052026_20_36_14_29148.jpg
/home/pi/Desktop/images/11052026/20/34/image_11052026_20_35_14_30388.jpg
/home/pi/Desktop/images/11052026/20/33/image_11052026_20_34_14_29175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897033","1416897035","1416897034"],"photo_ids_order":["1416897033","1416897034","1416897035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7005684962d2f49c405bbc3156ebde0d.jpg","text":"TemporaryFile(/tmp/multipartBody5758995028795301535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524625630,"filename":"image_11052026_20_36_14_29148.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e47c3f4e34a0c8abfa9803c6c3afe941.jpg","text":"TemporaryFile(/tmp/multipartBody9045285836368278127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524625630,"filename":"image_11052026_20_34_14_29175.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04309651d3de7a2f21a4bd19d0c3eeed.jpg","text":"TemporaryFile(/tmp/multipartBody640966735623597170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524625630,"filename":"image_11052026_20_35_14_30388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897035","file1":"1416897034","file0":"1416897033"},"map_files_photo_id_array":[{"photo_id":"1416897035","filename":"file2"},{"photo_id":"1416897034","filename":"file1"},{"photo_id":"1416897033","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416897033":["hashtag1","hashtag2"]},{"1416897035":["hashtag1","hashtag2"]},{"1416897034":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416897033, 1416897035, 1416897034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.624444246292114 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:37:03.753154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/07/image_08052026_16_07_35_30211.jpg', '/home/pi/Desktop/images/08052026/16/06/image_08052026_16_07_05_30304.jpg', '/home/pi/Desktop/images/08052026/16/06/image_08052026_16_06_35_29248.jpg', '/home/pi/Desktop/images/08052026/16/05/image_08052026_16_06_06_30182.jpg', '/home/pi/Desktop/images/08052026/16/05/image_08052026_16_05_36_30223.jpg', '/home/pi/Desktop/images/08052026/16/04/image_08052026_16_05_05_30343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/07/image_08052026_16_07_35_30211.jpg
/home/pi/Desktop/images/08052026/16/06/image_08052026_16_07_05_30304.jpg
/home/pi/Desktop/images/08052026/16/06/image_08052026_16_06_35_29248.jpg
/home/pi/Desktop/images/08052026/16/05/image_08052026_16_06_06_30182.jpg
/home/pi/Desktop/images/08052026/16/05/image_08052026_16_05_36_30223.jpg
/home/pi/Desktop/images/08052026/16/04/image_08052026_16_05_05_30343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897045","1416897092","1416897047","1416897044","1416897043","1416897046"],"photo_ids_order":["1416897043","1416897044","1416897045","1416897046","1416897047","1416897092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e79d8516e6936321c09da23a6ee10853.jpg","text":"TemporaryFile(/tmp/multipartBody3050132877552654770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_06_35_29248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d205f82e6c204f7429c1990e15adcdd.jpg","text":"TemporaryFile(/tmp/multipartBody791871033103725408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_05_05_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf0bd2dab569689bbe5a2e51a5a04e09.jpg","text":"TemporaryFile(/tmp/multipartBody884882644516888376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_05_36_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f4ee27121e8b5363c93d1f6ae7d1c306.jpg","text":"TemporaryFile(/tmp/multipartBody1726840986406493195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_07_05_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/218ecc891fdbb752adc7b4871bc031b1.jpg","text":"TemporaryFile(/tmp/multipartBody3065865535117094222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_07_35_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fa294ef8a795f466a3e0f22a48dce748.jpg","text":"TemporaryFile(/tmp/multipartBody3688840252229466407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524687039,"filename":"image_08052026_16_06_06_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897045","file1":"1416897044","file0":"1416897043","file4":"1416897047","file5":"1416897092","file3":"1416897046"},"map_files_photo_id_array":[{"photo_id":"1416897092","filename":"file5"},{"photo_id":"1416897045","filename":"file2"},{"photo_id":"1416897047","filename":"file4"},{"photo_id":"1416897044","filename":"file1"},{"photo_id":"1416897043","filename":"file0"},{"photo_id":"1416897046","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897045":["hashtag1","hashtag2"]},{"1416897092":["hashtag1","hashtag2"]},{"1416897047":["hashtag1","hashtag2"]},{"1416897044":["hashtag1","hashtag2"]},{"1416897043":["hashtag1","hashtag2"]},{"1416897046":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897045, 1416897092, 1416897047, 1416897044, 1416897043, 1416897046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90120983123779 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:38:03.556518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/36/image_11052026_20_37_14_30151.jpg', '/home/pi/Desktop/images/11052026/20/35/image_11052026_20_35_44_30200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/36/image_11052026_20_37_14_30151.jpg
/home/pi/Desktop/images/11052026/20/35/image_11052026_20_35_44_30200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897609","1416897613"],"photo_ids_order":["1416897609","1416897613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9abdb71c3cf78ef0006d7cd0b3f209ba.jpg","text":"TemporaryFile(/tmp/multipartBody7057104148793033821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524745166,"filename":"image_11052026_20_37_14_30151.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0df3b446bc683c69cbf384e8268bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody5292384640407921864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524745166,"filename":"image_11052026_20_35_44_30200.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416897613","file0":"1416897609"},"map_files_photo_id_array":[{"photo_id":"1416897613","filename":"file1"},{"photo_id":"1416897609","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416897609":["hashtag1","hashtag2"]},{"1416897613":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416897609, 1416897613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.084864854812622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:39:04.336983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/04/image_08052026_02_04_35_30343.jpg', '/home/pi/Desktop/images/08052026/02/05/image_08052026_02_05_35_29214.jpg', '/home/pi/Desktop/images/08052026/02/05/image_08052026_02_06_05_30312.jpg', '/home/pi/Desktop/images/08052026/02/09/image_08052026_02_09_35_30365.jpg', '/home/pi/Desktop/images/08052026/02/10/image_08052026_02_11_05_30181.jpg', '/home/pi/Desktop/images/08052026/02/20/image_08052026_02_21_05_30439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/04/image_08052026_02_04_35_30343.jpg
/home/pi/Desktop/images/08052026/02/05/image_08052026_02_05_35_29214.jpg
/home/pi/Desktop/images/08052026/02/05/image_08052026_02_06_05_30312.jpg
/home/pi/Desktop/images/08052026/02/09/image_08052026_02_09_35_30365.jpg
/home/pi/Desktop/images/08052026/02/10/image_08052026_02_11_05_30181.jpg
/home/pi/Desktop/images/08052026/02/20/image_08052026_02_21_05_30439.jpg
2026-05-11 20:39:04.427049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/04/image_08052026_16_04_35_29318.jpg', '/home/pi/Desktop/images/08052026/16/03/image_08052026_16_03_35_30207.jpg', '/home/pi/Desktop/images/08052026/16/02/image_08052026_16_02_35_29157.jpg', '/home/pi/Desktop/images/08052026/16/00/image_08052026_16_01_05_30189.jpg', '/home/pi/Desktop/images/08052026/16/00/image_08052026_16_00_35_30247.jpg', '/home/pi/Desktop/images/08052026/15/59/image_08052026_16_00_05_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/04/image_08052026_16_04_35_29318.jpg
/home/pi/Desktop/images/08052026/16/03/image_08052026_16_03_35_30207.jpg
/home/pi/Desktop/images/08052026/16/02/image_08052026_16_02_35_29157.jpg
/home/pi/Desktop/images/08052026/16/00/image_08052026_16_01_05_30189.jpg
/home/pi/Desktop/images/08052026/16/00/image_08052026_16_00_35_30247.jpg
/home/pi/Desktop/images/08052026/15/59/image_08052026_16_00_05_30161.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.877389907836914 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897618","1416897615","1416897620","1416897625","1416897622","1416897616"],"photo_ids_order":["1416897615","1416897616","1416897618","1416897620","1416897622","1416897625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/625553748044ef6b68bb1b81bc666b56.jpg","text":"TemporaryFile(/tmp/multipartBody8880415614718986286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_06_05_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/435569bf39e1a7e80d5de82f1acf438a.jpg","text":"TemporaryFile(/tmp/multipartBody6829084469278288951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_04_35_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb1391ce44a1e25d9a571127641720ae.jpg","text":"TemporaryFile(/tmp/multipartBody549822357538859590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_09_35_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c87c111e499ba014a193f3cddb18bfb1.jpg","text":"TemporaryFile(/tmp/multipartBody2968810239420801711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_21_05_30439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2051645024ffdb0b95702f9076371f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2961202789760805208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_11_05_30181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e115c71beb6352cf8d60b85cc9965cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7671463663514814161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524809683,"filename":"image_08052026_02_05_35_29214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897618","file1":"1416897616","file0":"1416897615","file4":"1416897622","file5":"1416897625","file3":"1416897620"},"map_files_photo_id_array":[{"photo_id":"1416897625","filename":"file5"},{"photo_id":"1416897618","filename":"file2"},{"photo_id":"1416897622","filename":"file4"},{"photo_id":"1416897616","filename":"file1"},{"photo_id":"1416897615","filename":"file0"},{"photo_id":"1416897620","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897618":["hashtag1","hashtag2"]},{"1416897615":["hashtag1","hashtag2"]},{"1416897620":["hashtag1","hashtag2"]},{"1416897625":["hashtag1","hashtag2"]},{"1416897622":["hashtag1","hashtag2"]},{"1416897616":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897618, 1416897615, 1416897620, 1416897625, 1416897622, 1416897616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63555407524109 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:40:03.256709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/38/image_11052026_20_39_14_30256.jpg', '/home/pi/Desktop/images/11052026/20/37/image_11052026_20_37_44_30321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/38/image_11052026_20_39_14_30256.jpg
/home/pi/Desktop/images/11052026/20/37/image_11052026_20_37_44_30321.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897627","1416897628"],"photo_ids_order":["1416897627","1416897628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00f2fe70468a852e7ed915e3be4ec86b.jpg","text":"TemporaryFile(/tmp/multipartBody1641873646910120442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524864861,"filename":"image_11052026_20_39_14_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97ff834039af8f120feb3c92f5d347cf.jpg","text":"TemporaryFile(/tmp/multipartBody7006772257443130405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524864861,"filename":"image_11052026_20_37_44_30321.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416897628","file0":"1416897627"},"map_files_photo_id_array":[{"photo_id":"1416897628","filename":"file1"},{"photo_id":"1416897627","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416897627":["hashtag1","hashtag2"]},{"1416897628":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416897627, 1416897628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.92764949798584 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:41:03.656671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/16/04/image_08052026_16_04_35_29318.jpg', '/home/pi/Desktop/images/08052026/16/03/image_08052026_16_03_35_30207.jpg', '/home/pi/Desktop/images/08052026/16/02/image_08052026_16_02_35_29157.jpg', '/home/pi/Desktop/images/08052026/16/00/image_08052026_16_01_05_30189.jpg', '/home/pi/Desktop/images/08052026/16/00/image_08052026_16_00_35_30247.jpg', '/home/pi/Desktop/images/08052026/15/59/image_08052026_16_00_05_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/16/04/image_08052026_16_04_35_29318.jpg
/home/pi/Desktop/images/08052026/16/03/image_08052026_16_03_35_30207.jpg
/home/pi/Desktop/images/08052026/16/02/image_08052026_16_02_35_29157.jpg
/home/pi/Desktop/images/08052026/16/00/image_08052026_16_01_05_30189.jpg
/home/pi/Desktop/images/08052026/16/00/image_08052026_16_00_35_30247.jpg
/home/pi/Desktop/images/08052026/15/59/image_08052026_16_00_05_30161.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897630","1416897633","1416897635","1416897632","1416897631","1416897634"],"photo_ids_order":["1416897630","1416897631","1416897632","1416897633","1416897634","1416897635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a85872120e6b6d179974f9cb82c807b2.jpg","text":"TemporaryFile(/tmp/multipartBody413671622213771090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_04_35_29318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62cd892d9089f134c40982fa23f08aea.jpg","text":"TemporaryFile(/tmp/multipartBody980534256430965202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_01_05_30189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f59d4fe1342757e8df6fa24fe5ad8692.jpg","text":"TemporaryFile(/tmp/multipartBody1262987849225426490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_00_05_30161.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0274eee454ab0e8a68773126a5455fd.jpg","text":"TemporaryFile(/tmp/multipartBody6345473209815822130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_02_35_29157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/425b531c9c5ae02d0fd9318e188d9431.jpg","text":"TemporaryFile(/tmp/multipartBody1987085595635512485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_03_35_30207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/448ba8e8767117832158a058592239f7.jpg","text":"TemporaryFile(/tmp/multipartBody2433839807690560584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524926747,"filename":"image_08052026_16_00_35_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897632","file1":"1416897631","file0":"1416897630","file4":"1416897634","file5":"1416897635","file3":"1416897633"},"map_files_photo_id_array":[{"photo_id":"1416897635","filename":"file5"},{"photo_id":"1416897632","filename":"file2"},{"photo_id":"1416897634","filename":"file4"},{"photo_id":"1416897631","filename":"file1"},{"photo_id":"1416897630","filename":"file0"},{"photo_id":"1416897633","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897630":["hashtag1","hashtag2"]},{"1416897633":["hashtag1","hashtag2"]},{"1416897635":["hashtag1","hashtag2"]},{"1416897632":["hashtag1","hashtag2"]},{"1416897631":["hashtag1","hashtag2"]},{"1416897634":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897630, 1416897633, 1416897635, 1416897632, 1416897631, 1416897634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81029915809631 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:42:03.474038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/59/image_08052026_15_59_35_29144.jpg', '/home/pi/Desktop/images/08052026/15/58/image_08052026_15_58_35_30253.jpg', '/home/pi/Desktop/images/08052026/15/57/image_08052026_15_58_05_30251.jpg', '/home/pi/Desktop/images/08052026/15/57/image_08052026_15_57_35_29195.jpg', '/home/pi/Desktop/images/08052026/15/56/image_08052026_15_56_36_30288.jpg', '/home/pi/Desktop/images/08052026/15/55/image_08052026_15_56_05_30256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/59/image_08052026_15_59_35_29144.jpg
/home/pi/Desktop/images/08052026/15/58/image_08052026_15_58_35_30253.jpg
/home/pi/Desktop/images/08052026/15/57/image_08052026_15_58_05_30251.jpg
/home/pi/Desktop/images/08052026/15/57/image_08052026_15_57_35_29195.jpg
/home/pi/Desktop/images/08052026/15/56/image_08052026_15_56_36_30288.jpg
/home/pi/Desktop/images/08052026/15/55/image_08052026_15_56_05_30256.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897642","1416897639","1416897641","1416897638","1416897640","1416897637"],"photo_ids_order":["1416897637","1416897638","1416897639","1416897640","1416897641","1416897642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/048c2351a070c509cbe31a8bbe79c071.jpg","text":"TemporaryFile(/tmp/multipartBody8994557165339710972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_56_05_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/727063f3f62dec10c9a3322e422b4841.jpg","text":"TemporaryFile(/tmp/multipartBody5927343356163933873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_58_05_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09407d1c8428a015f2b8ca5cf502eb77.jpg","text":"TemporaryFile(/tmp/multipartBody7354663779005203337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_56_36_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5ca6d416a0bf76c71521f87c5c2f848.jpg","text":"TemporaryFile(/tmp/multipartBody5977720893739959895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_58_35_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0fa03b425f423233ada1cabd56441d0.jpg","text":"TemporaryFile(/tmp/multipartBody1458860687537741114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_57_35_29195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/447df91273e2aaaa4564c63eed684de4.jpg","text":"TemporaryFile(/tmp/multipartBody473288703196643154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778524986343,"filename":"image_08052026_15_59_35_29144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416897639","file1":"1416897638","file0":"1416897637","file4":"1416897641","file5":"1416897642","file3":"1416897640"},"map_files_photo_id_array":[{"photo_id":"1416897642","filename":"file5"},{"photo_id":"1416897639","filename":"file2"},{"photo_id":"1416897641","filename":"file4"},{"photo_id":"1416897638","filename":"file1"},{"photo_id":"1416897637","filename":"file0"},{"photo_id":"1416897640","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416897642":["hashtag1","hashtag2"]},{"1416897639":["hashtag1","hashtag2"]},{"1416897641":["hashtag1","hashtag2"]},{"1416897638":["hashtag1","hashtag2"]},{"1416897640":["hashtag1","hashtag2"]},{"1416897637":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416897642, 1416897639, 1416897641, 1416897638, 1416897640, 1416897637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70486831665039 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:43:03.905068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/40/image_11052026_20_40_44_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/40/image_11052026_20_40_44_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416897647"],"photo_id":"1416897647","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3cfba901b5e29ac3021298e1c3c1cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4100508453643171102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525045138,"filename":"image_11052026_20_40_44_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416897647"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416897647"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.830461740493774 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:44:03.764920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/55/image_08052026_15_55_35_30194.jpg', '/home/pi/Desktop/images/08052026/15/54/image_08052026_15_55_05_29214.jpg', '/home/pi/Desktop/images/08052026/15/54/image_08052026_15_54_36_30285.jpg', '/home/pi/Desktop/images/08052026/15/53/image_08052026_15_53_35_29249.jpg', '/home/pi/Desktop/images/08052026/15/52/image_08052026_15_53_06_30131.jpg', '/home/pi/Desktop/images/08052026/15/52/image_08052026_15_52_36_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/55/image_08052026_15_55_35_30194.jpg
/home/pi/Desktop/images/08052026/15/54/image_08052026_15_55_05_29214.jpg
/home/pi/Desktop/images/08052026/15/54/image_08052026_15_54_36_30285.jpg
/home/pi/Desktop/images/08052026/15/53/image_08052026_15_53_35_29249.jpg
/home/pi/Desktop/images/08052026/15/52/image_08052026_15_53_06_30131.jpg
/home/pi/Desktop/images/08052026/15/52/image_08052026_15_52_36_30190.jpg
2026-05-11 20:44:03.808938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/21/image_08052026_02_21_36_30434.jpg', '/home/pi/Desktop/images/08052026/02/21/image_08052026_02_22_05_29145.jpg', '/home/pi/Desktop/images/08052026/02/22/image_08052026_02_22_35_30244.jpg', '/home/pi/Desktop/images/08052026/02/22/image_08052026_02_23_05_30212.jpg', '/home/pi/Desktop/images/08052026/02/24/image_08052026_02_25_06_30313.jpg', '/home/pi/Desktop/images/08052026/02/25/image_08052026_02_25_36_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/21/image_08052026_02_21_36_30434.jpg
/home/pi/Desktop/images/08052026/02/21/image_08052026_02_22_05_29145.jpg
/home/pi/Desktop/images/08052026/02/22/image_08052026_02_22_35_30244.jpg
/home/pi/Desktop/images/08052026/02/22/image_08052026_02_23_05_30212.jpg
/home/pi/Desktop/images/08052026/02/24/image_08052026_02_25_06_30313.jpg
/home/pi/Desktop/images/08052026/02/25/image_08052026_02_25_36_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898469","1416898474","1416898462","1416898471","1416898465","1416898467"],"photo_ids_order":["1416898462","1416898465","1416898467","1416898469","1416898471","1416898474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8531ceeeaad6bf12ad5e2459bd9025c2.jpg","text":"TemporaryFile(/tmp/multipartBody1150703480333798935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_53_35_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fd01c8309b176b1d16bc4016e9d47c13.jpg","text":"TemporaryFile(/tmp/multipartBody4595950044321488994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_52_36_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/315979ced63cb0cd3cc59aa7905d2ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5765858829000027505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_55_35_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3bc4d205dfbd262d32b3edf96d38d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody2638074364525062005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_53_06_30131.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c1ff3fbeaf1bc319df31b1dccc9c590.jpg","text":"TemporaryFile(/tmp/multipartBody2816257476638280814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_55_05_29214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/293e5852f5d8abe35757672196acc937.jpg","text":"TemporaryFile(/tmp/multipartBody5195995742301959525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525109465,"filename":"image_08052026_15_54_36_30285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898467","file1":"1416898465","file0":"1416898462","file4":"1416898471","file5":"1416898474","file3":"1416898469"},"map_files_photo_id_array":[{"photo_id":"1416898474","filename":"file5"},{"photo_id":"1416898467","filename":"file2"},{"photo_id":"1416898471","filename":"file4"},{"photo_id":"1416898465","filename":"file1"},{"photo_id":"1416898462","filename":"file0"},{"photo_id":"1416898469","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898469":["hashtag1","hashtag2"]},{"1416898474":["hashtag1","hashtag2"]},{"1416898462":["hashtag1","hashtag2"]},{"1416898471":["hashtag1","hashtag2"]},{"1416898465":["hashtag1","hashtag2"]},{"1416898467":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898469, 1416898474, 1416898462, 1416898471, 1416898465, 1416898467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.61449861526489 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898470","1416898463","1416898472","1416898466","1416898475","1416898468"],"photo_ids_order":["1416898463","1416898466","1416898468","1416898470","1416898472","1416898475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1be508f1360b1e0b5dd8e0e6a82ef813.jpg","text":"TemporaryFile(/tmp/multipartBody6458879334557618682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_23_05_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a01eb4b02ad3537d598d47b9b2ebb72.jpg","text":"TemporaryFile(/tmp/multipartBody7549173081067497314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_21_36_30434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e5af06d9c15715214c0ab8fa0ff4642.jpg","text":"TemporaryFile(/tmp/multipartBody3809818657846884744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_25_06_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4b3e632bd87d412b9c99aaac5d682d9.jpg","text":"TemporaryFile(/tmp/multipartBody4894885628199688715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_22_05_29145.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b6a11e66c7148929c5f1f388d5f6cfa.jpg","text":"TemporaryFile(/tmp/multipartBody7170843283403723259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_25_36_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17f3c1319fd5609cc40a247ff7c3f773.jpg","text":"TemporaryFile(/tmp/multipartBody1879894703210048032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525110168,"filename":"image_08052026_02_22_35_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898468","file1":"1416898466","file0":"1416898463","file4":"1416898472","file5":"1416898475","file3":"1416898470"},"map_files_photo_id_array":[{"photo_id":"1416898475","filename":"file5"},{"photo_id":"1416898468","filename":"file2"},{"photo_id":"1416898472","filename":"file4"},{"photo_id":"1416898466","filename":"file1"},{"photo_id":"1416898463","filename":"file0"},{"photo_id":"1416898470","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898470":["hashtag1","hashtag2"]},{"1416898463":["hashtag1","hashtag2"]},{"1416898472":["hashtag1","hashtag2"]},{"1416898466":["hashtag1","hashtag2"]},{"1416898475":["hashtag1","hashtag2"]},{"1416898468":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898470, 1416898463, 1416898472, 1416898466, 1416898475, 1416898468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.098928451538086 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:45:04.275045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/51/image_08052026_15_52_05_30253.jpg', '/home/pi/Desktop/images/08052026/15/51/image_08052026_15_51_35_30217.jpg', '/home/pi/Desktop/images/08052026/15/50/image_08052026_15_51_05_29159.jpg', '/home/pi/Desktop/images/08052026/15/49/image_08052026_15_50_06_30255.jpg', '/home/pi/Desktop/images/08052026/15/48/image_08052026_15_48_35_29093.jpg', '/home/pi/Desktop/images/08052026/15/47/image_08052026_15_48_06_30331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/51/image_08052026_15_52_05_30253.jpg
/home/pi/Desktop/images/08052026/15/51/image_08052026_15_51_35_30217.jpg
/home/pi/Desktop/images/08052026/15/50/image_08052026_15_51_05_29159.jpg
/home/pi/Desktop/images/08052026/15/49/image_08052026_15_50_06_30255.jpg
/home/pi/Desktop/images/08052026/15/48/image_08052026_15_48_35_29093.jpg
/home/pi/Desktop/images/08052026/15/47/image_08052026_15_48_06_30331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898479","1416898481","1416898478","1416898480","1416898477","1416898482"],"photo_ids_order":["1416898477","1416898478","1416898479","1416898480","1416898481","1416898482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c1397555f0cfd005684e186e54879ec.jpg","text":"TemporaryFile(/tmp/multipartBody6242701835756668811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_51_05_29159.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/564e056f52e21353aefa32847e6723fc.jpg","text":"TemporaryFile(/tmp/multipartBody2876005372550491778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_48_35_29093.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a4035d35558cac4905857391a01151d9.jpg","text":"TemporaryFile(/tmp/multipartBody2430726261646818068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_51_35_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/593bb3f451c47c79c897dec8451c8295.jpg","text":"TemporaryFile(/tmp/multipartBody3665865429783099823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_50_06_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1359d67d4f59ab9fa18a8e4fe575b6d1.jpg","text":"TemporaryFile(/tmp/multipartBody5008236504453237980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_52_05_30253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06a0e0939fc8dc746274b5500bf61f67.jpg","text":"TemporaryFile(/tmp/multipartBody4304765065104210194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525167197,"filename":"image_08052026_15_48_06_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898479","file1":"1416898478","file0":"1416898477","file4":"1416898481","file5":"1416898482","file3":"1416898480"},"map_files_photo_id_array":[{"photo_id":"1416898482","filename":"file5"},{"photo_id":"1416898479","filename":"file2"},{"photo_id":"1416898481","filename":"file4"},{"photo_id":"1416898478","filename":"file1"},{"photo_id":"1416898477","filename":"file0"},{"photo_id":"1416898480","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898479":["hashtag1","hashtag2"]},{"1416898481":["hashtag1","hashtag2"]},{"1416898478":["hashtag1","hashtag2"]},{"1416898480":["hashtag1","hashtag2"]},{"1416898477":["hashtag1","hashtag2"]},{"1416898482":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898479, 1416898481, 1416898478, 1416898480, 1416898477, 1416898482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2134850025177 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:46:03.906005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/45/image_08052026_15_46_06_30269.jpg', '/home/pi/Desktop/images/08052026/15/45/image_08052026_15_45_35_30176.jpg', '/home/pi/Desktop/images/08052026/15/44/image_08052026_15_44_35_29292.jpg', '/home/pi/Desktop/images/08052026/15/43/image_08052026_15_44_06_30303.jpg', '/home/pi/Desktop/images/08052026/15/43/image_08052026_15_43_35_30222.jpg', '/home/pi/Desktop/images/08052026/15/41/image_08052026_15_42_06_30206.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/45/image_08052026_15_46_06_30269.jpg
/home/pi/Desktop/images/08052026/15/45/image_08052026_15_45_35_30176.jpg
/home/pi/Desktop/images/08052026/15/44/image_08052026_15_44_35_29292.jpg
/home/pi/Desktop/images/08052026/15/43/image_08052026_15_44_06_30303.jpg
/home/pi/Desktop/images/08052026/15/43/image_08052026_15_43_35_30222.jpg
/home/pi/Desktop/images/08052026/15/41/image_08052026_15_42_06_30206.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898484","1416898487","1416898489","1416898486","1416898485","1416898488"],"photo_ids_order":["1416898484","1416898485","1416898486","1416898487","1416898488","1416898489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bdfa85e470f9d6d2dec03b70ea67248e.jpg","text":"TemporaryFile(/tmp/multipartBody1397197627384954491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_46_06_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1359c3ae3d49b33b47510827731d94f7.jpg","text":"TemporaryFile(/tmp/multipartBody1812454266128565867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_44_06_30303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/225fc8ca05b616c97a3e5a0f748fde4e.jpg","text":"TemporaryFile(/tmp/multipartBody749928057856146358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_42_06_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7138bd348e57b1ab9d68634d1cf2e1bd.jpg","text":"TemporaryFile(/tmp/multipartBody7688085481914019883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_44_35_29292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b8f2413c11f1d550d4ad93f588636d9.jpg","text":"TemporaryFile(/tmp/multipartBody9127698496993857984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_45_35_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/805da55b328af776c3b3ba0584e65740.jpg","text":"TemporaryFile(/tmp/multipartBody361101856587981362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525226566,"filename":"image_08052026_15_43_35_30222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898486","file1":"1416898485","file0":"1416898484","file4":"1416898488","file5":"1416898489","file3":"1416898487"},"map_files_photo_id_array":[{"photo_id":"1416898489","filename":"file5"},{"photo_id":"1416898486","filename":"file2"},{"photo_id":"1416898488","filename":"file4"},{"photo_id":"1416898485","filename":"file1"},{"photo_id":"1416898484","filename":"file0"},{"photo_id":"1416898487","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898484":["hashtag1","hashtag2"]},{"1416898487":["hashtag1","hashtag2"]},{"1416898489":["hashtag1","hashtag2"]},{"1416898486":["hashtag1","hashtag2"]},{"1416898485":["hashtag1","hashtag2"]},{"1416898488":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898484, 1416898487, 1416898489, 1416898486, 1416898485, 1416898488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83841562271118 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:47:04.071530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/41/image_08052026_15_41_36_30162.jpg', '/home/pi/Desktop/images/08052026/15/40/image_08052026_15_41_05_30382.jpg', '/home/pi/Desktop/images/08052026/15/38/image_08052026_15_38_36_30235.jpg', '/home/pi/Desktop/images/08052026/15/37/image_08052026_15_38_06_30248.jpg', '/home/pi/Desktop/images/08052026/15/36/image_08052026_15_37_05_30233.jpg', '/home/pi/Desktop/images/08052026/15/34/image_08052026_15_35_05_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/41/image_08052026_15_41_36_30162.jpg
/home/pi/Desktop/images/08052026/15/40/image_08052026_15_41_05_30382.jpg
/home/pi/Desktop/images/08052026/15/38/image_08052026_15_38_36_30235.jpg
/home/pi/Desktop/images/08052026/15/37/image_08052026_15_38_06_30248.jpg
/home/pi/Desktop/images/08052026/15/36/image_08052026_15_37_05_30233.jpg
/home/pi/Desktop/images/08052026/15/34/image_08052026_15_35_05_30259.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898496","1416898493","1416898492","1416898495","1416898491","1416898494"],"photo_ids_order":["1416898491","1416898492","1416898493","1416898494","1416898495","1416898496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84b232f560c34be820a6b2390b9190c4.jpg","text":"TemporaryFile(/tmp/multipartBody9029277229898992997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_35_05_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4aac984fa9e739af146df93bbff63b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7763225755143827659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_38_36_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85fa7535d3cb8ce8a075a20328e80e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3780650699936293208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_41_05_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1be57cf28367203633e90d136af81ceb.jpg","text":"TemporaryFile(/tmp/multipartBody957940183290640722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_37_05_30233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5fca760b313e791755bdc98a81ea301.jpg","text":"TemporaryFile(/tmp/multipartBody3147135801838935532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_41_36_30162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb5059c5ed513b3ef195e7c1493faa24.jpg","text":"TemporaryFile(/tmp/multipartBody7853203922209263987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525287764,"filename":"image_08052026_15_38_06_30248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898493","file1":"1416898492","file0":"1416898491","file4":"1416898495","file5":"1416898496","file3":"1416898494"},"map_files_photo_id_array":[{"photo_id":"1416898496","filename":"file5"},{"photo_id":"1416898493","filename":"file2"},{"photo_id":"1416898495","filename":"file4"},{"photo_id":"1416898492","filename":"file1"},{"photo_id":"1416898491","filename":"file0"},{"photo_id":"1416898494","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898496":["hashtag1","hashtag2"]},{"1416898493":["hashtag1","hashtag2"]},{"1416898492":["hashtag1","hashtag2"]},{"1416898495":["hashtag1","hashtag2"]},{"1416898491":["hashtag1","hashtag2"]},{"1416898494":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898496, 1416898493, 1416898492, 1416898495, 1416898491, 1416898494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35389018058777 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:48:03.822579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/47/image_11052026_20_48_14_30209.jpg', '/home/pi/Desktop/images/11052026/20/47/image_11052026_20_47_44_30160.jpg', '/home/pi/Desktop/images/11052026/20/46/image_11052026_20_47_13_29308.jpg', '/home/pi/Desktop/images/11052026/20/41/image_11052026_20_42_14_29194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/47/image_11052026_20_48_14_30209.jpg
/home/pi/Desktop/images/11052026/20/47/image_11052026_20_47_44_30160.jpg
/home/pi/Desktop/images/11052026/20/46/image_11052026_20_47_13_29308.jpg
/home/pi/Desktop/images/11052026/20/41/image_11052026_20_42_14_29194.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898500","1416898499","1416898498","1416898501"],"photo_ids_order":["1416898498","1416898499","1416898500","1416898501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bdf40114a74044fbe61effdc8cc0444.jpg","text":"TemporaryFile(/tmp/multipartBody3176819316601266853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525345775,"filename":"image_11052026_20_47_13_29308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70f006c7d54ea3ada265a7436d949334.jpg","text":"TemporaryFile(/tmp/multipartBody528033107361666934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525345775,"filename":"image_11052026_20_47_44_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b30c04211d9ca61d54ec038e0747bc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3658600219755584587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525345775,"filename":"image_11052026_20_48_14_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1ecfcbd722fd3fa3d04b424312dbc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6253133119105084808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525345775,"filename":"image_11052026_20_42_14_29194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898500","file1":"1416898499","file0":"1416898498","file3":"1416898501"},"map_files_photo_id_array":[{"photo_id":"1416898500","filename":"file2"},{"photo_id":"1416898499","filename":"file1"},{"photo_id":"1416898498","filename":"file0"},{"photo_id":"1416898501","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898500":["hashtag1","hashtag2"]},{"1416898499":["hashtag1","hashtag2"]},{"1416898498":["hashtag1","hashtag2"]},{"1416898501":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898500, 1416898499, 1416898498, 1416898501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.83311152458191 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:49:04.325237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/34/image_08052026_15_34_35_29191.jpg', '/home/pi/Desktop/images/08052026/15/33/image_08052026_15_34_06_30220.jpg', '/home/pi/Desktop/images/08052026/15/33/image_08052026_15_33_35_30292.jpg', '/home/pi/Desktop/images/08052026/15/31/image_08052026_15_32_06_30322.jpg', '/home/pi/Desktop/images/08052026/15/30/image_08052026_15_31_05_30173.jpg', '/home/pi/Desktop/images/08052026/15/30/image_08052026_15_30_35_29157.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/34/image_08052026_15_34_35_29191.jpg
/home/pi/Desktop/images/08052026/15/33/image_08052026_15_34_06_30220.jpg
/home/pi/Desktop/images/08052026/15/33/image_08052026_15_33_35_30292.jpg
/home/pi/Desktop/images/08052026/15/31/image_08052026_15_32_06_30322.jpg
/home/pi/Desktop/images/08052026/15/30/image_08052026_15_31_05_30173.jpg
/home/pi/Desktop/images/08052026/15/30/image_08052026_15_30_35_29157.jpg
2026-05-11 20:49:04.707019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/48/image_11052026_20_48_44_30220.jpg', '/home/pi/Desktop/images/11052026/20/48/image_11052026_20_49_14_30197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/48/image_11052026_20_48_44_30220.jpg
/home/pi/Desktop/images/11052026/20/48/image_11052026_20_49_14_30197.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.390469551086426 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898503","1416898502"],"photo_ids_order":["1416898502","1416898503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2d3e8a2cf6c2b9c5b362b1d8872acb2e.jpg","text":"TemporaryFile(/tmp/multipartBody896987701095450774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525407437,"filename":"image_11052026_20_49_14_30197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb67a75db7e89b731748d47a8e99b739.jpg","text":"TemporaryFile(/tmp/multipartBody3615167072639707065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525407437,"filename":"image_11052026_20_48_44_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416898503","file0":"1416898502"},"map_files_photo_id_array":[{"photo_id":"1416898503","filename":"file1"},{"photo_id":"1416898502","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898503":["hashtag1","hashtag2"]},{"1416898502":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898503, 1416898502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.982500791549683 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:50:03.392174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/34/image_08052026_15_34_35_29191.jpg', '/home/pi/Desktop/images/08052026/15/33/image_08052026_15_34_06_30220.jpg', '/home/pi/Desktop/images/08052026/15/33/image_08052026_15_33_35_30292.jpg', '/home/pi/Desktop/images/08052026/15/31/image_08052026_15_32_06_30322.jpg', '/home/pi/Desktop/images/08052026/15/30/image_08052026_15_31_05_30173.jpg', '/home/pi/Desktop/images/08052026/15/30/image_08052026_15_30_35_29157.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/34/image_08052026_15_34_35_29191.jpg
/home/pi/Desktop/images/08052026/15/33/image_08052026_15_34_06_30220.jpg
/home/pi/Desktop/images/08052026/15/33/image_08052026_15_33_35_30292.jpg
/home/pi/Desktop/images/08052026/15/31/image_08052026_15_32_06_30322.jpg
/home/pi/Desktop/images/08052026/15/30/image_08052026_15_31_05_30173.jpg
/home/pi/Desktop/images/08052026/15/30/image_08052026_15_30_35_29157.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898515","1416898517","1416898594","1416898578","1416898516","1416898593"],"photo_ids_order":["1416898515","1416898516","1416898517","1416898578","1416898593","1416898594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b23a164f26208bdc375fa0b1d59f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody55257369782117837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_34_35_29191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd64c4f7e06ccd878506a8ac1a1237d3.jpg","text":"TemporaryFile(/tmp/multipartBody1810399491107454758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_33_35_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5a5bbb39e2c16f9c302b568279cbbf20.jpg","text":"TemporaryFile(/tmp/multipartBody5025888900089196387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_30_35_29157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ba2f2ba03034775ff034b1fbd3eb544.jpg","text":"TemporaryFile(/tmp/multipartBody2047202900980492892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_32_06_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c09f97cc0f0ca1f377a48164154080e.jpg","text":"TemporaryFile(/tmp/multipartBody1469161959100486247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_34_06_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d3031e76cf64471b81614982aee0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2119245547717364765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525466395,"filename":"image_08052026_15_31_05_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898517","file1":"1416898516","file0":"1416898515","file4":"1416898593","file5":"1416898594","file3":"1416898578"},"map_files_photo_id_array":[{"photo_id":"1416898594","filename":"file5"},{"photo_id":"1416898517","filename":"file2"},{"photo_id":"1416898593","filename":"file4"},{"photo_id":"1416898516","filename":"file1"},{"photo_id":"1416898515","filename":"file0"},{"photo_id":"1416898578","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416898515":["hashtag1","hashtag2"]},{"1416898517":["hashtag1","hashtag2"]},{"1416898594":["hashtag1","hashtag2"]},{"1416898578":["hashtag1","hashtag2"]},{"1416898516":["hashtag1","hashtag2"]},{"1416898593":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416898515, 1416898517, 1416898594, 1416898578, 1416898516, 1416898593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9268434047699 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:51:03.805899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/49/image_11052026_20_50_13_29194.jpg', '/home/pi/Desktop/images/11052026/20/49/image_11052026_20_49_44_30127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/49/image_11052026_20_50_13_29194.jpg
/home/pi/Desktop/images/11052026/20/49/image_11052026_20_49_44_30127.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.253788709640503 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:52:03.695845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/51/image_11052026_20_51_44_30249.jpg', '/home/pi/Desktop/images/11052026/20/50/image_11052026_20_50_44_30105.jpg', '/home/pi/Desktop/images/11052026/20/49/image_11052026_20_50_13_29194.jpg', '/home/pi/Desktop/images/11052026/20/49/image_11052026_20_49_44_30127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/51/image_11052026_20_51_44_30249.jpg
/home/pi/Desktop/images/11052026/20/50/image_11052026_20_50_44_30105.jpg
/home/pi/Desktop/images/11052026/20/49/image_11052026_20_50_13_29194.jpg
/home/pi/Desktop/images/11052026/20/49/image_11052026_20_49_44_30127.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898598","1416898597","1416898596","1416898599"],"photo_ids_order":["1416898596","1416898597","1416898598","1416898599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f58f75908571ecf48fe7d4126017ee2b.jpg","text":"TemporaryFile(/tmp/multipartBody5058265163792413077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525585792,"filename":"image_11052026_20_50_13_29194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57c936c836634531e2d59da55b9ec137.jpg","text":"TemporaryFile(/tmp/multipartBody6800304260790865864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525585792,"filename":"image_11052026_20_50_44_30105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3803787c2079ec09ab317e418fa8220.jpg","text":"TemporaryFile(/tmp/multipartBody6641878991353317000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525585792,"filename":"image_11052026_20_51_44_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2359f604f70874f5d07774ddc1de81c.jpg","text":"TemporaryFile(/tmp/multipartBody8310235443809538701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525585792,"filename":"image_11052026_20_49_44_30127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416898598","file1":"1416898597","file0":"1416898596","file3":"1416898599"},"map_files_photo_id_array":[{"photo_id":"1416898598","filename":"file2"},{"photo_id":"1416898597","filename":"file1"},{"photo_id":"1416898596","filename":"file0"},{"photo_id":"1416898599","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898598":["hashtag1","hashtag2"]},{"1416898597":["hashtag1","hashtag2"]},{"1416898596":["hashtag1","hashtag2"]},{"1416898599":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898598, 1416898597, 1416898596, 1416898599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.065526247024536 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:53:04.131587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/52/image_11052026_20_53_14_30270.jpg', '/home/pi/Desktop/images/11052026/20/52/image_11052026_20_52_43_29165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/52/image_11052026_20_53_14_30270.jpg
/home/pi/Desktop/images/11052026/20/52/image_11052026_20_52_43_29165.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898601","1416898600"],"photo_ids_order":["1416898600","1416898601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3087223f0b2940877625ec0d797ca558.jpg","text":"TemporaryFile(/tmp/multipartBody5115729844222939939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525645567,"filename":"image_11052026_20_52_43_29165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1782f81660901b470570e602b518e34.jpg","text":"TemporaryFile(/tmp/multipartBody8065546482037893284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525645567,"filename":"image_11052026_20_53_14_30270.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416898601","file0":"1416898600"},"map_files_photo_id_array":[{"photo_id":"1416898601","filename":"file1"},{"photo_id":"1416898600","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898601":["hashtag1","hashtag2"]},{"1416898600":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898601, 1416898600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.948512077331543 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:54:04.171956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/53/image_11052026_20_53_44_30185.jpg', '/home/pi/Desktop/images/11052026/20/53/image_11052026_20_54_14_30169.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/53/image_11052026_20_53_44_30185.jpg
/home/pi/Desktop/images/11052026/20/53/image_11052026_20_54_14_30169.jpg
2026-05-11 20:54:04.166099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/53/image_11052026_20_54_14_30169.jpg', '/home/pi/Desktop/images/11052026/20/53/image_11052026_20_53_44_30185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/53/image_11052026_20_54_14_30169.jpg
/home/pi/Desktop/images/11052026/20/53/image_11052026_20_53_44_30185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898605","1416898603"],"photo_ids_order":["1416898603","1416898605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e619d0f6cdb397f01abb232945294fab.jpg","text":"TemporaryFile(/tmp/multipartBody7752558383405100717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525706318,"filename":"image_11052026_20_54_14_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/509c21a2e64bbea45a9dbdc648eebafe.jpg","text":"TemporaryFile(/tmp/multipartBody7830458737130141208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525706318,"filename":"image_11052026_20_53_44_30185.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416898605","file0":"1416898603"},"map_files_photo_id_array":[{"photo_id":"1416898605","filename":"file1"},{"photo_id":"1416898603","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898605":["hashtag1","hashtag2"]},{"1416898603":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898605, 1416898603)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416898602","1416898604"],"photo_ids_order":["1416898602","1416898604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dca9ee816f1af7916a53a23d512a7d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6912237610689299663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525706191,"filename":"image_11052026_20_54_14_30169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b652848aac3ec2401a2f27f8c945624.jpg","text":"TemporaryFile(/tmp/multipartBody2784720910138188641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778525706191,"filename":"image_11052026_20_53_44_30185.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416898604","file0":"1416898602"},"map_files_photo_id_array":[{"photo_id":"1416898604","filename":"file1"},{"photo_id":"1416898602","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416898602":["hashtag1","hashtag2"]},{"1416898604":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416898602, 1416898604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.355995893478394 secondes ---
uploaded 2 photos
time to upload: 21.391448259353638 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 20:59:03.991398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/54/image_11052026_20_54_44_30245.jpg', '/home/pi/Desktop/images/11052026/20/54/image_11052026_20_55_13_29200.jpg', '/home/pi/Desktop/images/11052026/20/55/image_11052026_20_55_44_30110.jpg', '/home/pi/Desktop/images/11052026/20/55/image_11052026_20_56_14_30083.jpg', '/home/pi/Desktop/images/11052026/20/56/image_11052026_20_56_44_30012.jpg', '/home/pi/Desktop/images/11052026/20/56/image_11052026_20_57_14_30038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/54/image_11052026_20_54_44_30245.jpg
/home/pi/Desktop/images/11052026/20/54/image_11052026_20_55_13_29200.jpg
/home/pi/Desktop/images/11052026/20/55/image_11052026_20_55_44_30110.jpg
/home/pi/Desktop/images/11052026/20/55/image_11052026_20_56_14_30083.jpg
/home/pi/Desktop/images/11052026/20/56/image_11052026_20_56_44_30012.jpg
/home/pi/Desktop/images/11052026/20/56/image_11052026_20_57_14_30038.jpg
2026-05-11 20:59:04.057384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/57/image_11052026_20_58_14_30186.jpg', '/home/pi/Desktop/images/11052026/20/57/image_11052026_20_57_44_30198.jpg', '/home/pi/Desktop/images/11052026/20/56/image_11052026_20_57_14_30038.jpg', '/home/pi/Desktop/images/11052026/20/56/image_11052026_20_56_44_30012.jpg', '/home/pi/Desktop/images/11052026/20/55/image_11052026_20_56_14_30083.jpg', '/home/pi/Desktop/images/11052026/20/55/image_11052026_20_55_44_30110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/57/image_11052026_20_58_14_30186.jpg
/home/pi/Desktop/images/11052026/20/57/image_11052026_20_57_44_30198.jpg
/home/pi/Desktop/images/11052026/20/56/image_11052026_20_57_14_30038.jpg
/home/pi/Desktop/images/11052026/20/56/image_11052026_20_56_44_30012.jpg
/home/pi/Desktop/images/11052026/20/55/image_11052026_20_56_14_30083.jpg
/home/pi/Desktop/images/11052026/20/55/image_11052026_20_55_44_30110.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899471","1416899447","1416899408","1416899410","1416899311","1416899265"],"photo_ids_order":["1416899265","1416899311","1416899408","1416899410","1416899447","1416899471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d962c32888ec3854ab7466395f4956f1.jpg","text":"TemporaryFile(/tmp/multipartBody1778005189131169791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_55_44_30110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30e4f7ee9a364ffcf5ec4161e48ca982.jpg","text":"TemporaryFile(/tmp/multipartBody1122935791980903989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_56_14_30083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e560ed26a2b49e0e74d4fa709051bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3381101167242774639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_57_14_30038.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d59c9275e5439fbaed811909a9840221.jpg","text":"TemporaryFile(/tmp/multipartBody3964602564810587662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_56_44_30012.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af7aa572f4c231ad05e11b65ea268e33.jpg","text":"TemporaryFile(/tmp/multipartBody6264951030116725868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_57_44_30198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a32ab774c0ab386474d285c7e8645e0.jpg","text":"TemporaryFile(/tmp/multipartBody2549149621295412967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526007972,"filename":"image_11052026_20_58_14_30186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416899408","file1":"1416899311","file0":"1416899265","file4":"1416899447","file5":"1416899471","file3":"1416899410"},"map_files_photo_id_array":[{"photo_id":"1416899471","filename":"file5"},{"photo_id":"1416899408","filename":"file2"},{"photo_id":"1416899447","filename":"file4"},{"photo_id":"1416899311","filename":"file1"},{"photo_id":"1416899265","filename":"file0"},{"photo_id":"1416899410","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416899471":["hashtag1","hashtag2"]},{"1416899447":["hashtag1","hashtag2"]},{"1416899408":["hashtag1","hashtag2"]},{"1416899410":["hashtag1","hashtag2"]},{"1416899311":["hashtag1","hashtag2"]},{"1416899265":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416899471, 1416899447, 1416899408, 1416899410, 1416899311, 1416899265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38714814186096 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899282","1416899411","1416899266","1416899472","1416899448","1416899409"],"photo_ids_order":["1416899266","1416899282","1416899409","1416899411","1416899448","1416899472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f00c41f0ae952d7f9e6d8b27679831c.jpg","text":"TemporaryFile(/tmp/multipartBody2247576263452751184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_55_13_29200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a922a30fc8110bcc04724e2fb37f8ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6285501337358243101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_56_14_30083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/abb92ba2e7182842a953b167e159537a.jpg","text":"TemporaryFile(/tmp/multipartBody2522265604068746053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_54_44_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/afbc769546a4ca6cd5c683ba1eac26f9.jpg","text":"TemporaryFile(/tmp/multipartBody2048470993648025509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_57_14_30038.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c7b8074d21220dddc779618a8d94199.jpg","text":"TemporaryFile(/tmp/multipartBody6577261990041144442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_56_44_30012.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae333bb7dc880fdff4db0f01c895926b.jpg","text":"TemporaryFile(/tmp/multipartBody2448900224141698614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526008069,"filename":"image_11052026_20_55_44_30110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416899409","file1":"1416899282","file0":"1416899266","file4":"1416899448","file5":"1416899472","file3":"1416899411"},"map_files_photo_id_array":[{"photo_id":"1416899472","filename":"file5"},{"photo_id":"1416899409","filename":"file2"},{"photo_id":"1416899448","filename":"file4"},{"photo_id":"1416899282","filename":"file1"},{"photo_id":"1416899266","filename":"file0"},{"photo_id":"1416899411","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416899282":["hashtag1","hashtag2"]},{"1416899411":["hashtag1","hashtag2"]},{"1416899266":["hashtag1","hashtag2"]},{"1416899472":["hashtag1","hashtag2"]},{"1416899448":["hashtag1","hashtag2"]},{"1416899409":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416899282, 1416899411, 1416899266, 1416899472, 1416899448, 1416899409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49719309806824 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:00:03.018741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/58/image_11052026_20_58_44_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/58/image_11052026_20_58_44_30179.jpg
2026-05-11 21:00:03.186151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/58/image_11052026_20_58_44_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/58/image_11052026_20_58_44_30179.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8264305591583252 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899474"],"photo_id":"1416899474","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4da8ec969379c96bfb83af7a4b4351cd.jpg","text":"TemporaryFile(/tmp/multipartBody3542598249003237460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526064374,"filename":"image_11052026_20_58_44_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416899474"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416899474"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.553576946258545 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:01:04.146171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/58/image_11052026_20_59_14_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/58/image_11052026_20_59_14_30173.jpg
2026-05-11 21:01:04.229274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/58/image_11052026_20_59_14_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/58/image_11052026_20_59_14_30173.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9013643264770508 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899475"],"photo_id":"1416899475","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47abec32d19b2fd12915c3ec9f1bff46.jpg","text":"TemporaryFile(/tmp/multipartBody6488294021690304303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526125457,"filename":"image_11052026_20_59_14_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416899475"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416899475"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.379930019378662 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:02:03.336990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/29/image_08052026_15_30_06_30257.jpg', '/home/pi/Desktop/images/08052026/15/29/image_08052026_15_29_36_30205.jpg', '/home/pi/Desktop/images/08052026/15/28/image_08052026_15_28_35_29250.jpg', '/home/pi/Desktop/images/08052026/15/26/image_08052026_15_27_05_30373.jpg', '/home/pi/Desktop/images/08052026/15/26/image_08052026_15_26_35_29208.jpg', '/home/pi/Desktop/images/08052026/15/25/image_08052026_15_26_06_30223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/29/image_08052026_15_30_06_30257.jpg
/home/pi/Desktop/images/08052026/15/29/image_08052026_15_29_36_30205.jpg
/home/pi/Desktop/images/08052026/15/28/image_08052026_15_28_35_29250.jpg
/home/pi/Desktop/images/08052026/15/26/image_08052026_15_27_05_30373.jpg
/home/pi/Desktop/images/08052026/15/26/image_08052026_15_26_35_29208.jpg
/home/pi/Desktop/images/08052026/15/25/image_08052026_15_26_06_30223.jpg
2026-05-11 21:02:03.405911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/25/image_08052026_02_26_05_29159.jpg', '/home/pi/Desktop/images/08052026/02/26/image_08052026_02_26_35_30404.jpg', '/home/pi/Desktop/images/08052026/02/26/image_08052026_02_27_06_30381.jpg', '/home/pi/Desktop/images/08052026/02/27/image_08052026_02_28_05_30376.jpg', '/home/pi/Desktop/images/08052026/02/31/image_08052026_02_31_36_30430.jpg', '/home/pi/Desktop/images/08052026/02/32/image_08052026_02_32_35_30295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/25/image_08052026_02_26_05_29159.jpg
/home/pi/Desktop/images/08052026/02/26/image_08052026_02_26_35_30404.jpg
/home/pi/Desktop/images/08052026/02/26/image_08052026_02_27_06_30381.jpg
/home/pi/Desktop/images/08052026/02/27/image_08052026_02_28_05_30376.jpg
/home/pi/Desktop/images/08052026/02/31/image_08052026_02_31_36_30430.jpg
/home/pi/Desktop/images/08052026/02/32/image_08052026_02_32_35_30295.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899480","1416899486","1416899482","1416899476","1416899484","1416899478"],"photo_ids_order":["1416899476","1416899478","1416899480","1416899482","1416899484","1416899486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd7827ae6ffe07f8cfb6c7bcae736cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1756956118659930283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_28_35_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6fd9e7b806528132d289f93ccf12257.jpg","text":"TemporaryFile(/tmp/multipartBody4288149937752554713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_26_06_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ad835798aaa699731bdc8768accfd4f.jpg","text":"TemporaryFile(/tmp/multipartBody3478729627945664635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_27_05_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/142fa452795b3f85317f30416fe5071a.jpg","text":"TemporaryFile(/tmp/multipartBody4084561175135990978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_30_06_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a0076c5c6a0c6438290983b388e682d.jpg","text":"TemporaryFile(/tmp/multipartBody8155478487174830481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_26_35_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/effbf2b0edb2867d42735a7f5bb908cc.jpg","text":"TemporaryFile(/tmp/multipartBody3561622240622377155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526188647,"filename":"image_08052026_15_29_36_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416899480","file1":"1416899478","file0":"1416899476","file4":"1416899484","file5":"1416899486","file3":"1416899482"},"map_files_photo_id_array":[{"photo_id":"1416899486","filename":"file5"},{"photo_id":"1416899480","filename":"file2"},{"photo_id":"1416899484","filename":"file4"},{"photo_id":"1416899478","filename":"file1"},{"photo_id":"1416899476","filename":"file0"},{"photo_id":"1416899482","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416899480":["hashtag1","hashtag2"]},{"1416899486":["hashtag1","hashtag2"]},{"1416899482":["hashtag1","hashtag2"]},{"1416899476":["hashtag1","hashtag2"]},{"1416899484":["hashtag1","hashtag2"]},{"1416899478":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416899480, 1416899486, 1416899482, 1416899476, 1416899484, 1416899478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.947566509246826 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899483","1416899477","1416899485","1416899479","1416899481","1416899487"],"photo_ids_order":["1416899477","1416899479","1416899481","1416899483","1416899485","1416899487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5400fe81287fa4e70620ac98a7d75f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2097986633443714469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_28_05_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/00749796e36b18f7ea744dbc682258d9.jpg","text":"TemporaryFile(/tmp/multipartBody4103476963721076531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_26_05_29159.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59e680fe42e3553abab5362f8c445f73.jpg","text":"TemporaryFile(/tmp/multipartBody1179008682679173924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_31_36_30430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92ff55d7a2abbb3ebdd8e00ecd5bbf20.jpg","text":"TemporaryFile(/tmp/multipartBody8884447318125124070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_26_35_30404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/199d7d3a8691a47cf553d25e3db10896.jpg","text":"TemporaryFile(/tmp/multipartBody7759758187722286239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_27_06_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad8329de16bb1340c6897ea04f2bca3a.jpg","text":"TemporaryFile(/tmp/multipartBody2434601649132392951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526189570,"filename":"image_08052026_02_32_35_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416899481","file1":"1416899479","file0":"1416899477","file4":"1416899485","file5":"1416899487","file3":"1416899483"},"map_files_photo_id_array":[{"photo_id":"1416899487","filename":"file5"},{"photo_id":"1416899481","filename":"file2"},{"photo_id":"1416899485","filename":"file4"},{"photo_id":"1416899479","filename":"file1"},{"photo_id":"1416899477","filename":"file0"},{"photo_id":"1416899483","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416899483":["hashtag1","hashtag2"]},{"1416899477":["hashtag1","hashtag2"]},{"1416899485":["hashtag1","hashtag2"]},{"1416899479":["hashtag1","hashtag2"]},{"1416899481":["hashtag1","hashtag2"]},{"1416899487":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416899483, 1416899477, 1416899485, 1416899479, 1416899481, 1416899487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5015766620636 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:03:04.172792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/59/image_11052026_21_00_14_30275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/59/image_11052026_21_00_14_30275.jpg
2026-05-11 21:03:04.568809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/20/59/image_11052026_21_00_14_30275.jpg', '/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/20/59/image_11052026_21_00_14_30275.jpg
/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2545394897460938 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899488"],"photo_id":"1416899488","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/864d4bb4262dde7d600254e1e6bbc9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4565410717545132795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526245353,"filename":"image_11052026_21_00_14_30275.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416899488"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416899488"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.32548189163208 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:04:03.734237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.jpg
2026-05-11 21:04:03.728513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/01/image_11052026_21_02_14_30135.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899490"],"photo_id":"1416899490","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b3d9225daba38fb9011f7aa6f25ae15.jpg","text":"TemporaryFile(/tmp/multipartBody2345645296703912554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526305334,"filename":"image_11052026_21_02_14_30135.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416899490"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416899490"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.348776817321777 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416899491"],"photo_id":"1416899491","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24915b4533d5e3141c97cadb53eac5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7965304022678888418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526305407,"filename":"image_11052026_21_02_14_30135.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416899491"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416899491"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.846534967422485 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:05:04.597352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/25/image_08052026_15_25_36_30353.jpg', '/home/pi/Desktop/images/08052026/15/24/image_08052026_15_25_05_30324.jpg', '/home/pi/Desktop/images/08052026/15/23/image_08052026_15_23_35_30238.jpg', '/home/pi/Desktop/images/08052026/15/22/image_08052026_15_22_35_30130.jpg', '/home/pi/Desktop/images/08052026/15/20/image_08052026_15_21_05_30226.jpg', '/home/pi/Desktop/images/08052026/15/20/image_08052026_15_20_35_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/25/image_08052026_15_25_36_30353.jpg
/home/pi/Desktop/images/08052026/15/24/image_08052026_15_25_05_30324.jpg
/home/pi/Desktop/images/08052026/15/23/image_08052026_15_23_35_30238.jpg
/home/pi/Desktop/images/08052026/15/22/image_08052026_15_22_35_30130.jpg
/home/pi/Desktop/images/08052026/15/20/image_08052026_15_21_05_30226.jpg
/home/pi/Desktop/images/08052026/15/20/image_08052026_15_20_35_30224.jpg
2026-05-11 21:05:04.641552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/37/image_08052026_02_37_35_30310.jpg', '/home/pi/Desktop/images/08052026/02/37/image_08052026_02_38_05_30215.jpg', '/home/pi/Desktop/images/08052026/02/38/image_08052026_02_38_36_30376.jpg', '/home/pi/Desktop/images/08052026/02/38/image_08052026_02_39_05_29161.jpg', '/home/pi/Desktop/images/08052026/02/39/image_08052026_02_39_35_30327.jpg', '/home/pi/Desktop/images/08052026/02/40/image_08052026_02_40_36_30240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/37/image_08052026_02_37_35_30310.jpg
/home/pi/Desktop/images/08052026/02/37/image_08052026_02_38_05_30215.jpg
/home/pi/Desktop/images/08052026/02/38/image_08052026_02_38_36_30376.jpg
/home/pi/Desktop/images/08052026/02/38/image_08052026_02_39_05_29161.jpg
/home/pi/Desktop/images/08052026/02/39/image_08052026_02_39_35_30327.jpg
/home/pi/Desktop/images/08052026/02/40/image_08052026_02_40_36_30240.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.747386455535889 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900113","1416900121","1416900115","1416900117","1416900098","1416900119"],"photo_ids_order":["1416900098","1416900113","1416900115","1416900117","1416900119","1416900121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90e229213c8f6f77c84050d892e62a8e.jpg","text":"TemporaryFile(/tmp/multipartBody213853706981376557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_25_05_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/931608f476fe4418f698216c84b4806a.jpg","text":"TemporaryFile(/tmp/multipartBody7945759188295526833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_20_35_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69f202d9dac5afa0d4ada9a59b14d872.jpg","text":"TemporaryFile(/tmp/multipartBody3414226052697781857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_23_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e317c2461c882dbf90def9743f206b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7957197167831466852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_22_35_30130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/86ba93ec1c9e15b6703b485a7bdbcfad.jpg","text":"TemporaryFile(/tmp/multipartBody5920519365770194588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_25_36_30353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/474ae8234a10707c942f12d1ed87383d.jpg","text":"TemporaryFile(/tmp/multipartBody7470886388918933834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526369062,"filename":"image_08052026_15_21_05_30226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900115","file1":"1416900113","file0":"1416900098","file4":"1416900119","file5":"1416900121","file3":"1416900117"},"map_files_photo_id_array":[{"photo_id":"1416900121","filename":"file5"},{"photo_id":"1416900115","filename":"file2"},{"photo_id":"1416900119","filename":"file4"},{"photo_id":"1416900113","filename":"file1"},{"photo_id":"1416900098","filename":"file0"},{"photo_id":"1416900117","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900113":["hashtag1","hashtag2"]},{"1416900121":["hashtag1","hashtag2"]},{"1416900115":["hashtag1","hashtag2"]},{"1416900117":["hashtag1","hashtag2"]},{"1416900098":["hashtag1","hashtag2"]},{"1416900119":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900113, 1416900121, 1416900115, 1416900117, 1416900098, 1416900119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87830877304077 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:06:03.399727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/37/image_08052026_02_37_35_30310.jpg', '/home/pi/Desktop/images/08052026/02/37/image_08052026_02_38_05_30215.jpg', '/home/pi/Desktop/images/08052026/02/38/image_08052026_02_38_36_30376.jpg', '/home/pi/Desktop/images/08052026/02/38/image_08052026_02_39_05_29161.jpg', '/home/pi/Desktop/images/08052026/02/39/image_08052026_02_39_35_30327.jpg', '/home/pi/Desktop/images/08052026/02/40/image_08052026_02_40_36_30240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/37/image_08052026_02_37_35_30310.jpg
/home/pi/Desktop/images/08052026/02/37/image_08052026_02_38_05_30215.jpg
/home/pi/Desktop/images/08052026/02/38/image_08052026_02_38_36_30376.jpg
/home/pi/Desktop/images/08052026/02/38/image_08052026_02_39_05_29161.jpg
/home/pi/Desktop/images/08052026/02/39/image_08052026_02_39_35_30327.jpg
/home/pi/Desktop/images/08052026/02/40/image_08052026_02_40_36_30240.jpg
2026-05-11 21:06:03.521464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/19/image_08052026_15_20_05_29226.jpg', '/home/pi/Desktop/images/08052026/15/19/image_08052026_15_19_36_30284.jpg', '/home/pi/Desktop/images/08052026/15/18/image_08052026_15_19_06_30216.jpg', '/home/pi/Desktop/images/08052026/15/18/image_08052026_15_18_35_30267.jpg', '/home/pi/Desktop/images/08052026/15/17/image_08052026_15_18_05_30235.jpg', '/home/pi/Desktop/images/08052026/15/16/image_08052026_15_17_06_30171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/19/image_08052026_15_20_05_29226.jpg
/home/pi/Desktop/images/08052026/15/19/image_08052026_15_19_36_30284.jpg
/home/pi/Desktop/images/08052026/15/18/image_08052026_15_19_06_30216.jpg
/home/pi/Desktop/images/08052026/15/18/image_08052026_15_18_35_30267.jpg
/home/pi/Desktop/images/08052026/15/17/image_08052026_15_18_05_30235.jpg
/home/pi/Desktop/images/08052026/15/16/image_08052026_15_17_06_30171.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900128","1416900133","1416900124","1416900126","1416900129","1416900131"],"photo_ids_order":["1416900124","1416900126","1416900128","1416900129","1416900131","1416900133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c27c798a74c1767aead6f8d66dcf8bf.jpg","text":"TemporaryFile(/tmp/multipartBody879428031970994540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_19_06_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0691919ad2a94f5c700b3e0c57b1d8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5153718814561353821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_17_06_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab87fe1692c57aeaa60a0bc29ad53659.jpg","text":"TemporaryFile(/tmp/multipartBody5170454159773023288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_20_05_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/926083b3e79d6d8c86e012da28cc7828.jpg","text":"TemporaryFile(/tmp/multipartBody3052941338008150322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_19_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12a597e75cf8324c803b85312475555f.jpg","text":"TemporaryFile(/tmp/multipartBody7463133283665038897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_18_35_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8581acb9fdb43d79e78a24f24cf3bc54.jpg","text":"TemporaryFile(/tmp/multipartBody7616933051442221947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526429168,"filename":"image_08052026_15_18_05_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900128","file1":"1416900126","file0":"1416900124","file4":"1416900131","file5":"1416900133","file3":"1416900129"},"map_files_photo_id_array":[{"photo_id":"1416900133","filename":"file5"},{"photo_id":"1416900128","filename":"file2"},{"photo_id":"1416900131","filename":"file4"},{"photo_id":"1416900126","filename":"file1"},{"photo_id":"1416900124","filename":"file0"},{"photo_id":"1416900129","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900128":["hashtag1","hashtag2"]},{"1416900133":["hashtag1","hashtag2"]},{"1416900124":["hashtag1","hashtag2"]},{"1416900126":["hashtag1","hashtag2"]},{"1416900129":["hashtag1","hashtag2"]},{"1416900131":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900128, 1416900133, 1416900124, 1416900126, 1416900129, 1416900131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68203330039978 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900134","1416900130","1416900127","1416900132","1416900123","1416900125"],"photo_ids_order":["1416900123","1416900125","1416900127","1416900130","1416900132","1416900134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e57ab8881de5e5eced9a221ba58beee.jpg","text":"TemporaryFile(/tmp/multipartBody7973492887087877414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_40_36_30240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/389aa7aa9669c8976c3c153951989b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6933077227074439625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_39_05_29161.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4661bc64faf739ad072d038bf185bab.jpg","text":"TemporaryFile(/tmp/multipartBody519651131367339267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_38_36_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f9a2b078d305f515342b100bc305064.jpg","text":"TemporaryFile(/tmp/multipartBody2770817696066614225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_39_35_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f6c47e36c2aa5b33fd4a96730124ae1.jpg","text":"TemporaryFile(/tmp/multipartBody2347104137406063702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_37_35_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88598d39ee5db5436374e40e0cfa03e2.jpg","text":"TemporaryFile(/tmp/multipartBody5195209312790276972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526428576,"filename":"image_08052026_02_38_05_30215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900127","file1":"1416900125","file0":"1416900123","file4":"1416900132","file5":"1416900134","file3":"1416900130"},"map_files_photo_id_array":[{"photo_id":"1416900134","filename":"file5"},{"photo_id":"1416900127","filename":"file2"},{"photo_id":"1416900132","filename":"file4"},{"photo_id":"1416900125","filename":"file1"},{"photo_id":"1416900123","filename":"file0"},{"photo_id":"1416900130","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900134":["hashtag1","hashtag2"]},{"1416900130":["hashtag1","hashtag2"]},{"1416900127":["hashtag1","hashtag2"]},{"1416900132":["hashtag1","hashtag2"]},{"1416900123":["hashtag1","hashtag2"]},{"1416900125":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900134, 1416900130, 1416900127, 1416900132, 1416900123, 1416900125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71309757232666 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:07:04.054289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/03/image_11052026_21_03_44_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/03/image_11052026_21_03_44_30224.jpg
2026-05-11 21:07:04.140058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/03/image_11052026_21_03_44_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/03/image_11052026_21_03_44_30224.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2505478858947754 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900135"],"photo_id":"1416900135","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ba0a5b037f496e07725eba0dbb23767.jpg","text":"TemporaryFile(/tmp/multipartBody493434556027829836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526485651,"filename":"image_11052026_21_03_44_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900135"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900135"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.1689772605896 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:08:03.958646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/16/image_08052026_15_16_35_30206.jpg', '/home/pi/Desktop/images/08052026/15/15/image_08052026_15_16_05_30360.jpg', '/home/pi/Desktop/images/08052026/15/15/image_08052026_15_15_35_29252.jpg', '/home/pi/Desktop/images/08052026/15/14/image_08052026_15_15_06_30167.jpg', '/home/pi/Desktop/images/08052026/15/14/image_08052026_15_14_35_30216.jpg', '/home/pi/Desktop/images/08052026/15/13/image_08052026_15_14_05_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/16/image_08052026_15_16_35_30206.jpg
/home/pi/Desktop/images/08052026/15/15/image_08052026_15_16_05_30360.jpg
/home/pi/Desktop/images/08052026/15/15/image_08052026_15_15_35_29252.jpg
/home/pi/Desktop/images/08052026/15/14/image_08052026_15_15_06_30167.jpg
/home/pi/Desktop/images/08052026/15/14/image_08052026_15_14_35_30216.jpg
/home/pi/Desktop/images/08052026/15/13/image_08052026_15_14_05_30329.jpg
2026-05-11 21:08:04.059869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/40/image_08052026_02_41_05_29183.jpg', '/home/pi/Desktop/images/08052026/02/43/image_08052026_02_43_35_30193.jpg', '/home/pi/Desktop/images/08052026/02/43/image_08052026_02_44_06_30309.jpg', '/home/pi/Desktop/images/08052026/02/44/image_08052026_02_44_36_30271.jpg', '/home/pi/Desktop/images/08052026/02/44/image_08052026_02_45_05_29119.jpg', '/home/pi/Desktop/images/08052026/02/49/image_08052026_02_49_35_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/40/image_08052026_02_41_05_29183.jpg
/home/pi/Desktop/images/08052026/02/43/image_08052026_02_43_35_30193.jpg
/home/pi/Desktop/images/08052026/02/43/image_08052026_02_44_06_30309.jpg
/home/pi/Desktop/images/08052026/02/44/image_08052026_02_44_36_30271.jpg
/home/pi/Desktop/images/08052026/02/44/image_08052026_02_45_05_29119.jpg
/home/pi/Desktop/images/08052026/02/49/image_08052026_02_49_35_30294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900142","1416900136","1416900144","1416900138","1416900140","1416900146"],"photo_ids_order":["1416900136","1416900138","1416900140","1416900142","1416900144","1416900146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8543e6cf2efe24bf5867a33faf91b8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6488894083949505480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_15_06_30167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc2910abbfd93b6022426936d886ee4e.jpg","text":"TemporaryFile(/tmp/multipartBody5166709185657923017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_16_35_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e2dec8a5cd4ab4b20c8b6c10c5f2dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1609556113863094462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_14_35_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a5a88f0ec101c78acca66d672373cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5325249905457937514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_16_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67519b9eefd66fb67f98584f9d25e872.jpg","text":"TemporaryFile(/tmp/multipartBody4969828854111867664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_15_35_29252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9463412207aba3c322cd4e98e367a9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4970752631975584403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526547606,"filename":"image_08052026_15_14_05_30329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900140","file1":"1416900138","file0":"1416900136","file4":"1416900144","file5":"1416900146","file3":"1416900142"},"map_files_photo_id_array":[{"photo_id":"1416900146","filename":"file5"},{"photo_id":"1416900140","filename":"file2"},{"photo_id":"1416900144","filename":"file4"},{"photo_id":"1416900138","filename":"file1"},{"photo_id":"1416900136","filename":"file0"},{"photo_id":"1416900142","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900142":["hashtag1","hashtag2"]},{"1416900136":["hashtag1","hashtag2"]},{"1416900144":["hashtag1","hashtag2"]},{"1416900138":["hashtag1","hashtag2"]},{"1416900140":["hashtag1","hashtag2"]},{"1416900146":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900142, 1416900136, 1416900144, 1416900138, 1416900140, 1416900146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.166430711746216 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900145","1416900139","1416900147","1416900141","1416900143","1416900137"],"photo_ids_order":["1416900137","1416900139","1416900141","1416900143","1416900145","1416900147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7502509ef1dc14cb46d89980bd04cfe6.jpg","text":"TemporaryFile(/tmp/multipartBody9213144789777799600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_45_05_29119.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c362128df1d4c75b932c54094b712de3.jpg","text":"TemporaryFile(/tmp/multipartBody2588142131487500376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_43_35_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03eeae0724ae7d1d34a795445a577578.jpg","text":"TemporaryFile(/tmp/multipartBody6450361669992983883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_49_35_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e05834940ac63793e20f30b08a839d35.jpg","text":"TemporaryFile(/tmp/multipartBody8971387416758361583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_44_06_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f1aaba03cebc843f1b1ac8def8d2ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8916477620574158254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_44_36_30271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8858e94561df9d181875c8e2031ad4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3156497904588364015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526549369,"filename":"image_08052026_02_41_05_29183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900141","file1":"1416900139","file0":"1416900137","file4":"1416900145","file5":"1416900147","file3":"1416900143"},"map_files_photo_id_array":[{"photo_id":"1416900147","filename":"file5"},{"photo_id":"1416900141","filename":"file2"},{"photo_id":"1416900145","filename":"file4"},{"photo_id":"1416900139","filename":"file1"},{"photo_id":"1416900137","filename":"file0"},{"photo_id":"1416900143","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900145":["hashtag1","hashtag2"]},{"1416900139":["hashtag1","hashtag2"]},{"1416900147":["hashtag1","hashtag2"]},{"1416900141":["hashtag1","hashtag2"]},{"1416900143":["hashtag1","hashtag2"]},{"1416900137":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900145, 1416900139, 1416900147, 1416900141, 1416900143, 1416900137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45768904685974 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:09:04.026664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/07/image_11052026_21_07_44_30281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/07/image_11052026_21_07_44_30281.jpg
2026-05-11 21:09:04.224418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/07/image_11052026_21_07_44_30281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/07/image_11052026_21_07_44_30281.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8960015773773193 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900148"],"photo_id":"1416900148","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd7097281adc906194411e6700ded053.jpg","text":"TemporaryFile(/tmp/multipartBody1528830492618006780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526605809,"filename":"image_11052026_21_07_44_30281.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900148"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900148"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.294902086257935 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:10:04.020206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/13/image_08052026_15_13_35_29185.jpg', '/home/pi/Desktop/images/08052026/15/12/image_08052026_15_13_06_30231.jpg', '/home/pi/Desktop/images/08052026/15/11/image_08052026_15_12_05_30362.jpg', '/home/pi/Desktop/images/08052026/15/11/image_08052026_15_11_35_29131.jpg', '/home/pi/Desktop/images/08052026/15/10/image_08052026_15_10_36_30290.jpg', '/home/pi/Desktop/images/08052026/15/09/image_08052026_15_10_05_29356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/13/image_08052026_15_13_35_29185.jpg
/home/pi/Desktop/images/08052026/15/12/image_08052026_15_13_06_30231.jpg
/home/pi/Desktop/images/08052026/15/11/image_08052026_15_12_05_30362.jpg
/home/pi/Desktop/images/08052026/15/11/image_08052026_15_11_35_29131.jpg
/home/pi/Desktop/images/08052026/15/10/image_08052026_15_10_36_30290.jpg
/home/pi/Desktop/images/08052026/15/09/image_08052026_15_10_05_29356.jpg
2026-05-11 21:10:04.169826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/52/image_08052026_02_52_35_30312.jpg', '/home/pi/Desktop/images/08052026/02/53/image_08052026_02_53_36_30330.jpg', '/home/pi/Desktop/images/08052026/02/53/image_08052026_02_54_05_29204.jpg', '/home/pi/Desktop/images/08052026/02/54/image_08052026_02_54_35_30360.jpg', '/home/pi/Desktop/images/08052026/02/54/image_08052026_02_55_06_30329.jpg', '/home/pi/Desktop/images/08052026/02/58/image_08052026_02_59_05_29258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/52/image_08052026_02_52_35_30312.jpg
/home/pi/Desktop/images/08052026/02/53/image_08052026_02_53_36_30330.jpg
/home/pi/Desktop/images/08052026/02/53/image_08052026_02_54_05_29204.jpg
/home/pi/Desktop/images/08052026/02/54/image_08052026_02_54_35_30360.jpg
/home/pi/Desktop/images/08052026/02/54/image_08052026_02_55_06_30329.jpg
/home/pi/Desktop/images/08052026/02/58/image_08052026_02_59_05_29258.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900151","1416900157","1416900159","1416900153","1416900155","1416900149"],"photo_ids_order":["1416900149","1416900151","1416900153","1416900155","1416900157","1416900159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91112b05eef352885705febf34d092f4.jpg","text":"TemporaryFile(/tmp/multipartBody49511952911882384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_13_06_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80e2a4c5f66ee9bdce6408a2b8cc79d2.jpg","text":"TemporaryFile(/tmp/multipartBody6776416100508953534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_10_36_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2b900d01376962c4a5e221a4f72f10a.jpg","text":"TemporaryFile(/tmp/multipartBody690001433944852257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_10_05_29356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ccc36819e56e7826a2c4135c0f3c83ee.jpg","text":"TemporaryFile(/tmp/multipartBody6052596058558951812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_12_05_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e78093f6241c0bf54dcd8e3f2280ad9.jpg","text":"TemporaryFile(/tmp/multipartBody9049039136005976573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_11_35_29131.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/deca9e7a9eb1c205c157ad00ac3860e2.jpg","text":"TemporaryFile(/tmp/multipartBody6763705431289003981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526667943,"filename":"image_08052026_15_13_35_29185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900153","file1":"1416900151","file0":"1416900149","file4":"1416900157","file5":"1416900159","file3":"1416900155"},"map_files_photo_id_array":[{"photo_id":"1416900159","filename":"file5"},{"photo_id":"1416900153","filename":"file2"},{"photo_id":"1416900157","filename":"file4"},{"photo_id":"1416900151","filename":"file1"},{"photo_id":"1416900149","filename":"file0"},{"photo_id":"1416900155","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900151":["hashtag1","hashtag2"]},{"1416900157":["hashtag1","hashtag2"]},{"1416900159":["hashtag1","hashtag2"]},{"1416900153":["hashtag1","hashtag2"]},{"1416900155":["hashtag1","hashtag2"]},{"1416900149":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900151, 1416900157, 1416900159, 1416900153, 1416900155, 1416900149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63741087913513 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900160","1416900154","1416900156","1416900150","1416900158","1416900152"],"photo_ids_order":["1416900150","1416900152","1416900154","1416900156","1416900158","1416900160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb82e1410e2be5356005f455a1945d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4312827539109693095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_59_05_29258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eac82e04eb2908b6011f8a74a97fd02d.jpg","text":"TemporaryFile(/tmp/multipartBody225655592767913681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_54_05_29204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/404cd6c48e3cae7fbfe63d9eae15c22c.jpg","text":"TemporaryFile(/tmp/multipartBody7958933645340208157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_54_35_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/08b452bfd0bd4169c77f1d7946140b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5304265840801148226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_52_35_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2658662d13025ad4a5195148c5d92b49.jpg","text":"TemporaryFile(/tmp/multipartBody524241340816049099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_55_06_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53bb950da1502fce3b1341668b873db5.jpg","text":"TemporaryFile(/tmp/multipartBody545175053050406158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526669444,"filename":"image_08052026_02_53_36_30330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900154","file1":"1416900152","file0":"1416900150","file4":"1416900158","file5":"1416900160","file3":"1416900156"},"map_files_photo_id_array":[{"photo_id":"1416900160","filename":"file5"},{"photo_id":"1416900154","filename":"file2"},{"photo_id":"1416900158","filename":"file4"},{"photo_id":"1416900152","filename":"file1"},{"photo_id":"1416900150","filename":"file0"},{"photo_id":"1416900156","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900160":["hashtag1","hashtag2"]},{"1416900154":["hashtag1","hashtag2"]},{"1416900156":["hashtag1","hashtag2"]},{"1416900150":["hashtag1","hashtag2"]},{"1416900158":["hashtag1","hashtag2"]},{"1416900152":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900160, 1416900154, 1416900156, 1416900150, 1416900158, 1416900152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3775372505188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:11:04.649837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/08/image_11052026_21_09_14_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/08/image_11052026_21_09_14_30246.jpg
2026-05-11 21:11:04.805915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/08/image_11052026_21_09_14_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/08/image_11052026_21_09_14_30246.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1747539043426514 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900163"],"photo_id":"1416900163","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/879f1eda807c2cb0e875daaaed015145.jpg","text":"TemporaryFile(/tmp/multipartBody2427457115117663174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526726407,"filename":"image_11052026_21_09_14_30246.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900163"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900163"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.614530801773071 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:12:03.532331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/02/59/image_08052026_02_59_35_30381.jpg', '/home/pi/Desktop/images/08052026/02/59/image_08052026_03_00_05_29361.jpg', '/home/pi/Desktop/images/08052026/03/00/image_08052026_03_00_35_30364.jpg', '/home/pi/Desktop/images/08052026/03/09/image_08052026_03_10_05_29207.jpg', '/home/pi/Desktop/images/08052026/03/10/image_08052026_03_10_35_30394.jpg', '/home/pi/Desktop/images/08052026/03/11/image_08052026_03_11_35_29344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/02/59/image_08052026_02_59_35_30381.jpg
/home/pi/Desktop/images/08052026/02/59/image_08052026_03_00_05_29361.jpg
/home/pi/Desktop/images/08052026/03/00/image_08052026_03_00_35_30364.jpg
/home/pi/Desktop/images/08052026/03/09/image_08052026_03_10_05_29207.jpg
/home/pi/Desktop/images/08052026/03/10/image_08052026_03_10_35_30394.jpg
/home/pi/Desktop/images/08052026/03/11/image_08052026_03_11_35_29344.jpg
2026-05-11 21:12:03.596823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/08/image_08052026_15_08_35_30294.jpg', '/home/pi/Desktop/images/08052026/15/07/image_08052026_15_08_05_30207.jpg', '/home/pi/Desktop/images/08052026/15/07/image_08052026_15_07_35_29221.jpg', '/home/pi/Desktop/images/08052026/15/06/image_08052026_15_07_06_30284.jpg', '/home/pi/Desktop/images/08052026/15/06/image_08052026_15_06_35_30323.jpg', '/home/pi/Desktop/images/08052026/15/05/image_08052026_15_06_05_29210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/08/image_08052026_15_08_35_30294.jpg
/home/pi/Desktop/images/08052026/15/07/image_08052026_15_08_05_30207.jpg
/home/pi/Desktop/images/08052026/15/07/image_08052026_15_07_35_29221.jpg
/home/pi/Desktop/images/08052026/15/06/image_08052026_15_07_06_30284.jpg
/home/pi/Desktop/images/08052026/15/06/image_08052026_15_06_35_30323.jpg
/home/pi/Desktop/images/08052026/15/05/image_08052026_15_06_05_29210.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900175","1416900169","1416900177","1416900171","1416900173","1416900179"],"photo_ids_order":["1416900169","1416900171","1416900173","1416900175","1416900177","1416900179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/083d25a8a1f1b52a0a4c89077970fbf1.jpg","text":"TemporaryFile(/tmp/multipartBody7142831322634928822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_03_10_05_29207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee00b6a18e79cbd18286a0178bcfab48.jpg","text":"TemporaryFile(/tmp/multipartBody2923852817869046818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_02_59_35_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67989581757124a686693365e8851633.jpg","text":"TemporaryFile(/tmp/multipartBody8610198565223687494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_03_10_35_30394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/01e0d692535347711db7d639e4e72de3.jpg","text":"TemporaryFile(/tmp/multipartBody4243904298516408330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_03_00_05_29361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa356ca40e837f419542918b20cf1b65.jpg","text":"TemporaryFile(/tmp/multipartBody7609532553893808750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_03_00_35_30364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/901a2f6d1b4cea59cf697d4e4b0f1b98.jpg","text":"TemporaryFile(/tmp/multipartBody1627217698331067642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526790437,"filename":"image_08052026_03_11_35_29344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900173","file1":"1416900171","file0":"1416900169","file4":"1416900177","file5":"1416900179","file3":"1416900175"},"map_files_photo_id_array":[{"photo_id":"1416900179","filename":"file5"},{"photo_id":"1416900173","filename":"file2"},{"photo_id":"1416900177","filename":"file4"},{"photo_id":"1416900171","filename":"file1"},{"photo_id":"1416900169","filename":"file0"},{"photo_id":"1416900175","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900175":["hashtag1","hashtag2"]},{"1416900169":["hashtag1","hashtag2"]},{"1416900177":["hashtag1","hashtag2"]},{"1416900171":["hashtag1","hashtag2"]},{"1416900173":["hashtag1","hashtag2"]},{"1416900179":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900175, 1416900169, 1416900177, 1416900171, 1416900173, 1416900179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14935660362244 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900178","1416900172","1416900174","1416900168","1416900176","1416900170"],"photo_ids_order":["1416900168","1416900170","1416900172","1416900174","1416900176","1416900178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f86e94bc4735f6cb55897be02952340c.jpg","text":"TemporaryFile(/tmp/multipartBody3341880732482704623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_06_05_29210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/20337b5d6056810dfb8ba3adbdf147dd.jpg","text":"TemporaryFile(/tmp/multipartBody551815834088215193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_07_35_29221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/05e72198b084893851d2f8cc7d677b70.jpg","text":"TemporaryFile(/tmp/multipartBody2620972944257981843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_07_06_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13ad5fa7ab1c85989799435dc82f1666.jpg","text":"TemporaryFile(/tmp/multipartBody7179617387206330465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_08_35_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bb234413660fd7829ef4dc468984133.jpg","text":"TemporaryFile(/tmp/multipartBody1176069696550322029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_06_35_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/905f182ae6896f1dfdc672ac15abdf99.jpg","text":"TemporaryFile(/tmp/multipartBody5601285588873734813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526789704,"filename":"image_08052026_15_08_05_30207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900172","file1":"1416900170","file0":"1416900168","file4":"1416900176","file5":"1416900178","file3":"1416900174"},"map_files_photo_id_array":[{"photo_id":"1416900178","filename":"file5"},{"photo_id":"1416900172","filename":"file2"},{"photo_id":"1416900176","filename":"file4"},{"photo_id":"1416900170","filename":"file1"},{"photo_id":"1416900168","filename":"file0"},{"photo_id":"1416900174","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900178":["hashtag1","hashtag2"]},{"1416900172":["hashtag1","hashtag2"]},{"1416900174":["hashtag1","hashtag2"]},{"1416900168":["hashtag1","hashtag2"]},{"1416900176":["hashtag1","hashtag2"]},{"1416900170":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900178, 1416900172, 1416900174, 1416900168, 1416900176, 1416900170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.58512568473816 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:13:04.147316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/11/image_11052026_21_12_14_30228.jpg', '/home/pi/Desktop/images/11052026/21/11/image_11052026_21_11_44_30249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/11/image_11052026_21_12_14_30228.jpg
/home/pi/Desktop/images/11052026/21/11/image_11052026_21_11_44_30249.jpg
2026-05-11 21:13:04.496012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/11/image_11052026_21_11_44_30249.jpg', '/home/pi/Desktop/images/11052026/21/11/image_11052026_21_12_14_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/11/image_11052026_21_11_44_30249.jpg
/home/pi/Desktop/images/11052026/21/11/image_11052026_21_12_14_30228.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.689979076385498 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900181","1416900180"],"photo_ids_order":["1416900180","1416900181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d0dfb29f434617dda62d5c73d7e728b.jpg","text":"TemporaryFile(/tmp/multipartBody8002220294581973470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526845827,"filename":"image_11052026_21_11_44_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e02fbec34ff95501e4266b6e70d912b.jpg","text":"TemporaryFile(/tmp/multipartBody610253585203002170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526845827,"filename":"image_11052026_21_12_14_30228.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900181","file0":"1416900180"},"map_files_photo_id_array":[{"photo_id":"1416900181","filename":"file1"},{"photo_id":"1416900180","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900181":["hashtag1","hashtag2"]},{"1416900180":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900181, 1416900180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.831642866134644 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:14:03.746248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/12/image_11052026_21_13_14_30321.jpg', '/home/pi/Desktop/images/11052026/21/12/image_11052026_21_12_43_29193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/12/image_11052026_21_13_14_30321.jpg
/home/pi/Desktop/images/11052026/21/12/image_11052026_21_12_43_29193.jpg
2026-05-11 21:14:03.867143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/12/image_11052026_21_12_43_29193.jpg', '/home/pi/Desktop/images/11052026/21/12/image_11052026_21_13_14_30321.jpg', '/home/pi/Desktop/images/11052026/21/13/image_11052026_21_13_44_30268.jpg', '/home/pi/Desktop/images/11052026/21/13/image_11052026_21_14_14_30274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/12/image_11052026_21_12_43_29193.jpg
/home/pi/Desktop/images/11052026/21/12/image_11052026_21_13_14_30321.jpg
/home/pi/Desktop/images/11052026/21/13/image_11052026_21_13_44_30268.jpg
/home/pi/Desktop/images/11052026/21/13/image_11052026_21_14_14_30274.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900183","1416900186"],"photo_ids_order":["1416900183","1416900186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5ceefd49d88cb48416c4178fb5ceae8.jpg","text":"TemporaryFile(/tmp/multipartBody7318117415609068160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526905956,"filename":"image_11052026_21_13_14_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8895e51b27d7455d548ea4b6d7e9725.jpg","text":"TemporaryFile(/tmp/multipartBody3822474123550556050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526905956,"filename":"image_11052026_21_12_43_29193.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900186","file0":"1416900183"},"map_files_photo_id_array":[{"photo_id":"1416900186","filename":"file1"},{"photo_id":"1416900183","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900183":["hashtag1","hashtag2"]},{"1416900186":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900183, 1416900186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.622195720672607 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900184","1416900187","1416900189","1416900188"],"photo_ids_order":["1416900184","1416900187","1416900188","1416900189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b474f2b855497d8a43b91000a0227a56.jpg","text":"TemporaryFile(/tmp/multipartBody6156977769956895547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526907244,"filename":"image_11052026_21_12_43_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a8f1547a32549793b8b203894c14ff45.jpg","text":"TemporaryFile(/tmp/multipartBody3436681319483868793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526907244,"filename":"image_11052026_21_13_14_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c42db810a3516126784e515e637e2fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7257325896897505563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526907244,"filename":"image_11052026_21_14_14_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cd5c91c5e60128422a68e8b3e7cce0e.jpg","text":"TemporaryFile(/tmp/multipartBody8521766581606727200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526907244,"filename":"image_11052026_21_13_44_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900188","file1":"1416900187","file0":"1416900184","file3":"1416900189"},"map_files_photo_id_array":[{"photo_id":"1416900188","filename":"file2"},{"photo_id":"1416900187","filename":"file1"},{"photo_id":"1416900184","filename":"file0"},{"photo_id":"1416900189","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900184":["hashtag1","hashtag2"]},{"1416900187":["hashtag1","hashtag2"]},{"1416900189":["hashtag1","hashtag2"]},{"1416900188":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900184, 1416900187, 1416900189, 1416900188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.59745216369629 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:15:04.280914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/15/05/image_08052026_15_05_36_30281.jpg', '/home/pi/Desktop/images/08052026/15/04/image_08052026_15_05_05_30231.jpg', '/home/pi/Desktop/images/08052026/15/04/image_08052026_15_04_35_30231.jpg', '/home/pi/Desktop/images/08052026/15/03/image_08052026_15_03_35_29191.jpg', '/home/pi/Desktop/images/08052026/15/02/image_08052026_15_03_06_30287.jpg', '/home/pi/Desktop/images/08052026/15/02/image_08052026_15_02_35_30177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/15/05/image_08052026_15_05_36_30281.jpg
/home/pi/Desktop/images/08052026/15/04/image_08052026_15_05_05_30231.jpg
/home/pi/Desktop/images/08052026/15/04/image_08052026_15_04_35_30231.jpg
/home/pi/Desktop/images/08052026/15/03/image_08052026_15_03_35_29191.jpg
/home/pi/Desktop/images/08052026/15/02/image_08052026_15_03_06_30287.jpg
/home/pi/Desktop/images/08052026/15/02/image_08052026_15_02_35_30177.jpg
2026-05-11 21:15:04.530925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/15/image_08052026_03_16_05_29210.jpg', '/home/pi/Desktop/images/08052026/03/16/image_08052026_03_16_35_30378.jpg', '/home/pi/Desktop/images/08052026/03/16/image_08052026_03_17_06_30383.jpg', '/home/pi/Desktop/images/08052026/03/17/image_08052026_03_17_35_29422.jpg', '/home/pi/Desktop/images/08052026/03/17/image_08052026_03_18_06_30337.jpg', '/home/pi/Desktop/images/08052026/03/18/image_08052026_03_19_05_29197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/15/image_08052026_03_16_05_29210.jpg
/home/pi/Desktop/images/08052026/03/16/image_08052026_03_16_35_30378.jpg
/home/pi/Desktop/images/08052026/03/16/image_08052026_03_17_06_30383.jpg
/home/pi/Desktop/images/08052026/03/17/image_08052026_03_17_35_29422.jpg
/home/pi/Desktop/images/08052026/03/17/image_08052026_03_18_06_30337.jpg
/home/pi/Desktop/images/08052026/03/18/image_08052026_03_19_05_29197.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900209","1416900214","1416900211","1416900213","1416900207","1416900245"],"photo_ids_order":["1416900207","1416900209","1416900211","1416900213","1416900214","1416900245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b6796837cfebd40963b804fed8ac06d4.jpg","text":"TemporaryFile(/tmp/multipartBody5568879781740358692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_05_05_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f78fee4f20a5985fcf3ffddce5835b48.jpg","text":"TemporaryFile(/tmp/multipartBody7061378126599830557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_03_06_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec5a71f9fcc47a2557abf73bd9528e24.jpg","text":"TemporaryFile(/tmp/multipartBody8924516169876549546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_04_35_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4efb808efd304114b3464bac5f00df1d.jpg","text":"TemporaryFile(/tmp/multipartBody6511274565075345891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_03_35_29191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f40ed06d9af14344439b76bcf1dfc96d.jpg","text":"TemporaryFile(/tmp/multipartBody983274857201601464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_05_36_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76cbe557c193977d11515a5b1483f97e.jpg","text":"TemporaryFile(/tmp/multipartBody5697073521384783531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970743,"filename":"image_08052026_15_02_35_30177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900211","file1":"1416900209","file0":"1416900207","file4":"1416900214","file5":"1416900245","file3":"1416900213"},"map_files_photo_id_array":[{"photo_id":"1416900245","filename":"file5"},{"photo_id":"1416900211","filename":"file2"},{"photo_id":"1416900214","filename":"file4"},{"photo_id":"1416900209","filename":"file1"},{"photo_id":"1416900207","filename":"file0"},{"photo_id":"1416900213","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900209":["hashtag1","hashtag2"]},{"1416900214":["hashtag1","hashtag2"]},{"1416900211":["hashtag1","hashtag2"]},{"1416900213":["hashtag1","hashtag2"]},{"1416900207":["hashtag1","hashtag2"]},{"1416900245":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900209, 1416900214, 1416900211, 1416900213, 1416900207, 1416900245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.31953716278076 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900212","1416900206","1416900215","1416900208","1416900246","1416900210"],"photo_ids_order":["1416900206","1416900208","1416900210","1416900212","1416900215","1416900246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f7a10450c0be525e5a876d0c89171432.jpg","text":"TemporaryFile(/tmp/multipartBody4631283156765547419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_17_35_29422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cd43353c42347ab37060dc84482e152.jpg","text":"TemporaryFile(/tmp/multipartBody4247171291703810928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_16_05_29210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3732af119e43d020710d1687e1663beb.jpg","text":"TemporaryFile(/tmp/multipartBody438685312356157629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_18_06_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3787003fb227a923e44cd2b84e026f74.jpg","text":"TemporaryFile(/tmp/multipartBody5879068355212288287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_16_35_30378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff078a4c7e454c9981866aeeb063f32f.jpg","text":"TemporaryFile(/tmp/multipartBody181272607686568602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_19_05_29197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b400a4f0512a3a10c92c5ec11d563422.jpg","text":"TemporaryFile(/tmp/multipartBody4703623403665568675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778526970272,"filename":"image_08052026_03_17_06_30383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900210","file1":"1416900208","file0":"1416900206","file4":"1416900215","file5":"1416900246","file3":"1416900212"},"map_files_photo_id_array":[{"photo_id":"1416900246","filename":"file5"},{"photo_id":"1416900210","filename":"file2"},{"photo_id":"1416900215","filename":"file4"},{"photo_id":"1416900208","filename":"file1"},{"photo_id":"1416900206","filename":"file0"},{"photo_id":"1416900212","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900212":["hashtag1","hashtag2"]},{"1416900206":["hashtag1","hashtag2"]},{"1416900215":["hashtag1","hashtag2"]},{"1416900208":["hashtag1","hashtag2"]},{"1416900246":["hashtag1","hashtag2"]},{"1416900210":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900212, 1416900206, 1416900215, 1416900208, 1416900246, 1416900210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.178728342056274 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:16:03.848336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/15/image_11052026_21_16_14_30257.jpg', '/home/pi/Desktop/images/11052026/21/14/image_11052026_21_14_44_30180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/15/image_11052026_21_16_14_30257.jpg
/home/pi/Desktop/images/11052026/21/14/image_11052026_21_14_44_30180.jpg
2026-05-11 21:16:04.112629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/14/image_11052026_21_14_44_30180.jpg', '/home/pi/Desktop/images/11052026/21/15/image_11052026_21_16_14_30257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/14/image_11052026_21_14_44_30180.jpg
/home/pi/Desktop/images/11052026/21/15/image_11052026_21_16_14_30257.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9457240104675293 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900250","1416900249"],"photo_ids_order":["1416900249","1416900250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2e9d7d63c74b32bd286be092dfaf483.jpg","text":"TemporaryFile(/tmp/multipartBody1786472902078576887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527025886,"filename":"image_11052026_21_14_44_30180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/432e88470c529899f8bf110d70f2a428.jpg","text":"TemporaryFile(/tmp/multipartBody1141358985637608263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527025886,"filename":"image_11052026_21_16_14_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900250","file0":"1416900249"},"map_files_photo_id_array":[{"photo_id":"1416900250","filename":"file1"},{"photo_id":"1416900249","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900250":["hashtag1","hashtag2"]},{"1416900249":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900250, 1416900249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.298322916030884 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:17:04.822384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/59/image_08052026_14_59_35_29274.jpg', '/home/pi/Desktop/images/08052026/14/58/image_08052026_14_59_06_30254.jpg', '/home/pi/Desktop/images/08052026/14/58/image_08052026_14_58_35_30226.jpg', '/home/pi/Desktop/images/08052026/14/57/image_08052026_14_57_35_29238.jpg', '/home/pi/Desktop/images/08052026/14/55/image_08052026_14_56_05_30424.jpg', '/home/pi/Desktop/images/08052026/14/55/image_08052026_14_55_35_29254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/59/image_08052026_14_59_35_29274.jpg
/home/pi/Desktop/images/08052026/14/58/image_08052026_14_59_06_30254.jpg
/home/pi/Desktop/images/08052026/14/58/image_08052026_14_58_35_30226.jpg
/home/pi/Desktop/images/08052026/14/57/image_08052026_14_57_35_29238.jpg
/home/pi/Desktop/images/08052026/14/55/image_08052026_14_56_05_30424.jpg
/home/pi/Desktop/images/08052026/14/55/image_08052026_14_55_35_29254.jpg
2026-05-11 21:17:04.660993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/19/image_08052026_03_19_36_30475.jpg', '/home/pi/Desktop/images/08052026/03/19/image_08052026_03_20_05_29311.jpg', '/home/pi/Desktop/images/08052026/03/20/image_08052026_03_20_35_30255.jpg', '/home/pi/Desktop/images/08052026/03/20/image_08052026_03_21_05_30349.jpg', '/home/pi/Desktop/images/08052026/03/21/image_08052026_03_21_36_30385.jpg', '/home/pi/Desktop/images/08052026/03/22/image_08052026_03_22_35_30322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/19/image_08052026_03_19_36_30475.jpg
/home/pi/Desktop/images/08052026/03/19/image_08052026_03_20_05_29311.jpg
/home/pi/Desktop/images/08052026/03/20/image_08052026_03_20_35_30255.jpg
/home/pi/Desktop/images/08052026/03/20/image_08052026_03_21_05_30349.jpg
/home/pi/Desktop/images/08052026/03/21/image_08052026_03_21_36_30385.jpg
/home/pi/Desktop/images/08052026/03/22/image_08052026_03_22_35_30322.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.423105716705322 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900253","1416900255","1416900266","1416900260","1416900263","1416900257"],"photo_ids_order":["1416900253","1416900255","1416900257","1416900260","1416900263","1416900266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91ecb5f17f46afb804c623f61e602d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2352644383008343698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_19_36_30475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0b1dd767a2c22392f4a784a8943e4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6838040685199433255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_20_05_29311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7df03030d4a963eab8631cc621b7642.jpg","text":"TemporaryFile(/tmp/multipartBody6156209641300789983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_22_35_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92ca4f4370ab86f8ce7b65ee0ca1975c.jpg","text":"TemporaryFile(/tmp/multipartBody697643804174222680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_21_05_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0af780d6282381f582cc3ce13bf0929e.jpg","text":"TemporaryFile(/tmp/multipartBody2972243732247893817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_21_36_30385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e78d5c3201e377a9567615965b390d2.jpg","text":"TemporaryFile(/tmp/multipartBody6266313219574622932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527090500,"filename":"image_08052026_03_20_35_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900257","file1":"1416900255","file0":"1416900253","file4":"1416900263","file5":"1416900266","file3":"1416900260"},"map_files_photo_id_array":[{"photo_id":"1416900266","filename":"file5"},{"photo_id":"1416900257","filename":"file2"},{"photo_id":"1416900263","filename":"file4"},{"photo_id":"1416900255","filename":"file1"},{"photo_id":"1416900253","filename":"file0"},{"photo_id":"1416900260","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900253":["hashtag1","hashtag2"]},{"1416900255":["hashtag1","hashtag2"]},{"1416900266":["hashtag1","hashtag2"]},{"1416900260":["hashtag1","hashtag2"]},{"1416900263":["hashtag1","hashtag2"]},{"1416900257":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900253, 1416900255, 1416900266, 1416900260, 1416900263, 1416900257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98022770881653 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:18:03.882435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/59/image_08052026_14_59_35_29274.jpg', '/home/pi/Desktop/images/08052026/14/58/image_08052026_14_59_06_30254.jpg', '/home/pi/Desktop/images/08052026/14/58/image_08052026_14_58_35_30226.jpg', '/home/pi/Desktop/images/08052026/14/57/image_08052026_14_57_35_29238.jpg', '/home/pi/Desktop/images/08052026/14/55/image_08052026_14_56_05_30424.jpg', '/home/pi/Desktop/images/08052026/14/55/image_08052026_14_55_35_29254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/59/image_08052026_14_59_35_29274.jpg
/home/pi/Desktop/images/08052026/14/58/image_08052026_14_59_06_30254.jpg
/home/pi/Desktop/images/08052026/14/58/image_08052026_14_58_35_30226.jpg
/home/pi/Desktop/images/08052026/14/57/image_08052026_14_57_35_29238.jpg
/home/pi/Desktop/images/08052026/14/55/image_08052026_14_56_05_30424.jpg
/home/pi/Desktop/images/08052026/14/55/image_08052026_14_55_35_29254.jpg
2026-05-11 21:18:03.994245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/30/image_08052026_03_30_35_30313.jpg', '/home/pi/Desktop/images/08052026/03/33/image_08052026_03_33_35_29350.jpg', '/home/pi/Desktop/images/08052026/03/33/image_08052026_03_34_05_30332.jpg', '/home/pi/Desktop/images/08052026/03/36/image_08052026_03_36_35_29360.jpg', '/home/pi/Desktop/images/08052026/03/36/image_08052026_03_37_05_30369.jpg', '/home/pi/Desktop/images/08052026/03/37/image_08052026_03_38_05_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/30/image_08052026_03_30_35_30313.jpg
/home/pi/Desktop/images/08052026/03/33/image_08052026_03_33_35_29350.jpg
/home/pi/Desktop/images/08052026/03/33/image_08052026_03_34_05_30332.jpg
/home/pi/Desktop/images/08052026/03/36/image_08052026_03_36_35_29360.jpg
/home/pi/Desktop/images/08052026/03/36/image_08052026_03_37_05_30369.jpg
/home/pi/Desktop/images/08052026/03/37/image_08052026_03_38_05_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900277","1416900271","1416900273","1416900279","1416900275","1416900269"],"photo_ids_order":["1416900269","1416900271","1416900273","1416900275","1416900277","1416900279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4444547c1e35c9c7083619cc5bb8b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody4033594763237255674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_56_05_30424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f45b44d840a45a7f191aef436bdd060.jpg","text":"TemporaryFile(/tmp/multipartBody4828990440194172283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_59_06_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a270a06c70e4104ef17a9470dda54e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2656001699074828706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_58_35_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b5cc44ae78f9e769accdee17f0b87ab.jpg","text":"TemporaryFile(/tmp/multipartBody3698684971502214631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_55_35_29254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fa0c08b47d8088d81885c0d16b9bad37.jpg","text":"TemporaryFile(/tmp/multipartBody8086924913916502237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_57_35_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b4389b6eadfe8e4933bb621b2a093f3.jpg","text":"TemporaryFile(/tmp/multipartBody1338719558396794360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527148412,"filename":"image_08052026_14_59_35_29274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900273","file1":"1416900271","file0":"1416900269","file4":"1416900277","file5":"1416900279","file3":"1416900275"},"map_files_photo_id_array":[{"photo_id":"1416900279","filename":"file5"},{"photo_id":"1416900273","filename":"file2"},{"photo_id":"1416900277","filename":"file4"},{"photo_id":"1416900271","filename":"file1"},{"photo_id":"1416900269","filename":"file0"},{"photo_id":"1416900275","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900277":["hashtag1","hashtag2"]},{"1416900271":["hashtag1","hashtag2"]},{"1416900273":["hashtag1","hashtag2"]},{"1416900279":["hashtag1","hashtag2"]},{"1416900275":["hashtag1","hashtag2"]},{"1416900269":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900277, 1416900271, 1416900273, 1416900279, 1416900275, 1416900269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.977370738983154 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900280","1416900274","1416900276","1416900270","1416900272","1416900278"],"photo_ids_order":["1416900270","1416900272","1416900274","1416900276","1416900278","1416900280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82790dc0da17a2347b2280d418536416.jpg","text":"TemporaryFile(/tmp/multipartBody2331607833823011800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_38_05_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/290f8d1e8c54ee1310030ac7ca0b718e.jpg","text":"TemporaryFile(/tmp/multipartBody8964133058125407203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_34_05_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9046a70becfb0b4696e314603676a972.jpg","text":"TemporaryFile(/tmp/multipartBody2101976735040505573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_36_35_29360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69963ee46c745d7167bf3a437e5558da.jpg","text":"TemporaryFile(/tmp/multipartBody9012021042721394338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_30_35_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c7ca53cbc9e12fe0b2441dfeb52e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2419946339554703176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_33_35_29350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a95026d84d772c521ad5f9700576481a.jpg","text":"TemporaryFile(/tmp/multipartBody8592926944282013756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527149192,"filename":"image_08052026_03_37_05_30369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900274","file1":"1416900272","file0":"1416900270","file4":"1416900278","file5":"1416900280","file3":"1416900276"},"map_files_photo_id_array":[{"photo_id":"1416900280","filename":"file5"},{"photo_id":"1416900274","filename":"file2"},{"photo_id":"1416900278","filename":"file4"},{"photo_id":"1416900272","filename":"file1"},{"photo_id":"1416900270","filename":"file0"},{"photo_id":"1416900276","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900280":["hashtag1","hashtag2"]},{"1416900274":["hashtag1","hashtag2"]},{"1416900276":["hashtag1","hashtag2"]},{"1416900270":["hashtag1","hashtag2"]},{"1416900272":["hashtag1","hashtag2"]},{"1416900278":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900280, 1416900274, 1416900276, 1416900270, 1416900272, 1416900278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.117549896240234 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:19:04.429943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/54/image_08052026_14_55_06_30211.jpg', '/home/pi/Desktop/images/08052026/14/54/image_08052026_14_54_35_30245.jpg', '/home/pi/Desktop/images/08052026/14/52/image_08052026_14_53_06_30267.jpg', '/home/pi/Desktop/images/08052026/14/52/image_08052026_14_52_35_30311.jpg', '/home/pi/Desktop/images/08052026/14/51/image_08052026_14_52_05_29205.jpg', '/home/pi/Desktop/images/08052026/14/51/image_08052026_14_51_36_30262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/54/image_08052026_14_55_06_30211.jpg
/home/pi/Desktop/images/08052026/14/54/image_08052026_14_54_35_30245.jpg
/home/pi/Desktop/images/08052026/14/52/image_08052026_14_53_06_30267.jpg
/home/pi/Desktop/images/08052026/14/52/image_08052026_14_52_35_30311.jpg
/home/pi/Desktop/images/08052026/14/51/image_08052026_14_52_05_29205.jpg
/home/pi/Desktop/images/08052026/14/51/image_08052026_14_51_36_30262.jpg
2026-05-11 21:19:04.464285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/38/image_08052026_03_38_35_30335.jpg', '/home/pi/Desktop/images/08052026/03/39/image_08052026_03_39_35_29328.jpg', '/home/pi/Desktop/images/08052026/03/40/image_08052026_03_41_05_29208.jpg', '/home/pi/Desktop/images/08052026/03/41/image_08052026_03_41_35_30394.jpg', '/home/pi/Desktop/images/08052026/03/41/image_08052026_03_42_06_30313.jpg', '/home/pi/Desktop/images/08052026/03/42/image_08052026_03_42_35_29310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/38/image_08052026_03_38_35_30335.jpg
/home/pi/Desktop/images/08052026/03/39/image_08052026_03_39_35_29328.jpg
/home/pi/Desktop/images/08052026/03/40/image_08052026_03_41_05_29208.jpg
/home/pi/Desktop/images/08052026/03/41/image_08052026_03_41_35_30394.jpg
/home/pi/Desktop/images/08052026/03/41/image_08052026_03_42_06_30313.jpg
/home/pi/Desktop/images/08052026/03/42/image_08052026_03_42_35_29310.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.367568016052246 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900289","1416900291","1416900282","1416900285","1416900287","1416900281"],"photo_ids_order":["1416900281","1416900282","1416900285","1416900287","1416900289","1416900291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c41e58f5dbe7c36b8c329f9c4d678f8.jpg","text":"TemporaryFile(/tmp/multipartBody2091144345508495901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_42_06_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9da717e0bba7d7e4ca050705557720c9.jpg","text":"TemporaryFile(/tmp/multipartBody4583331021900005328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_42_35_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c06e44be9db5500667aed29d6e23116e.jpg","text":"TemporaryFile(/tmp/multipartBody2168452077773110607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_39_35_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ddf43f2599c2cc5258ef9b6bec047908.jpg","text":"TemporaryFile(/tmp/multipartBody4708211681234117754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_41_05_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27fd12e9ef5363c58c54aa16678600f5.jpg","text":"TemporaryFile(/tmp/multipartBody563777739631885608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_41_35_30394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1800f366a5a7830bdb019cf3c5c17485.jpg","text":"TemporaryFile(/tmp/multipartBody1985811698090718598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527210188,"filename":"image_08052026_03_38_35_30335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900285","file1":"1416900282","file0":"1416900281","file4":"1416900289","file5":"1416900291","file3":"1416900287"},"map_files_photo_id_array":[{"photo_id":"1416900291","filename":"file5"},{"photo_id":"1416900285","filename":"file2"},{"photo_id":"1416900289","filename":"file4"},{"photo_id":"1416900282","filename":"file1"},{"photo_id":"1416900281","filename":"file0"},{"photo_id":"1416900287","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900289":["hashtag1","hashtag2"]},{"1416900291":["hashtag1","hashtag2"]},{"1416900282":["hashtag1","hashtag2"]},{"1416900285":["hashtag1","hashtag2"]},{"1416900287":["hashtag1","hashtag2"]},{"1416900281":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900289, 1416900291, 1416900282, 1416900285, 1416900287, 1416900281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.07023763656616 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:20:03.727892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/42/image_08052026_03_43_05_30321.jpg', '/home/pi/Desktop/images/08052026/03/43/image_08052026_03_43_36_30416.jpg', '/home/pi/Desktop/images/08052026/03/44/image_08052026_03_44_35_30279.jpg', '/home/pi/Desktop/images/08052026/03/44/image_08052026_03_45_06_30371.jpg', '/home/pi/Desktop/images/08052026/03/49/image_08052026_03_49_35_30357.jpg', '/home/pi/Desktop/images/08052026/03/49/image_08052026_03_50_06_30226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/42/image_08052026_03_43_05_30321.jpg
/home/pi/Desktop/images/08052026/03/43/image_08052026_03_43_36_30416.jpg
/home/pi/Desktop/images/08052026/03/44/image_08052026_03_44_35_30279.jpg
/home/pi/Desktop/images/08052026/03/44/image_08052026_03_45_06_30371.jpg
/home/pi/Desktop/images/08052026/03/49/image_08052026_03_49_35_30357.jpg
/home/pi/Desktop/images/08052026/03/49/image_08052026_03_50_06_30226.jpg
2026-05-11 21:20:03.889230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/54/image_08052026_14_55_06_30211.jpg', '/home/pi/Desktop/images/08052026/14/54/image_08052026_14_54_35_30245.jpg', '/home/pi/Desktop/images/08052026/14/52/image_08052026_14_53_06_30267.jpg', '/home/pi/Desktop/images/08052026/14/52/image_08052026_14_52_35_30311.jpg', '/home/pi/Desktop/images/08052026/14/51/image_08052026_14_52_05_29205.jpg', '/home/pi/Desktop/images/08052026/14/51/image_08052026_14_51_36_30262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/54/image_08052026_14_55_06_30211.jpg
/home/pi/Desktop/images/08052026/14/54/image_08052026_14_54_35_30245.jpg
/home/pi/Desktop/images/08052026/14/52/image_08052026_14_53_06_30267.jpg
/home/pi/Desktop/images/08052026/14/52/image_08052026_14_52_35_30311.jpg
/home/pi/Desktop/images/08052026/14/51/image_08052026_14_52_05_29205.jpg
/home/pi/Desktop/images/08052026/14/51/image_08052026_14_51_36_30262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900298","1416900294","1416900300","1416900299","1416900296","1416900302"],"photo_ids_order":["1416900294","1416900296","1416900298","1416900299","1416900300","1416900302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1434766f0bd2321c98b9c24221730de0.jpg","text":"TemporaryFile(/tmp/multipartBody7657025990783451825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_53_06_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/517ec967dcb838f6d7a1ce0f37722c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4196534549061853444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_55_06_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8cd67a8c2c40c897b299edf42ce5c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5503176339908763375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_52_05_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/27bb1dd94f0957acdae8db0dfd190e46.jpg","text":"TemporaryFile(/tmp/multipartBody8801279494347275260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_52_35_30311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fc183437994803e634b692872c2e3df7.jpg","text":"TemporaryFile(/tmp/multipartBody7264080651903396448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_54_35_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83525b419ad5633204e2aa3dc2d6345f.jpg","text":"TemporaryFile(/tmp/multipartBody7774905874098503794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269193,"filename":"image_08052026_14_51_36_30262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900298","file1":"1416900296","file0":"1416900294","file4":"1416900300","file5":"1416900302","file3":"1416900299"},"map_files_photo_id_array":[{"photo_id":"1416900302","filename":"file5"},{"photo_id":"1416900298","filename":"file2"},{"photo_id":"1416900300","filename":"file4"},{"photo_id":"1416900296","filename":"file1"},{"photo_id":"1416900294","filename":"file0"},{"photo_id":"1416900299","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900298":["hashtag1","hashtag2"]},{"1416900294":["hashtag1","hashtag2"]},{"1416900300":["hashtag1","hashtag2"]},{"1416900299":["hashtag1","hashtag2"]},{"1416900296":["hashtag1","hashtag2"]},{"1416900302":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900298, 1416900294, 1416900300, 1416900299, 1416900296, 1416900302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28048062324524 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900295","1416900301","1416900304","1416900297","1416900303","1416900293"],"photo_ids_order":["1416900293","1416900295","1416900297","1416900301","1416900303","1416900304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dff75bea72f758d1ad64fb87098119bf.jpg","text":"TemporaryFile(/tmp/multipartBody178190402861472788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_43_36_30416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9925f69535fc2552153942357ecaa93f.jpg","text":"TemporaryFile(/tmp/multipartBody2992955480300875281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_45_06_30371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87063bedebecae2036e45a9159d97fad.jpg","text":"TemporaryFile(/tmp/multipartBody7409038539495907862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_50_06_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4febce9cf247386afa8c8b4cf010b83d.jpg","text":"TemporaryFile(/tmp/multipartBody7378449141451402262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_44_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40b11013fc3460e84f59d479b01cc672.jpg","text":"TemporaryFile(/tmp/multipartBody5036619265957253216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_49_35_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a6bba62e346dad69095dbb89d2b41aab.jpg","text":"TemporaryFile(/tmp/multipartBody3664262504660470415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527269041,"filename":"image_08052026_03_43_05_30321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900297","file1":"1416900295","file0":"1416900293","file4":"1416900303","file5":"1416900304","file3":"1416900301"},"map_files_photo_id_array":[{"photo_id":"1416900304","filename":"file5"},{"photo_id":"1416900297","filename":"file2"},{"photo_id":"1416900303","filename":"file4"},{"photo_id":"1416900295","filename":"file1"},{"photo_id":"1416900293","filename":"file0"},{"photo_id":"1416900301","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900295":["hashtag1","hashtag2"]},{"1416900301":["hashtag1","hashtag2"]},{"1416900304":["hashtag1","hashtag2"]},{"1416900297":["hashtag1","hashtag2"]},{"1416900303":["hashtag1","hashtag2"]},{"1416900293":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900295, 1416900301, 1416900304, 1416900297, 1416900303, 1416900293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.09330677986145 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-05-11 21:21:04.700442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1073627471923828 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:22:03.178277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.jpg', '/home/pi/Desktop/images/11052026/21/21/image_11052026_21_21_44_30202.jpg', '/home/pi/Desktop/images/11052026/21/21/image_11052026_21_22_14_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.jpg
/home/pi/Desktop/images/11052026/21/21/image_11052026_21_21_44_30202.jpg
/home/pi/Desktop/images/11052026/21/21/image_11052026_21_22_14_30179.jpg
2026-05-11 21:22:03.306582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/21/image_11052026_21_22_14_30179.jpg', '/home/pi/Desktop/images/11052026/21/21/image_11052026_21_21_44_30202.jpg', '/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/21/image_11052026_21_22_14_30179.jpg
/home/pi/Desktop/images/11052026/21/21/image_11052026_21_21_44_30202.jpg
/home/pi/Desktop/images/11052026/21/14/image_11052026_21_15_14_29152.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900305","1416900307","1416900309"],"photo_ids_order":["1416900305","1416900307","1416900309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93b5538ba59efc60ce38dbbcc7dbd4b0.jpg","text":"TemporaryFile(/tmp/multipartBody8435563841828072892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527387639,"filename":"image_11052026_21_15_14_29152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a61eb2f36aeeee2d678f93eac79498e.jpg","text":"TemporaryFile(/tmp/multipartBody8643317975326663461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527387639,"filename":"image_11052026_21_21_44_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d70d7adfbd690d2c151e81880f3e0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6670744378216432234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527387639,"filename":"image_11052026_21_22_14_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900309","file1":"1416900307","file0":"1416900305"},"map_files_photo_id_array":[{"photo_id":"1416900309","filename":"file2"},{"photo_id":"1416900307","filename":"file1"},{"photo_id":"1416900305","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900305":["hashtag1","hashtag2"]},{"1416900307":["hashtag1","hashtag2"]},{"1416900309":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900305, 1416900307, 1416900309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.543831825256348 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900308","1416900310","1416900306"],"photo_ids_order":["1416900306","1416900308","1416900310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f24ba242a26c646b55c5f570852b005d.jpg","text":"TemporaryFile(/tmp/multipartBody7100365626484545786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527388332,"filename":"image_11052026_21_21_44_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ba872eb435e13d416073abba99780f19.jpg","text":"TemporaryFile(/tmp/multipartBody2766782242700333340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527388332,"filename":"image_11052026_21_15_14_29152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e560d93fb964d20de9da223a58ecc9e.jpg","text":"TemporaryFile(/tmp/multipartBody7606813236245306630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527388332,"filename":"image_11052026_21_22_14_30179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900310","file1":"1416900308","file0":"1416900306"},"map_files_photo_id_array":[{"photo_id":"1416900310","filename":"file2"},{"photo_id":"1416900308","filename":"file1"},{"photo_id":"1416900306","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900308":["hashtag1","hashtag2"]},{"1416900310":["hashtag1","hashtag2"]},{"1416900306":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900308, 1416900310, 1416900306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.506253480911255 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:23:04.376911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/50/image_08052026_14_51_06_30160.jpg', '/home/pi/Desktop/images/08052026/14/49/image_08052026_14_49_35_29249.jpg', '/home/pi/Desktop/images/08052026/14/47/image_08052026_14_47_36_30327.jpg', '/home/pi/Desktop/images/08052026/14/36/image_08052026_14_36_36_30267.jpg', '/home/pi/Desktop/images/08052026/14/32/image_08052026_14_33_05_30177.jpg', '/home/pi/Desktop/images/08052026/14/32/image_08052026_14_32_35_30161.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/50/image_08052026_14_51_06_30160.jpg
/home/pi/Desktop/images/08052026/14/49/image_08052026_14_49_35_29249.jpg
/home/pi/Desktop/images/08052026/14/47/image_08052026_14_47_36_30327.jpg
/home/pi/Desktop/images/08052026/14/36/image_08052026_14_36_36_30267.jpg
/home/pi/Desktop/images/08052026/14/32/image_08052026_14_33_05_30177.jpg
/home/pi/Desktop/images/08052026/14/32/image_08052026_14_32_35_30161.jpg
2026-05-11 21:23:04.856532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg', '/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.028319597244263 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900311","1416900314","1416900316","1416900312","1416900315","1416900317"],"photo_ids_order":["1416900311","1416900312","1416900314","1416900315","1416900316","1416900317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da974c45233b8d98d48b89da0ad23709.jpg","text":"TemporaryFile(/tmp/multipartBody5200344541194136585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_51_06_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97d4381dc6178be791313e1c54ada5c2.jpg","text":"TemporaryFile(/tmp/multipartBody530101502853943196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_47_36_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91e8815a6efaa6187f6105da9570b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody7492780939087897096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_33_05_30177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1cfebc36e3d102f5a0557ebe17ab5351.jpg","text":"TemporaryFile(/tmp/multipartBody5896433735175222107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_49_35_29249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c1045dc98f262fb480d4cd322bcaec8.jpg","text":"TemporaryFile(/tmp/multipartBody1222616455742627760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_36_36_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a0d635e03a74d0487dcd212776dcce0d.jpg","text":"TemporaryFile(/tmp/multipartBody4227633051319989656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527450960,"filename":"image_08052026_14_32_35_30161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900314","file1":"1416900312","file0":"1416900311","file4":"1416900316","file5":"1416900317","file3":"1416900315"},"map_files_photo_id_array":[{"photo_id":"1416900317","filename":"file5"},{"photo_id":"1416900314","filename":"file2"},{"photo_id":"1416900316","filename":"file4"},{"photo_id":"1416900312","filename":"file1"},{"photo_id":"1416900311","filename":"file0"},{"photo_id":"1416900315","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900311":["hashtag1","hashtag2"]},{"1416900314":["hashtag1","hashtag2"]},{"1416900316":["hashtag1","hashtag2"]},{"1416900312":["hashtag1","hashtag2"]},{"1416900315":["hashtag1","hashtag2"]},{"1416900317":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900311, 1416900314, 1416900316, 1416900312, 1416900315, 1416900317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.09797120094299 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:24:03.713695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg', '/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.jpg
2026-05-11 21:24:03.826486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.jpg', '/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_23_14_30251.jpg
/home/pi/Desktop/images/11052026/21/22/image_11052026_21_22_44_30261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900326","1416900323"],"photo_ids_order":["1416900323","1416900326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a82237647964312d9b043de4fc9b86a5.jpg","text":"TemporaryFile(/tmp/multipartBody7487794300289562058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527506468,"filename":"image_11052026_21_23_14_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c8605f45cf78d07668b864934e77ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1471512026570998628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527506468,"filename":"image_11052026_21_22_44_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900326","file0":"1416900323"},"map_files_photo_id_array":[{"photo_id":"1416900326","filename":"file1"},{"photo_id":"1416900323","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900326":["hashtag1","hashtag2"]},{"1416900323":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900326, 1416900323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.58570170402527 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900324","1416900327"],"photo_ids_order":["1416900324","1416900327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/648788794729c7032a91b502aba86cab.jpg","text":"TemporaryFile(/tmp/multipartBody1802904132645582169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527506680,"filename":"image_11052026_21_23_14_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b93635d98eec4c6e3c19f6c5541d07e8.jpg","text":"TemporaryFile(/tmp/multipartBody268429108961413386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527506680,"filename":"image_11052026_21_22_44_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900327","file0":"1416900324"},"map_files_photo_id_array":[{"photo_id":"1416900327","filename":"file1"},{"photo_id":"1416900324","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900324":["hashtag1","hashtag2"]},{"1416900327":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900324, 1416900327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.08999252319336 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:25:04.662897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/23/image_11052026_21_24_14_30294.jpg', '/home/pi/Desktop/images/11052026/21/23/image_11052026_21_23_43_29081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/23/image_11052026_21_24_14_30294.jpg
/home/pi/Desktop/images/11052026/21/23/image_11052026_21_23_43_29081.jpg
2026-05-11 21:25:04.798979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/23/image_11052026_21_23_43_29081.jpg', '/home/pi/Desktop/images/11052026/21/23/image_11052026_21_24_14_30294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/23/image_11052026_21_23_43_29081.jpg
/home/pi/Desktop/images/11052026/21/23/image_11052026_21_24_14_30294.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8092138767242432 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900328","1416900329"],"photo_ids_order":["1416900328","1416900329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26755c0b5e8502f4802cab8e9743714b.jpg","text":"TemporaryFile(/tmp/multipartBody2832957532134471638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527567254,"filename":"image_11052026_21_23_43_29081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3746399d1b7dc46f3705b4a913803c58.jpg","text":"TemporaryFile(/tmp/multipartBody3261107995357618072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527567254,"filename":"image_11052026_21_24_14_30294.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900329","file0":"1416900328"},"map_files_photo_id_array":[{"photo_id":"1416900329","filename":"file1"},{"photo_id":"1416900328","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900328":["hashtag1","hashtag2"]},{"1416900329":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900328, 1416900329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.063111066818237 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:26:03.920597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/24/image_11052026_21_24_44_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/24/image_11052026_21_24_44_30153.jpg
2026-05-11 21:26:03.948691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/24/image_11052026_21_24_44_30153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/24/image_11052026_21_24_44_30153.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900332"],"photo_id":"1416900332","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f73c763b43da5466f2b7a4a8a6081b56.jpg","text":"TemporaryFile(/tmp/multipartBody2080638911816143812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527625824,"filename":"image_11052026_21_24_44_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900332"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900332"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.184331178665161 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900331"],"photo_id":"1416900331","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/448e2d935c80a838bbab925ccc97cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody439546635719962829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527625724,"filename":"image_11052026_21_24_44_30153.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900331"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900331"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.463231563568115 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:27:04.601041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/31/image_08052026_14_31_36_30215.jpg', '/home/pi/Desktop/images/08052026/14/30/image_08052026_14_30_35_30250.jpg', '/home/pi/Desktop/images/08052026/14/29/image_08052026_14_30_05_29229.jpg', '/home/pi/Desktop/images/08052026/14/28/image_08052026_14_28_35_30166.jpg', '/home/pi/Desktop/images/08052026/14/27/image_08052026_14_28_05_30259.jpg', '/home/pi/Desktop/images/08052026/14/27/image_08052026_14_27_35_30136.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/31/image_08052026_14_31_36_30215.jpg
/home/pi/Desktop/images/08052026/14/30/image_08052026_14_30_35_30250.jpg
/home/pi/Desktop/images/08052026/14/29/image_08052026_14_30_05_29229.jpg
/home/pi/Desktop/images/08052026/14/28/image_08052026_14_28_35_30166.jpg
/home/pi/Desktop/images/08052026/14/27/image_08052026_14_28_05_30259.jpg
/home/pi/Desktop/images/08052026/14/27/image_08052026_14_27_35_30136.jpg
2026-05-11 21:27:04.703265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/50/image_08052026_03_50_35_29253.jpg', '/home/pi/Desktop/images/08052026/03/51/image_08052026_03_52_06_30324.jpg', '/home/pi/Desktop/images/08052026/03/52/image_08052026_03_52_35_29315.jpg', '/home/pi/Desktop/images/08052026/03/54/image_08052026_03_55_06_30276.jpg', '/home/pi/Desktop/images/08052026/03/57/image_08052026_03_58_06_30281.jpg', '/home/pi/Desktop/images/08052026/04/09/image_08052026_04_09_35_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/50/image_08052026_03_50_35_29253.jpg
/home/pi/Desktop/images/08052026/03/51/image_08052026_03_52_06_30324.jpg
/home/pi/Desktop/images/08052026/03/52/image_08052026_03_52_35_29315.jpg
/home/pi/Desktop/images/08052026/03/54/image_08052026_03_55_06_30276.jpg
/home/pi/Desktop/images/08052026/03/57/image_08052026_03_58_06_30281.jpg
/home/pi/Desktop/images/08052026/04/09/image_08052026_04_09_35_29273.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.971415758132935 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900334","1416900337","1416900336","1416900339","1416900333","1416900341"],"photo_ids_order":["1416900333","1416900334","1416900336","1416900337","1416900339","1416900341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bb13a27d90e549ca0073a1240239f36.jpg","text":"TemporaryFile(/tmp/multipartBody8841893336594249843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_30_35_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4545594dcf5e92be61e14ba13c10cebd.jpg","text":"TemporaryFile(/tmp/multipartBody8209028188669433429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_28_35_30166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56478f785f8bc7bd970116957e9a29ee.jpg","text":"TemporaryFile(/tmp/multipartBody4230678917366893280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_30_05_29229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be7737da6540defdd19d1ea76865637b.jpg","text":"TemporaryFile(/tmp/multipartBody1344712452040539694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_28_05_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4bcc5df0b5f04bc733acf627a24b442.jpg","text":"TemporaryFile(/tmp/multipartBody6566347818588033404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_31_36_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/788aca228039b61ecf38476d9dd453e9.jpg","text":"TemporaryFile(/tmp/multipartBody2715971572468013984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527689603,"filename":"image_08052026_14_27_35_30136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900336","file1":"1416900334","file0":"1416900333","file4":"1416900339","file5":"1416900341","file3":"1416900337"},"map_files_photo_id_array":[{"photo_id":"1416900341","filename":"file5"},{"photo_id":"1416900336","filename":"file2"},{"photo_id":"1416900339","filename":"file4"},{"photo_id":"1416900334","filename":"file1"},{"photo_id":"1416900333","filename":"file0"},{"photo_id":"1416900337","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900334":["hashtag1","hashtag2"]},{"1416900337":["hashtag1","hashtag2"]},{"1416900336":["hashtag1","hashtag2"]},{"1416900339":["hashtag1","hashtag2"]},{"1416900333":["hashtag1","hashtag2"]},{"1416900341":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900334, 1416900337, 1416900336, 1416900339, 1416900333, 1416900341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35601568222046 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:28:03.928389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/03/50/image_08052026_03_50_35_29253.jpg', '/home/pi/Desktop/images/08052026/03/51/image_08052026_03_52_06_30324.jpg', '/home/pi/Desktop/images/08052026/03/52/image_08052026_03_52_35_29315.jpg', '/home/pi/Desktop/images/08052026/03/54/image_08052026_03_55_06_30276.jpg', '/home/pi/Desktop/images/08052026/03/57/image_08052026_03_58_06_30281.jpg', '/home/pi/Desktop/images/08052026/04/09/image_08052026_04_09_35_29273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/03/50/image_08052026_03_50_35_29253.jpg
/home/pi/Desktop/images/08052026/03/51/image_08052026_03_52_06_30324.jpg
/home/pi/Desktop/images/08052026/03/52/image_08052026_03_52_35_29315.jpg
/home/pi/Desktop/images/08052026/03/54/image_08052026_03_55_06_30276.jpg
/home/pi/Desktop/images/08052026/03/57/image_08052026_03_58_06_30281.jpg
/home/pi/Desktop/images/08052026/04/09/image_08052026_04_09_35_29273.jpg
2026-05-11 21:28:03.993911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/25/image_08052026_14_26_06_30232.jpg', '/home/pi/Desktop/images/08052026/14/25/image_08052026_14_25_35_30203.jpg', '/home/pi/Desktop/images/08052026/14/24/image_08052026_14_25_05_30317.jpg', '/home/pi/Desktop/images/08052026/14/23/image_08052026_14_23_35_30229.jpg', '/home/pi/Desktop/images/08052026/14/21/image_08052026_14_22_06_30249.jpg', '/home/pi/Desktop/images/08052026/14/20/image_08052026_14_20_36_30336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/25/image_08052026_14_26_06_30232.jpg
/home/pi/Desktop/images/08052026/14/25/image_08052026_14_25_35_30203.jpg
/home/pi/Desktop/images/08052026/14/24/image_08052026_14_25_05_30317.jpg
/home/pi/Desktop/images/08052026/14/23/image_08052026_14_23_35_30229.jpg
/home/pi/Desktop/images/08052026/14/21/image_08052026_14_22_06_30249.jpg
/home/pi/Desktop/images/08052026/14/20/image_08052026_14_20_36_30336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900352","1416900346","1416900354","1416900348","1416900350","1416900344"],"photo_ids_order":["1416900344","1416900346","1416900348","1416900350","1416900352","1416900354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/484bd280e6532ebae90e3090b512038a.jpg","text":"TemporaryFile(/tmp/multipartBody2166286399716426875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_03_58_06_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59a09f93926c2a3c3d4f44c842f40bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2551220888523487258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_03_52_06_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2f378aba7f8e5013497226854eb9be1.jpg","text":"TemporaryFile(/tmp/multipartBody2051546165020425293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_04_09_35_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13b40642e70ec18ae20b145ca8a274af.jpg","text":"TemporaryFile(/tmp/multipartBody3909431835141166020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_03_52_35_29315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/489b227134bc540b2daa3dc42d2bc790.jpg","text":"TemporaryFile(/tmp/multipartBody4575843553656802650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_03_55_06_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84629cc758aed8f35240e8088e151641.jpg","text":"TemporaryFile(/tmp/multipartBody709271412964186162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527749807,"filename":"image_08052026_03_50_35_29253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900348","file1":"1416900346","file0":"1416900344","file4":"1416900352","file5":"1416900354","file3":"1416900350"},"map_files_photo_id_array":[{"photo_id":"1416900354","filename":"file5"},{"photo_id":"1416900348","filename":"file2"},{"photo_id":"1416900352","filename":"file4"},{"photo_id":"1416900346","filename":"file1"},{"photo_id":"1416900344","filename":"file0"},{"photo_id":"1416900350","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900352":["hashtag1","hashtag2"]},{"1416900346":["hashtag1","hashtag2"]},{"1416900354":["hashtag1","hashtag2"]},{"1416900348":["hashtag1","hashtag2"]},{"1416900350":["hashtag1","hashtag2"]},{"1416900344":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900352, 1416900346, 1416900354, 1416900348, 1416900350, 1416900344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21760964393616 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900355","1416900349","1416900351","1416900345","1416900353","1416900347"],"photo_ids_order":["1416900345","1416900347","1416900349","1416900351","1416900353","1416900355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e826d4124b15e333cf305b9a2b588dde.jpg","text":"TemporaryFile(/tmp/multipartBody6011003774396243250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_20_36_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/249a66a91e6dfced64e339b075d4e712.jpg","text":"TemporaryFile(/tmp/multipartBody8151143380019127008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_25_05_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/815e1c02ea7616809be9308dfac42429.jpg","text":"TemporaryFile(/tmp/multipartBody6565414094337070199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_23_35_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3e99440d702bbe9f54f3727077f4102.jpg","text":"TemporaryFile(/tmp/multipartBody3809157728827322335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_26_06_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/420153c4d34e8597e25eedd0f63bfa89.jpg","text":"TemporaryFile(/tmp/multipartBody5904740706308337623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_22_06_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6bf81ab39630207788d190adf6015382.jpg","text":"TemporaryFile(/tmp/multipartBody1232523440139605193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527750911,"filename":"image_08052026_14_25_35_30203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900349","file1":"1416900347","file0":"1416900345","file4":"1416900353","file5":"1416900355","file3":"1416900351"},"map_files_photo_id_array":[{"photo_id":"1416900355","filename":"file5"},{"photo_id":"1416900349","filename":"file2"},{"photo_id":"1416900353","filename":"file4"},{"photo_id":"1416900347","filename":"file1"},{"photo_id":"1416900345","filename":"file0"},{"photo_id":"1416900351","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900355":["hashtag1","hashtag2"]},{"1416900349":["hashtag1","hashtag2"]},{"1416900351":["hashtag1","hashtag2"]},{"1416900345":["hashtag1","hashtag2"]},{"1416900353":["hashtag1","hashtag2"]},{"1416900347":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900355, 1416900349, 1416900351, 1416900345, 1416900353, 1416900347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.54059410095215 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:29:04.059943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
2026-05-11 21:29:04.031514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/19/image_08052026_14_19_35_30294.jpg', '/home/pi/Desktop/images/08052026/14/18/image_08052026_14_19_05_29163.jpg', '/home/pi/Desktop/images/08052026/14/17/image_08052026_14_17_35_30220.jpg', '/home/pi/Desktop/images/08052026/14/16/image_08052026_14_17_05_30212.jpg', '/home/pi/Desktop/images/08052026/14/16/image_08052026_14_16_35_29279.jpg', '/home/pi/Desktop/images/08052026/14/15/image_08052026_14_16_06_30254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/09/image_08052026_04_10_05_30256.jpg', '/home/pi/Desktop/images/08052026/04/10/image_08052026_04_10_35_30387.jpg', '/home/pi/Desktop/images/08052026/04/10/image_08052026_04_11_06_30426.jpg', '/home/pi/Desktop/images/08052026/04/11/image_08052026_04_11_35_29275.jpg', '/home/pi/Desktop/images/08052026/04/11/image_08052026_04_12_05_30295.jpg', '/home/pi/Desktop/images/08052026/04/12/image_08052026_04_12_36_30407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/19/image_08052026_14_19_35_30294.jpg
/home/pi/Desktop/images/08052026/04/09/image_08052026_04_10_05_30256.jpg
/home/pi/Desktop/images/08052026/04/10/image_08052026_04_10_35_30387.jpg
/home/pi/Desktop/images/08052026/14/18/image_08052026_14_19_05_29163.jpg
/home/pi/Desktop/images/08052026/04/10/image_08052026_04_11_06_30426.jpg
/home/pi/Desktop/images/08052026/14/17/image_08052026_14_17_35_30220.jpg
/home/pi/Desktop/images/08052026/04/11/image_08052026_04_11_35_29275.jpg
/home/pi/Desktop/images/08052026/14/16/image_08052026_14_17_05_30212.jpg
/home/pi/Desktop/images/08052026/14/16/image_08052026_14_16_35_29279.jpg
/home/pi/Desktop/images/08052026/04/11/image_08052026_04_12_05_30295.jpg
/home/pi/Desktop/images/08052026/14/15/image_08052026_14_16_06_30254.jpg
/home/pi/Desktop/images/08052026/04/12/image_08052026_04_12_36_30407.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900364","1416900361","1416900365","1416900368","1416900356","1416900359"],"photo_ids_order":["1416900356","1416900359","1416900361","1416900364","1416900365","1416900368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbaad4bd67531637b314dd6c824689c8.jpg","text":"TemporaryFile(/tmp/multipartBody3501461911924396069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_11_35_29275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5363980dc9532936ed3e4e49a1166ea.jpg","text":"TemporaryFile(/tmp/multipartBody1137388139462673077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_11_06_30426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d948a55436cfb82345f2b5389ac2e9cb.jpg","text":"TemporaryFile(/tmp/multipartBody5278360953213151727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_12_05_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c94a0a472f0a9b63a9f0fa92746f15f7.jpg","text":"TemporaryFile(/tmp/multipartBody1149736269184906479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_12_36_30407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b95e9ecf407f31d82d388b368f188931.jpg","text":"TemporaryFile(/tmp/multipartBody8405048717041246544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_10_05_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3790185cdcff613a1f4c72e9df67ca86.jpg","text":"TemporaryFile(/tmp/multipartBody1749395835990944447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527809812,"filename":"image_08052026_04_10_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900361","file1":"1416900359","file0":"1416900356","file4":"1416900365","file5":"1416900368","file3":"1416900364"},"map_files_photo_id_array":[{"photo_id":"1416900368","filename":"file5"},{"photo_id":"1416900361","filename":"file2"},{"photo_id":"1416900365","filename":"file4"},{"photo_id":"1416900359","filename":"file1"},{"photo_id":"1416900356","filename":"file0"},{"photo_id":"1416900364","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900364":["hashtag1","hashtag2"]},{"1416900361":["hashtag1","hashtag2"]},{"1416900365":["hashtag1","hashtag2"]},{"1416900368":["hashtag1","hashtag2"]},{"1416900356":["hashtag1","hashtag2"]},{"1416900359":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900364, 1416900361, 1416900365, 1416900368, 1416900356, 1416900359)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416900367","1416900369","1416900360","1416900363","1416900357","1416900362"],"photo_ids_order":["1416900357","1416900360","1416900362","1416900363","1416900367","1416900369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5595075f973b6d2e65714f8129b06829.jpg","text":"TemporaryFile(/tmp/multipartBody4353934156636161033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_16_35_29279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d9b930ab037b2430becaf8cc7dadded7.jpg","text":"TemporaryFile(/tmp/multipartBody2539998853092141177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_16_06_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c68a432665c911a7685f15ac0249f9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8007710694400307991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_19_05_29163.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7793cd4b0efd27548e8410586454a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1788133436763843120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_17_05_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97eb94c5abe8c37e1c945995ee78f77e.jpg","text":"TemporaryFile(/tmp/multipartBody3688720741990133657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_19_35_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db769c9fd854987c5542db2766dd4797.jpg","text":"TemporaryFile(/tmp/multipartBody8222521729295834836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527810426,"filename":"image_08052026_14_17_35_30220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900362","file1":"1416900360","file0":"1416900357","file4":"1416900367","file5":"1416900369","file3":"1416900363"},"map_files_photo_id_array":[{"photo_id":"1416900369","filename":"file5"},{"photo_id":"1416900362","filename":"file2"},{"photo_id":"1416900367","filename":"file4"},{"photo_id":"1416900360","filename":"file1"},{"photo_id":"1416900357","filename":"file0"},{"photo_id":"1416900363","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900367":["hashtag1","hashtag2"]},{"1416900369":["hashtag1","hashtag2"]},{"1416900360":["hashtag1","hashtag2"]},{"1416900363":["hashtag1","hashtag2"]},{"1416900357":["hashtag1","hashtag2"]},{"1416900362":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900367, 1416900369, 1416900360, 1416900363, 1416900357, 1416900362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.934924840927124 secondes ---
uploaded 6 photos
time to upload: 45.939786195755005 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:30:03.952998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/14/image_08052026_14_14_36_30266.jpg', '/home/pi/Desktop/images/08052026/14/13/image_08052026_14_14_06_30345.jpg', '/home/pi/Desktop/images/08052026/14/13/image_08052026_14_13_35_30295.jpg', '/home/pi/Desktop/images/08052026/14/12/image_08052026_14_13_05_29171.jpg', '/home/pi/Desktop/images/08052026/14/12/image_08052026_14_12_36_30273.jpg', '/home/pi/Desktop/images/08052026/14/11/image_08052026_14_11_35_30299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/14/image_08052026_14_14_36_30266.jpg
/home/pi/Desktop/images/08052026/14/13/image_08052026_14_14_06_30345.jpg
/home/pi/Desktop/images/08052026/14/13/image_08052026_14_13_35_30295.jpg
/home/pi/Desktop/images/08052026/14/12/image_08052026_14_13_05_29171.jpg
/home/pi/Desktop/images/08052026/14/12/image_08052026_14_12_36_30273.jpg
/home/pi/Desktop/images/08052026/14/11/image_08052026_14_11_35_30299.jpg
2026-05-11 21:30:04.071896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/12/image_08052026_04_13_05_29186.jpg', '/home/pi/Desktop/images/08052026/04/13/image_08052026_04_14_06_30299.jpg', '/home/pi/Desktop/images/08052026/04/14/image_08052026_04_14_35_29347.jpg', '/home/pi/Desktop/images/08052026/04/15/image_08052026_04_16_05_29165.jpg', '/home/pi/Desktop/images/08052026/04/17/image_08052026_04_17_35_29272.jpg', '/home/pi/Desktop/images/08052026/04/18/image_08052026_04_18_36_30288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/12/image_08052026_04_13_05_29186.jpg
/home/pi/Desktop/images/08052026/04/13/image_08052026_04_14_06_30299.jpg
/home/pi/Desktop/images/08052026/04/14/image_08052026_04_14_35_29347.jpg
/home/pi/Desktop/images/08052026/04/15/image_08052026_04_16_05_29165.jpg
/home/pi/Desktop/images/08052026/04/17/image_08052026_04_17_35_29272.jpg
/home/pi/Desktop/images/08052026/04/18/image_08052026_04_18_36_30288.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.0317041873931885 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900382","1416900385","1416900379","1416900372","1416900374","1416900377"],"photo_ids_order":["1416900372","1416900374","1416900377","1416900379","1416900382","1416900385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a104a24dc8a97e4ee7d5f8c08635df1c.jpg","text":"TemporaryFile(/tmp/multipartBody8956554396770829926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_12_36_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5ac7111823f7f373b82d52012e1c46f.jpg","text":"TemporaryFile(/tmp/multipartBody9100344770559741521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_11_35_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f983390857e4173df178352b73fa4987.jpg","text":"TemporaryFile(/tmp/multipartBody8579825171710310243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_13_05_29171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8318ebdb586226c73fab995e3e22d43e.jpg","text":"TemporaryFile(/tmp/multipartBody9118880267169182120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_14_36_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9b6bd9e0fff16dc998ed22823517ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6437870544229756777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_14_06_30345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/753ea5436fa10d27aaad9d5b0d2e17d3.jpg","text":"TemporaryFile(/tmp/multipartBody5299217433053176260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527869232,"filename":"image_08052026_14_13_35_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900377","file1":"1416900374","file0":"1416900372","file4":"1416900382","file5":"1416900385","file3":"1416900379"},"map_files_photo_id_array":[{"photo_id":"1416900385","filename":"file5"},{"photo_id":"1416900377","filename":"file2"},{"photo_id":"1416900382","filename":"file4"},{"photo_id":"1416900374","filename":"file1"},{"photo_id":"1416900372","filename":"file0"},{"photo_id":"1416900379","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900382":["hashtag1","hashtag2"]},{"1416900385":["hashtag1","hashtag2"]},{"1416900379":["hashtag1","hashtag2"]},{"1416900372":["hashtag1","hashtag2"]},{"1416900374":["hashtag1","hashtag2"]},{"1416900377":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900382, 1416900385, 1416900379, 1416900372, 1416900374, 1416900377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45976376533508 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:31:03.599195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/24/image_11052026_21_25_14_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/24/image_11052026_21_25_14_30211.jpg
2026-05-11 21:31:04.188531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/24/image_11052026_21_25_14_30211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/24/image_11052026_21_25_14_30211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900388"],"photo_id":"1416900388","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3f822ad89b42f854155c21905a7eef0.jpg","text":"TemporaryFile(/tmp/multipartBody7067364121967217778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527925030,"filename":"image_11052026_21_25_14_30211.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900388"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900388"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.848879337310791 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900389"],"photo_id":"1416900389","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47673749f88a143f656477b34fbdddf0.jpg","text":"TemporaryFile(/tmp/multipartBody2607049935733271413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527925772,"filename":"image_11052026_21_25_14_30211.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900389"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900389"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.067696332931519 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:32:03.083681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/12/image_08052026_04_13_05_29186.jpg', '/home/pi/Desktop/images/08052026/04/13/image_08052026_04_14_06_30299.jpg', '/home/pi/Desktop/images/08052026/04/14/image_08052026_04_14_35_29347.jpg', '/home/pi/Desktop/images/08052026/04/15/image_08052026_04_16_05_29165.jpg', '/home/pi/Desktop/images/08052026/04/17/image_08052026_04_17_35_29272.jpg', '/home/pi/Desktop/images/08052026/04/18/image_08052026_04_18_36_30288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/12/image_08052026_04_13_05_29186.jpg
/home/pi/Desktop/images/08052026/04/13/image_08052026_04_14_06_30299.jpg
/home/pi/Desktop/images/08052026/04/14/image_08052026_04_14_35_29347.jpg
/home/pi/Desktop/images/08052026/04/15/image_08052026_04_16_05_29165.jpg
/home/pi/Desktop/images/08052026/04/17/image_08052026_04_17_35_29272.jpg
/home/pi/Desktop/images/08052026/04/18/image_08052026_04_18_36_30288.jpg
2026-05-11 21:32:03.128971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/10/image_08052026_14_10_36_30211.jpg', '/home/pi/Desktop/images/08052026/14/09/image_08052026_14_09_35_30239.jpg', '/home/pi/Desktop/images/08052026/14/08/image_08052026_14_09_05_30283.jpg', '/home/pi/Desktop/images/08052026/14/08/image_08052026_14_08_35_29310.jpg', '/home/pi/Desktop/images/08052026/14/07/image_08052026_14_08_06_30206.jpg', '/home/pi/Desktop/images/08052026/14/07/image_08052026_14_07_35_30205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/10/image_08052026_14_10_36_30211.jpg
/home/pi/Desktop/images/08052026/14/09/image_08052026_14_09_35_30239.jpg
/home/pi/Desktop/images/08052026/14/08/image_08052026_14_09_05_30283.jpg
/home/pi/Desktop/images/08052026/14/08/image_08052026_14_08_35_29310.jpg
/home/pi/Desktop/images/08052026/14/07/image_08052026_14_08_06_30206.jpg
/home/pi/Desktop/images/08052026/14/07/image_08052026_14_07_35_30205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900394","1416900400","1416900390","1416900396","1416900398","1416900392"],"photo_ids_order":["1416900390","1416900392","1416900394","1416900396","1416900398","1416900400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/035d86ea84dbee79e4173847fad75cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4504335063261333638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_14_35_29347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd4f9750e9ec9ed80fab16a8b07647b2.jpg","text":"TemporaryFile(/tmp/multipartBody2360988301735742284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_18_36_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/725536d35bea3214a245324b2f5cb472.jpg","text":"TemporaryFile(/tmp/multipartBody2349117489972567465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_13_05_29186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee9a1070d903ef536a2d007560fe7a13.jpg","text":"TemporaryFile(/tmp/multipartBody8849524957044010665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_16_05_29165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a29027dea8090e5b0031b27224843c17.jpg","text":"TemporaryFile(/tmp/multipartBody6106927222602943469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_17_35_29272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2ede3590743f8c70942068dd5ac45e6.jpg","text":"TemporaryFile(/tmp/multipartBody580034199845112222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527989131,"filename":"image_08052026_04_14_06_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900394","file1":"1416900392","file0":"1416900390","file4":"1416900398","file5":"1416900400","file3":"1416900396"},"map_files_photo_id_array":[{"photo_id":"1416900400","filename":"file5"},{"photo_id":"1416900394","filename":"file2"},{"photo_id":"1416900398","filename":"file4"},{"photo_id":"1416900392","filename":"file1"},{"photo_id":"1416900390","filename":"file0"},{"photo_id":"1416900396","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900394":["hashtag1","hashtag2"]},{"1416900400":["hashtag1","hashtag2"]},{"1416900390":["hashtag1","hashtag2"]},{"1416900396":["hashtag1","hashtag2"]},{"1416900398":["hashtag1","hashtag2"]},{"1416900392":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900394, 1416900400, 1416900390, 1416900396, 1416900398, 1416900392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.09482669830322 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900397","1416900391","1416900399","1416900393","1416900395","1416900401"],"photo_ids_order":["1416900391","1416900393","1416900395","1416900397","1416900399","1416900401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da960b83be52601424c07b388e439a16.jpg","text":"TemporaryFile(/tmp/multipartBody4757521854885649088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_08_35_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa3224459c4e14707dfb2921a4fb6b70.jpg","text":"TemporaryFile(/tmp/multipartBody3401967073822959217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_10_36_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed283444c50f50f2dbe47689267193a5.jpg","text":"TemporaryFile(/tmp/multipartBody8912919873340186436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_08_06_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9362c4a00aabb177fb110b0b4f6e9b6.jpg","text":"TemporaryFile(/tmp/multipartBody7108867587489962364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_09_35_30239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/427c7d3a79a3bf1acf715abb01cceff3.jpg","text":"TemporaryFile(/tmp/multipartBody9209506438123299662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_09_05_30283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ffba5742f44b09c9d78e4834c47b9744.jpg","text":"TemporaryFile(/tmp/multipartBody7687980467585354429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778527990537,"filename":"image_08052026_14_07_35_30205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900395","file1":"1416900393","file0":"1416900391","file4":"1416900399","file5":"1416900401","file3":"1416900397"},"map_files_photo_id_array":[{"photo_id":"1416900401","filename":"file5"},{"photo_id":"1416900395","filename":"file2"},{"photo_id":"1416900399","filename":"file4"},{"photo_id":"1416900393","filename":"file1"},{"photo_id":"1416900391","filename":"file0"},{"photo_id":"1416900397","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900397":["hashtag1","hashtag2"]},{"1416900391":["hashtag1","hashtag2"]},{"1416900399":["hashtag1","hashtag2"]},{"1416900393":["hashtag1","hashtag2"]},{"1416900395":["hashtag1","hashtag2"]},{"1416900401":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900397, 1416900391, 1416900399, 1416900393, 1416900395, 1416900401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20205593109131 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:33:04.601089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/14/06/image_08052026_14_07_05_30267.jpg', '/home/pi/Desktop/images/08052026/14/04/image_08052026_14_04_36_30201.jpg', '/home/pi/Desktop/images/08052026/14/03/image_08052026_14_04_06_30321.jpg', '/home/pi/Desktop/images/08052026/14/01/image_08052026_14_02_06_30341.jpg', '/home/pi/Desktop/images/08052026/13/59/image_08052026_13_59_35_30209.jpg', '/home/pi/Desktop/images/08052026/13/57/image_08052026_13_58_05_30259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/14/06/image_08052026_14_07_05_30267.jpg
/home/pi/Desktop/images/08052026/14/04/image_08052026_14_04_36_30201.jpg
/home/pi/Desktop/images/08052026/14/03/image_08052026_14_04_06_30321.jpg
/home/pi/Desktop/images/08052026/14/01/image_08052026_14_02_06_30341.jpg
/home/pi/Desktop/images/08052026/13/59/image_08052026_13_59_35_30209.jpg
/home/pi/Desktop/images/08052026/13/57/image_08052026_13_58_05_30259.jpg
2026-05-11 21:33:04.954936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8422744274139404 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900404","1416900407","1416900406","1416900403","1416900405","1416900402"],"photo_ids_order":["1416900402","1416900403","1416900404","1416900405","1416900406","1416900407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7862a89a3a8af083ee320691a5625940.jpg","text":"TemporaryFile(/tmp/multipartBody4972340182265563007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_14_04_06_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe07b7e5ae4e40abc61bb03d3caeb518.jpg","text":"TemporaryFile(/tmp/multipartBody6010610973814022546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_13_58_05_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25ef618fd6f476b26b1202dd97d6a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4765792388339076678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_13_59_35_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfcc1b41753fb452f0f3481aa09a6560.jpg","text":"TemporaryFile(/tmp/multipartBody742907358422642974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_14_04_36_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e53971d2cd9f23d8cec6c3e21dd1f3a.jpg","text":"TemporaryFile(/tmp/multipartBody7885758723206998907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_14_02_06_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/660dcb19e645cb68009dbaf3b850a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4262431261675116026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528050591,"filename":"image_08052026_14_07_05_30267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900404","file1":"1416900403","file0":"1416900402","file4":"1416900406","file5":"1416900407","file3":"1416900405"},"map_files_photo_id_array":[{"photo_id":"1416900407","filename":"file5"},{"photo_id":"1416900404","filename":"file2"},{"photo_id":"1416900406","filename":"file4"},{"photo_id":"1416900403","filename":"file1"},{"photo_id":"1416900402","filename":"file0"},{"photo_id":"1416900405","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900404":["hashtag1","hashtag2"]},{"1416900407":["hashtag1","hashtag2"]},{"1416900406":["hashtag1","hashtag2"]},{"1416900403":["hashtag1","hashtag2"]},{"1416900405":["hashtag1","hashtag2"]},{"1416900402":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900404, 1416900407, 1416900406, 1416900403, 1416900405, 1416900402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7357976436615 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:34:03.701093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.jpg
2026-05-11 21:34:03.919097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/30/image_11052026_21_30_44_30175.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900408"],"photo_id":"1416900408","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8214742f9acc6f37161c3d8fc95d4556.jpg","text":"TemporaryFile(/tmp/multipartBody56500338765039389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528105236,"filename":"image_11052026_21_30_44_30175.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900408"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900408"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.279109716415405 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900409"],"photo_id":"1416900409","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6edea0f225cb2e2868ddc6ce5cc9337a.jpg","text":"TemporaryFile(/tmp/multipartBody8054352155880954479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528105620,"filename":"image_11052026_21_30_44_30175.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900409"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900409"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.998292684555054 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:35:04.418767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/33/image_11052026_21_33_44_30160.jpg', '/home/pi/Desktop/images/11052026/21/33/image_11052026_21_34_14_30341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/33/image_11052026_21_33_44_30160.jpg
/home/pi/Desktop/images/11052026/21/33/image_11052026_21_34_14_30341.jpg
2026-05-11 21:35:04.528247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/33/image_11052026_21_34_14_30341.jpg', '/home/pi/Desktop/images/11052026/21/33/image_11052026_21_33_44_30160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/33/image_11052026_21_34_14_30341.jpg
/home/pi/Desktop/images/11052026/21/33/image_11052026_21_33_44_30160.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.2046985626220703 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900410","1416900411"],"photo_ids_order":["1416900410","1416900411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3fafcf8bed7e9d0310d3549e1814e756.jpg","text":"TemporaryFile(/tmp/multipartBody2340864333022977362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528167028,"filename":"image_11052026_21_33_44_30160.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51f9a3c40627d084807a5782f7e986b6.jpg","text":"TemporaryFile(/tmp/multipartBody3693065449994163762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528167028,"filename":"image_11052026_21_34_14_30341.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900411","file0":"1416900410"},"map_files_photo_id_array":[{"photo_id":"1416900411","filename":"file1"},{"photo_id":"1416900410","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900410":["hashtag1","hashtag2"]},{"1416900411":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900410, 1416900411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.29516625404358 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:36:03.502463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/34/image_11052026_21_34_44_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/34/image_11052026_21_34_44_30312.jpg
2026-05-11 21:36:03.748315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/34/image_11052026_21_35_13_29225.jpg', '/home/pi/Desktop/images/11052026/21/34/image_11052026_21_34_44_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/34/image_11052026_21_35_13_29225.jpg
/home/pi/Desktop/images/11052026/21/34/image_11052026_21_34_44_30312.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900413"],"photo_id":"1416900413","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3aa8217d1817ed5a9b8ee6d0ef5a62f8.jpg","text":"TemporaryFile(/tmp/multipartBody8149312781748111810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528224873,"filename":"image_11052026_21_34_44_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416900413"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416900413"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.535776376724243 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900415","1416900414"],"photo_ids_order":["1416900414","1416900415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a932058b0918c836fd334f6850941dd.jpg","text":"TemporaryFile(/tmp/multipartBody7695809483979148474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528225563,"filename":"image_11052026_21_34_44_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d59dac6e49d340889ef192db0b43d537.jpg","text":"TemporaryFile(/tmp/multipartBody411494776794565875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528225563,"filename":"image_11052026_21_35_13_29225.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416900415","file0":"1416900414"},"map_files_photo_id_array":[{"photo_id":"1416900415","filename":"file1"},{"photo_id":"1416900414","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416900415":["hashtag1","hashtag2"]},{"1416900414":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416900415, 1416900414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.075784921646118 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:37:04.288575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/26/image_08052026_04_27_05_29197.jpg', '/home/pi/Desktop/images/08052026/04/31/image_08052026_04_31_35_29292.jpg', '/home/pi/Desktop/images/08052026/04/31/image_08052026_04_32_05_30314.jpg', '/home/pi/Desktop/images/08052026/04/32/image_08052026_04_32_35_30321.jpg', '/home/pi/Desktop/images/08052026/04/32/image_08052026_04_33_06_30368.jpg', '/home/pi/Desktop/images/08052026/04/33/image_08052026_04_34_06_30400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/26/image_08052026_04_27_05_29197.jpg
/home/pi/Desktop/images/08052026/04/31/image_08052026_04_31_35_29292.jpg
/home/pi/Desktop/images/08052026/04/31/image_08052026_04_32_05_30314.jpg
/home/pi/Desktop/images/08052026/04/32/image_08052026_04_32_35_30321.jpg
/home/pi/Desktop/images/08052026/04/32/image_08052026_04_33_06_30368.jpg
/home/pi/Desktop/images/08052026/04/33/image_08052026_04_34_06_30400.jpg
2026-05-11 21:37:04.462582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/56/image_08052026_13_57_05_29177.jpg', '/home/pi/Desktop/images/08052026/13/56/image_08052026_13_56_36_30268.jpg', '/home/pi/Desktop/images/08052026/13/55/image_08052026_13_56_06_30262.jpg', '/home/pi/Desktop/images/08052026/13/55/image_08052026_13_55_35_30323.jpg', '/home/pi/Desktop/images/08052026/13/54/image_08052026_13_55_05_29268.jpg', '/home/pi/Desktop/images/08052026/13/53/image_08052026_13_54_05_30282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/56/image_08052026_13_57_05_29177.jpg
/home/pi/Desktop/images/08052026/13/56/image_08052026_13_56_36_30268.jpg
/home/pi/Desktop/images/08052026/13/55/image_08052026_13_56_06_30262.jpg
/home/pi/Desktop/images/08052026/13/55/image_08052026_13_55_35_30323.jpg
/home/pi/Desktop/images/08052026/13/54/image_08052026_13_55_05_29268.jpg
/home/pi/Desktop/images/08052026/13/53/image_08052026_13_54_05_30282.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900769","1416900763","1416900771","1416900765","1416900761","1416900767"],"photo_ids_order":["1416900761","1416900763","1416900765","1416900767","1416900769","1416900771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/481860f1de84eebf1f03823d73e25151.jpg","text":"TemporaryFile(/tmp/multipartBody7074866289364666653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_55_05_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af86f5bb7a9c7917ee5f5964c2f2cb28.jpg","text":"TemporaryFile(/tmp/multipartBody1888096569048491765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_56_36_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31a0f0a9b864e91dd438fae0e86ad5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4306433676617136766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_54_05_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f91cc4631a9f4c57a3524cdd14bfc816.jpg","text":"TemporaryFile(/tmp/multipartBody7221791180941138490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_56_06_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d03fe9f75d93ddc812ce4660312a092f.jpg","text":"TemporaryFile(/tmp/multipartBody7199145460572142251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_57_05_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b8dfcd9f101b9d3eda7808b297ff2131.jpg","text":"TemporaryFile(/tmp/multipartBody3825925690344991008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290955,"filename":"image_08052026_13_55_35_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900765","file1":"1416900763","file0":"1416900761","file4":"1416900769","file5":"1416900771","file3":"1416900767"},"map_files_photo_id_array":[{"photo_id":"1416900771","filename":"file5"},{"photo_id":"1416900765","filename":"file2"},{"photo_id":"1416900769","filename":"file4"},{"photo_id":"1416900763","filename":"file1"},{"photo_id":"1416900761","filename":"file0"},{"photo_id":"1416900767","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900769":["hashtag1","hashtag2"]},{"1416900763":["hashtag1","hashtag2"]},{"1416900771":["hashtag1","hashtag2"]},{"1416900765":["hashtag1","hashtag2"]},{"1416900761":["hashtag1","hashtag2"]},{"1416900767":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900769, 1416900763, 1416900771, 1416900765, 1416900761, 1416900767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71365666389465 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900766","1416900760","1416900762","1416900768","1416900770","1416900764"],"photo_ids_order":["1416900760","1416900762","1416900764","1416900766","1416900768","1416900770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed57ab90930419bb9012679a6a65160e.jpg","text":"TemporaryFile(/tmp/multipartBody525709489128712397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_32_35_30321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bff8b0a02bb5bfd250ee7b2121d18e82.jpg","text":"TemporaryFile(/tmp/multipartBody5978880020277393569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_27_05_29197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1e6dc85e6af60704a6422bc50d6a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8629360193283056909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_31_35_29292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ec7bdd9d5125328f8e9939759ec0305.jpg","text":"TemporaryFile(/tmp/multipartBody5440999619267985389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_33_06_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f15fab7b2b49e11f1a1a3a26801126b.jpg","text":"TemporaryFile(/tmp/multipartBody181286914498183477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_34_06_30400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf1b0b07617b27a525c34318a08c0ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4481217355873820210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528290332,"filename":"image_08052026_04_32_05_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900764","file1":"1416900762","file0":"1416900760","file4":"1416900768","file5":"1416900770","file3":"1416900766"},"map_files_photo_id_array":[{"photo_id":"1416900770","filename":"file5"},{"photo_id":"1416900764","filename":"file2"},{"photo_id":"1416900768","filename":"file4"},{"photo_id":"1416900762","filename":"file1"},{"photo_id":"1416900760","filename":"file0"},{"photo_id":"1416900766","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900766":["hashtag1","hashtag2"]},{"1416900760":["hashtag1","hashtag2"]},{"1416900762":["hashtag1","hashtag2"]},{"1416900768":["hashtag1","hashtag2"]},{"1416900770":["hashtag1","hashtag2"]},{"1416900764":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900766, 1416900760, 1416900762, 1416900768, 1416900770, 1416900764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.07536292076111 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:38:03.331336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/53/image_08052026_13_53_35_30272.jpg', '/home/pi/Desktop/images/08052026/13/52/image_08052026_13_53_05_29213.jpg', '/home/pi/Desktop/images/08052026/13/51/image_08052026_13_52_05_30284.jpg', '/home/pi/Desktop/images/08052026/13/51/image_08052026_13_51_35_30187.jpg', '/home/pi/Desktop/images/08052026/13/50/image_08052026_13_51_05_30208.jpg', '/home/pi/Desktop/images/08052026/13/50/image_08052026_13_50_35_29147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/53/image_08052026_13_53_35_30272.jpg
/home/pi/Desktop/images/08052026/13/52/image_08052026_13_53_05_29213.jpg
/home/pi/Desktop/images/08052026/13/51/image_08052026_13_52_05_30284.jpg
/home/pi/Desktop/images/08052026/13/51/image_08052026_13_51_35_30187.jpg
/home/pi/Desktop/images/08052026/13/50/image_08052026_13_51_05_30208.jpg
/home/pi/Desktop/images/08052026/13/50/image_08052026_13_50_35_29147.jpg
2026-05-11 21:38:03.391537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/34/image_08052026_04_35_05_30310.jpg', '/home/pi/Desktop/images/08052026/04/35/image_08052026_04_35_36_30327.jpg', '/home/pi/Desktop/images/08052026/04/35/image_08052026_04_36_05_29332.jpg', '/home/pi/Desktop/images/08052026/04/36/image_08052026_04_36_35_30293.jpg', '/home/pi/Desktop/images/08052026/04/36/image_08052026_04_37_05_30341.jpg', '/home/pi/Desktop/images/08052026/04/37/image_08052026_04_37_35_29307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/34/image_08052026_04_35_05_30310.jpg
/home/pi/Desktop/images/08052026/04/35/image_08052026_04_35_36_30327.jpg
/home/pi/Desktop/images/08052026/04/35/image_08052026_04_36_05_29332.jpg
/home/pi/Desktop/images/08052026/04/36/image_08052026_04_36_35_30293.jpg
/home/pi/Desktop/images/08052026/04/36/image_08052026_04_37_05_30341.jpg
/home/pi/Desktop/images/08052026/04/37/image_08052026_04_37_35_29307.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900841","1416900844","1416900843","1416900846","1416900836","1416900839"],"photo_ids_order":["1416900836","1416900839","1416900841","1416900843","1416900844","1416900846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cea332046820d42ab6adc2f3557b54a1.jpg","text":"TemporaryFile(/tmp/multipartBody2628907811785824886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_36_05_29332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/72bb12d76f03a4ee7ce06a4ff1470a32.jpg","text":"TemporaryFile(/tmp/multipartBody5646427551508833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_37_05_30341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d4c4ba57b3ff46cf3e94fafc6c94a88.jpg","text":"TemporaryFile(/tmp/multipartBody5714697832478234669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_36_35_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a870facb06cdcc088d493b87a4dc301.jpg","text":"TemporaryFile(/tmp/multipartBody2197038700308870515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_37_35_29307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7430932b685df5981bee7e8165eddeea.jpg","text":"TemporaryFile(/tmp/multipartBody4840664556503036208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_35_05_30310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e789bf00fc900c434fbf32ec1963373.jpg","text":"TemporaryFile(/tmp/multipartBody2045408806688842673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528350293,"filename":"image_08052026_04_35_36_30327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900841","file1":"1416900839","file0":"1416900836","file4":"1416900844","file5":"1416900846","file3":"1416900843"},"map_files_photo_id_array":[{"photo_id":"1416900846","filename":"file5"},{"photo_id":"1416900841","filename":"file2"},{"photo_id":"1416900844","filename":"file4"},{"photo_id":"1416900839","filename":"file1"},{"photo_id":"1416900836","filename":"file0"},{"photo_id":"1416900843","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900841":["hashtag1","hashtag2"]},{"1416900844":["hashtag1","hashtag2"]},{"1416900843":["hashtag1","hashtag2"]},{"1416900846":["hashtag1","hashtag2"]},{"1416900836":["hashtag1","hashtag2"]},{"1416900839":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900841, 1416900844, 1416900843, 1416900846, 1416900836, 1416900839)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416900847","1416900835","1416900838","1416900840","1416900842","1416900845"],"photo_ids_order":["1416900835","1416900838","1416900840","1416900842","1416900845","1416900847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f224229e176517884afe760aac84343.jpg","text":"TemporaryFile(/tmp/multipartBody8529569889424347786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_50_35_29147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfbb7fa565ff9d5cb4c078f5790ba384.jpg","text":"TemporaryFile(/tmp/multipartBody7185006076245129430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_53_35_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e29567905b2e390ad1fa32eef5d5a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1309348350753151300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_53_05_29213.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb3569fd9a4618c6df59690e942fb904.jpg","text":"TemporaryFile(/tmp/multipartBody6085851378781338024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_52_05_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/05cddec6566e11151ac4407d23d2701d.jpg","text":"TemporaryFile(/tmp/multipartBody1841658968405805970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_51_35_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/574ba78fd50f51f512057d3696d8480e.jpg","text":"TemporaryFile(/tmp/multipartBody1741452352654054827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528349544,"filename":"image_08052026_13_51_05_30208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900840","file1":"1416900838","file0":"1416900835","file4":"1416900845","file5":"1416900847","file3":"1416900842"},"map_files_photo_id_array":[{"photo_id":"1416900847","filename":"file5"},{"photo_id":"1416900840","filename":"file2"},{"photo_id":"1416900845","filename":"file4"},{"photo_id":"1416900838","filename":"file1"},{"photo_id":"1416900835","filename":"file0"},{"photo_id":"1416900842","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900847":["hashtag1","hashtag2"]},{"1416900835":["hashtag1","hashtag2"]},{"1416900838":["hashtag1","hashtag2"]},{"1416900840":["hashtag1","hashtag2"]},{"1416900842":["hashtag1","hashtag2"]},{"1416900845":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900847, 1416900835, 1416900838, 1416900840, 1416900842, 1416900845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.37371826171875 secondes ---
uploaded 6 photos
time to upload: 45.541419982910156 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:39:04.659349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/49/image_08052026_13_50_06_30218.jpg', '/home/pi/Desktop/images/08052026/13/48/image_08052026_13_49_05_30334.jpg', '/home/pi/Desktop/images/08052026/13/45/image_08052026_13_46_06_30366.jpg', '/home/pi/Desktop/images/08052026/13/45/image_08052026_13_45_35_30227.jpg', '/home/pi/Desktop/images/08052026/13/44/image_08052026_13_44_35_29259.jpg', '/home/pi/Desktop/images/08052026/13/43/image_08052026_13_44_06_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/49/image_08052026_13_50_06_30218.jpg
/home/pi/Desktop/images/08052026/13/48/image_08052026_13_49_05_30334.jpg
/home/pi/Desktop/images/08052026/13/45/image_08052026_13_46_06_30366.jpg
/home/pi/Desktop/images/08052026/13/45/image_08052026_13_45_35_30227.jpg
/home/pi/Desktop/images/08052026/13/44/image_08052026_13_44_35_29259.jpg
/home/pi/Desktop/images/08052026/13/43/image_08052026_13_44_06_30273.jpg
2026-05-11 21:39:05.035849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/40/image_08052026_04_40_35_29269.jpg', '/home/pi/Desktop/images/08052026/04/41/image_08052026_04_41_35_30346.jpg', '/home/pi/Desktop/images/08052026/04/41/image_08052026_04_42_05_29358.jpg', '/home/pi/Desktop/images/08052026/04/42/image_08052026_04_42_35_30291.jpg', '/home/pi/Desktop/images/08052026/04/43/image_08052026_04_43_35_29345.jpg', '/home/pi/Desktop/images/08052026/04/44/image_08052026_04_44_35_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/40/image_08052026_04_40_35_29269.jpg
/home/pi/Desktop/images/08052026/04/41/image_08052026_04_41_35_30346.jpg
/home/pi/Desktop/images/08052026/04/41/image_08052026_04_42_05_29358.jpg
/home/pi/Desktop/images/08052026/04/42/image_08052026_04_42_35_30291.jpg
/home/pi/Desktop/images/08052026/04/43/image_08052026_04_43_35_29345.jpg
/home/pi/Desktop/images/08052026/04/44/image_08052026_04_44_35_30190.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.504794120788574 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900883","1416900876","1416900885","1416900879","1416900881","1416900848"],"photo_ids_order":["1416900848","1416900876","1416900879","1416900881","1416900883","1416900885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45fc33d6af51f2833d1913ba97f91b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8581175863554334476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_43_35_29345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/12269970f9700adbd3778dc99db8228b.jpg","text":"TemporaryFile(/tmp/multipartBody1560583721948906001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_41_35_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b25fa513f3591dc78cc124c6bef5b24c.jpg","text":"TemporaryFile(/tmp/multipartBody7203634986616728003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_44_35_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4029516f8fa215d8ff8c0155a38ea4c3.jpg","text":"TemporaryFile(/tmp/multipartBody820072672120544906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_42_05_29358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2233554e1c81de677ae426396427a246.jpg","text":"TemporaryFile(/tmp/multipartBody6846478768966694497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_42_35_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bbb3d1a5288edf601225c8179d812398.jpg","text":"TemporaryFile(/tmp/multipartBody1722950494474822654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528410852,"filename":"image_08052026_04_40_35_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900879","file1":"1416900876","file0":"1416900848","file4":"1416900883","file5":"1416900885","file3":"1416900881"},"map_files_photo_id_array":[{"photo_id":"1416900885","filename":"file5"},{"photo_id":"1416900879","filename":"file2"},{"photo_id":"1416900883","filename":"file4"},{"photo_id":"1416900876","filename":"file1"},{"photo_id":"1416900848","filename":"file0"},{"photo_id":"1416900881","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900883":["hashtag1","hashtag2"]},{"1416900876":["hashtag1","hashtag2"]},{"1416900885":["hashtag1","hashtag2"]},{"1416900879":["hashtag1","hashtag2"]},{"1416900881":["hashtag1","hashtag2"]},{"1416900848":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900883, 1416900876, 1416900885, 1416900879, 1416900881, 1416900848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.98787713050842 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:40:03.776518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/04/45/image_08052026_04_45_35_29264.jpg', '/home/pi/Desktop/images/08052026/04/45/image_08052026_04_46_05_30282.jpg', '/home/pi/Desktop/images/08052026/04/46/image_08052026_04_46_36_30394.jpg', '/home/pi/Desktop/images/08052026/04/46/image_08052026_04_47_06_30300.jpg', '/home/pi/Desktop/images/08052026/04/47/image_08052026_04_47_35_29303.jpg', '/home/pi/Desktop/images/08052026/04/48/image_08052026_04_48_35_29278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/04/45/image_08052026_04_45_35_29264.jpg
/home/pi/Desktop/images/08052026/04/45/image_08052026_04_46_05_30282.jpg
/home/pi/Desktop/images/08052026/04/46/image_08052026_04_46_36_30394.jpg
/home/pi/Desktop/images/08052026/04/46/image_08052026_04_47_06_30300.jpg
/home/pi/Desktop/images/08052026/04/47/image_08052026_04_47_35_29303.jpg
/home/pi/Desktop/images/08052026/04/48/image_08052026_04_48_35_29278.jpg
2026-05-11 21:40:03.863119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/49/image_08052026_13_50_06_30218.jpg', '/home/pi/Desktop/images/08052026/13/48/image_08052026_13_49_05_30334.jpg', '/home/pi/Desktop/images/08052026/13/45/image_08052026_13_46_06_30366.jpg', '/home/pi/Desktop/images/08052026/13/45/image_08052026_13_45_35_30227.jpg', '/home/pi/Desktop/images/08052026/13/44/image_08052026_13_44_35_29259.jpg', '/home/pi/Desktop/images/08052026/13/43/image_08052026_13_44_06_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/49/image_08052026_13_50_06_30218.jpg
/home/pi/Desktop/images/08052026/13/48/image_08052026_13_49_05_30334.jpg
/home/pi/Desktop/images/08052026/13/45/image_08052026_13_46_06_30366.jpg
/home/pi/Desktop/images/08052026/13/45/image_08052026_13_45_35_30227.jpg
/home/pi/Desktop/images/08052026/13/44/image_08052026_13_44_35_29259.jpg
/home/pi/Desktop/images/08052026/13/43/image_08052026_13_44_06_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900889","1416900888","1416900897","1416900891","1416900893","1416900895"],"photo_ids_order":["1416900888","1416900889","1416900891","1416900893","1416900895","1416900897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/435df913ac8f7825d1834cd3a72bc746.jpg","text":"TemporaryFile(/tmp/multipartBody1013901863133137994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_49_05_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb7ddfc63dad167d5e9dd773b7c0d703.jpg","text":"TemporaryFile(/tmp/multipartBody4764547847512285172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_50_06_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02d36e466e16064641b8a01891d51eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7826827688778536714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_44_06_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e671f73e756a237ea43159f03c30da8.jpg","text":"TemporaryFile(/tmp/multipartBody64825519533750864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_46_06_30366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40f65807edbbd46e944ac03d2cac2c57.jpg","text":"TemporaryFile(/tmp/multipartBody42467361494231326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_45_35_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b89f718350e5ba869f5e724304cb00e.jpg","text":"TemporaryFile(/tmp/multipartBody2682925319472704513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528471101,"filename":"image_08052026_13_44_35_29259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900891","file1":"1416900889","file0":"1416900888","file4":"1416900895","file5":"1416900897","file3":"1416900893"},"map_files_photo_id_array":[{"photo_id":"1416900897","filename":"file5"},{"photo_id":"1416900891","filename":"file2"},{"photo_id":"1416900895","filename":"file4"},{"photo_id":"1416900889","filename":"file1"},{"photo_id":"1416900888","filename":"file0"},{"photo_id":"1416900893","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900889":["hashtag1","hashtag2"]},{"1416900888":["hashtag1","hashtag2"]},{"1416900897":["hashtag1","hashtag2"]},{"1416900891":["hashtag1","hashtag2"]},{"1416900893":["hashtag1","hashtag2"]},{"1416900895":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900889, 1416900888, 1416900897, 1416900891, 1416900893, 1416900895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.05454397201538 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900898","1416900892","1416900894","1416900890","1416900887","1416900896"],"photo_ids_order":["1416900887","1416900890","1416900892","1416900894","1416900896","1416900898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f6549ed56c7404b696bf680d13a26d7.jpg","text":"TemporaryFile(/tmp/multipartBody4488117168917558527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_48_35_29278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bad54571b48fd5349718443d6e53eda.jpg","text":"TemporaryFile(/tmp/multipartBody3548548832114468783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_46_36_30394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d212c6f5906fa7e5826e825d30ad468a.jpg","text":"TemporaryFile(/tmp/multipartBody7257641380553732790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_47_06_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f7f39d59a2fdc497c42048dc3ac7486.jpg","text":"TemporaryFile(/tmp/multipartBody870749908494679879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_46_05_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c8386468fd71f72ded530536c248eb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4178418513640679455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_45_35_29264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0bdc57fa4054e1d9418337f79bf000e.jpg","text":"TemporaryFile(/tmp/multipartBody8460005284492427849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528470597,"filename":"image_08052026_04_47_35_29303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900892","file1":"1416900890","file0":"1416900887","file4":"1416900896","file5":"1416900898","file3":"1416900894"},"map_files_photo_id_array":[{"photo_id":"1416900898","filename":"file5"},{"photo_id":"1416900892","filename":"file2"},{"photo_id":"1416900896","filename":"file4"},{"photo_id":"1416900890","filename":"file1"},{"photo_id":"1416900887","filename":"file0"},{"photo_id":"1416900894","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900898":["hashtag1","hashtag2"]},{"1416900892":["hashtag1","hashtag2"]},{"1416900894":["hashtag1","hashtag2"]},{"1416900890":["hashtag1","hashtag2"]},{"1416900887":["hashtag1","hashtag2"]},{"1416900896":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900898, 1416900892, 1416900894, 1416900890, 1416900887, 1416900896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.431371450424194 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:41:03.766140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/43/image_08052026_13_43_35_30290.jpg', '/home/pi/Desktop/images/08052026/13/42/image_08052026_13_43_05_29167.jpg', '/home/pi/Desktop/images/08052026/13/42/image_08052026_13_42_36_30257.jpg', '/home/pi/Desktop/images/08052026/13/39/image_08052026_13_40_05_30266.jpg', '/home/pi/Desktop/images/08052026/13/38/image_08052026_13_39_05_30182.jpg', '/home/pi/Desktop/images/08052026/13/38/image_08052026_13_38_35_29268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/43/image_08052026_13_43_35_30290.jpg
/home/pi/Desktop/images/08052026/13/42/image_08052026_13_43_05_29167.jpg
/home/pi/Desktop/images/08052026/13/42/image_08052026_13_42_36_30257.jpg
/home/pi/Desktop/images/08052026/13/39/image_08052026_13_40_05_30266.jpg
/home/pi/Desktop/images/08052026/13/38/image_08052026_13_39_05_30182.jpg
/home/pi/Desktop/images/08052026/13/38/image_08052026_13_38_35_29268.jpg
2026-05-11 21:41:04.112713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.361027717590332 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416900916","1416900915","1416900899","1416901169","1416900918","1416900980"],"photo_ids_order":["1416900899","1416900915","1416900916","1416900918","1416900980","1416901169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/577b77df30264a2d312b6bf37d2b353e.jpg","text":"TemporaryFile(/tmp/multipartBody4811022137376484871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_42_36_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb1ac0a02da0e6174b779ba2d484c320.jpg","text":"TemporaryFile(/tmp/multipartBody5736203067616785392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_43_05_29167.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ea04b1ddaa4357ae0036c74ef787eba.jpg","text":"TemporaryFile(/tmp/multipartBody7648090464338995706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_43_35_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0ae6e26bda7fe168edb495e2daa68c7.jpg","text":"TemporaryFile(/tmp/multipartBody4296229965626041905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_38_35_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2e4ca17c47f863f604a85672d7000cb.jpg","text":"TemporaryFile(/tmp/multipartBody8136092227583341795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_40_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/940a2242adc3dc78730b57193a35c01f.jpg","text":"TemporaryFile(/tmp/multipartBody8310809258529399145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528527354,"filename":"image_08052026_13_39_05_30182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416900916","file1":"1416900915","file0":"1416900899","file4":"1416900980","file5":"1416901169","file3":"1416900918"},"map_files_photo_id_array":[{"photo_id":"1416901169","filename":"file5"},{"photo_id":"1416900916","filename":"file2"},{"photo_id":"1416900980","filename":"file4"},{"photo_id":"1416900915","filename":"file1"},{"photo_id":"1416900899","filename":"file0"},{"photo_id":"1416900918","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416900916":["hashtag1","hashtag2"]},{"1416900915":["hashtag1","hashtag2"]},{"1416900899":["hashtag1","hashtag2"]},{"1416901169":["hashtag1","hashtag2"]},{"1416900918":["hashtag1","hashtag2"]},{"1416900980":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416900916, 1416900915, 1416900899, 1416901169, 1416900918, 1416900980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09000325202942 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:42:03.244576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.jpg
2026-05-11 21:42:03.319382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/36/image_11052026_21_36_44_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901276"],"photo_id":"1416901276","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c8ccdc97ddd9c8c73468dca37e427ca.jpg","text":"TemporaryFile(/tmp/multipartBody4237147572067709942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528584604,"filename":"image_11052026_21_36_44_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901276"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901276"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.934760808944702 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901277"],"photo_id":"1416901277","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9105f36147929517267e7cc0a72de33.jpg","text":"TemporaryFile(/tmp/multipartBody9144933748362291832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528584753,"filename":"image_11052026_21_36_44_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901277"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.40256667137146 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:43:04.305023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/05/image_08052026_05_06_05_30288.jpg', '/home/pi/Desktop/images/08052026/05/08/image_08052026_05_08_35_29269.jpg', '/home/pi/Desktop/images/08052026/05/08/image_08052026_05_09_05_30217.jpg', '/home/pi/Desktop/images/08052026/05/09/image_08052026_05_09_36_30429.jpg', '/home/pi/Desktop/images/08052026/05/11/image_08052026_05_12_05_29231.jpg', '/home/pi/Desktop/images/08052026/05/17/image_08052026_05_18_06_30322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/05/image_08052026_05_06_05_30288.jpg
/home/pi/Desktop/images/08052026/05/08/image_08052026_05_08_35_29269.jpg
/home/pi/Desktop/images/08052026/05/08/image_08052026_05_09_05_30217.jpg
/home/pi/Desktop/images/08052026/05/09/image_08052026_05_09_36_30429.jpg
/home/pi/Desktop/images/08052026/05/11/image_08052026_05_12_05_29231.jpg
/home/pi/Desktop/images/08052026/05/17/image_08052026_05_18_06_30322.jpg
2026-05-11 21:43:04.337452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/37/image_08052026_13_38_06_30266.jpg', '/home/pi/Desktop/images/08052026/13/37/image_08052026_13_37_35_30301.jpg', '/home/pi/Desktop/images/08052026/13/31/image_08052026_13_31_35_30271.jpg', '/home/pi/Desktop/images/08052026/13/28/image_08052026_13_28_36_30226.jpg', '/home/pi/Desktop/images/08052026/13/27/image_08052026_13_28_05_30284.jpg', '/home/pi/Desktop/images/08052026/13/27/image_08052026_13_27_35_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/37/image_08052026_13_38_06_30266.jpg
/home/pi/Desktop/images/08052026/13/37/image_08052026_13_37_35_30301.jpg
/home/pi/Desktop/images/08052026/13/31/image_08052026_13_31_35_30271.jpg
/home/pi/Desktop/images/08052026/13/28/image_08052026_13_28_36_30226.jpg
/home/pi/Desktop/images/08052026/13/27/image_08052026_13_28_05_30284.jpg
/home/pi/Desktop/images/08052026/13/27/image_08052026_13_27_35_30235.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.025327444076538 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901299","1416901293","1416901296","1416901286","1416901291","1416901288"],"photo_ids_order":["1416901286","1416901288","1416901291","1416901293","1416901296","1416901299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b294d45b94aad9347f556b6a44828261.jpg","text":"TemporaryFile(/tmp/multipartBody4597229744618301414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_18_06_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50112fa995cb4986bc2a5e4d4f7ae70a.jpg","text":"TemporaryFile(/tmp/multipartBody6490084455870278690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_09_36_30429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1626f738af99b8e71e5f0b42c8df82cf.jpg","text":"TemporaryFile(/tmp/multipartBody4340975679358300800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_12_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0837f498c23bb50104ae9d7d0a1a7228.jpg","text":"TemporaryFile(/tmp/multipartBody1868968213905069695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_06_05_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74ebe0ad0b8c2b094d70277101f51aa9.jpg","text":"TemporaryFile(/tmp/multipartBody4457563335224645796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_09_05_30217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09c7ee425feef92de4df9f8df564630a.jpg","text":"TemporaryFile(/tmp/multipartBody1553302540843357956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528650937,"filename":"image_08052026_05_08_35_29269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901291","file1":"1416901288","file0":"1416901286","file4":"1416901296","file5":"1416901299","file3":"1416901293"},"map_files_photo_id_array":[{"photo_id":"1416901299","filename":"file5"},{"photo_id":"1416901291","filename":"file2"},{"photo_id":"1416901296","filename":"file4"},{"photo_id":"1416901288","filename":"file1"},{"photo_id":"1416901286","filename":"file0"},{"photo_id":"1416901293","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901299":["hashtag1","hashtag2"]},{"1416901293":["hashtag1","hashtag2"]},{"1416901296":["hashtag1","hashtag2"]},{"1416901286":["hashtag1","hashtag2"]},{"1416901291":["hashtag1","hashtag2"]},{"1416901288":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901299, 1416901293, 1416901296, 1416901286, 1416901291, 1416901288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.027695417404175 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:44:03.833270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/18/image_08052026_05_19_05_30274.jpg', '/home/pi/Desktop/images/08052026/05/19/image_08052026_05_19_36_30295.jpg', '/home/pi/Desktop/images/08052026/05/19/image_08052026_05_20_05_29268.jpg', '/home/pi/Desktop/images/08052026/05/20/image_08052026_05_20_35_30204.jpg', '/home/pi/Desktop/images/08052026/05/23/image_08052026_05_24_05_30291.jpg', '/home/pi/Desktop/images/08052026/05/24/image_08052026_05_25_06_30298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/18/image_08052026_05_19_05_30274.jpg
/home/pi/Desktop/images/08052026/05/19/image_08052026_05_19_36_30295.jpg
/home/pi/Desktop/images/08052026/05/19/image_08052026_05_20_05_29268.jpg
/home/pi/Desktop/images/08052026/05/20/image_08052026_05_20_35_30204.jpg
/home/pi/Desktop/images/08052026/05/23/image_08052026_05_24_05_30291.jpg
/home/pi/Desktop/images/08052026/05/24/image_08052026_05_25_06_30298.jpg
2026-05-11 21:44:03.892267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/37/image_08052026_13_38_06_30266.jpg', '/home/pi/Desktop/images/08052026/13/37/image_08052026_13_37_35_30301.jpg', '/home/pi/Desktop/images/08052026/13/31/image_08052026_13_31_35_30271.jpg', '/home/pi/Desktop/images/08052026/13/28/image_08052026_13_28_36_30226.jpg', '/home/pi/Desktop/images/08052026/13/27/image_08052026_13_28_05_30284.jpg', '/home/pi/Desktop/images/08052026/13/27/image_08052026_13_27_35_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/37/image_08052026_13_38_06_30266.jpg
/home/pi/Desktop/images/08052026/13/37/image_08052026_13_37_35_30301.jpg
/home/pi/Desktop/images/08052026/13/31/image_08052026_13_31_35_30271.jpg
/home/pi/Desktop/images/08052026/13/28/image_08052026_13_28_36_30226.jpg
/home/pi/Desktop/images/08052026/13/27/image_08052026_13_28_05_30284.jpg
/home/pi/Desktop/images/08052026/13/27/image_08052026_13_27_35_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901312","1416901309","1416901302","1416901305","1416901314","1416901307"],"photo_ids_order":["1416901302","1416901305","1416901307","1416901309","1416901312","1416901314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ed84e8b522ffaa4f980b7d71cc1659f.jpg","text":"TemporaryFile(/tmp/multipartBody5100164533016330270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_28_05_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ffc41c0f2b3fbc49fa8c4d1f0951a16.jpg","text":"TemporaryFile(/tmp/multipartBody6224585763861535513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_28_36_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2cf6e82c72035256f31d8865b7fb306f.jpg","text":"TemporaryFile(/tmp/multipartBody8745212069316231196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_38_06_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbbdf9490e34ad3316fe66549992ab79.jpg","text":"TemporaryFile(/tmp/multipartBody7354242624746550503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_37_35_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/29dccd1fc4113d4cce3c2dae7ea9283a.jpg","text":"TemporaryFile(/tmp/multipartBody1490060606834467183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_27_35_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6705f3b596e6deb604b9e2bbf14e8d77.jpg","text":"TemporaryFile(/tmp/multipartBody6336321974768964645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528709637,"filename":"image_08052026_13_31_35_30271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901307","file1":"1416901305","file0":"1416901302","file4":"1416901312","file5":"1416901314","file3":"1416901309"},"map_files_photo_id_array":[{"photo_id":"1416901314","filename":"file5"},{"photo_id":"1416901307","filename":"file2"},{"photo_id":"1416901312","filename":"file4"},{"photo_id":"1416901305","filename":"file1"},{"photo_id":"1416901302","filename":"file0"},{"photo_id":"1416901309","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901312":["hashtag1","hashtag2"]},{"1416901309":["hashtag1","hashtag2"]},{"1416901302":["hashtag1","hashtag2"]},{"1416901305":["hashtag1","hashtag2"]},{"1416901314":["hashtag1","hashtag2"]},{"1416901307":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901312, 1416901309, 1416901302, 1416901305, 1416901314, 1416901307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60306644439697 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901306","1416901315","1416901303","1416901308","1416901313","1416901310"],"photo_ids_order":["1416901303","1416901306","1416901308","1416901310","1416901313","1416901315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7493dc36cdd618c4e5e89219c777e6be.jpg","text":"TemporaryFile(/tmp/multipartBody1590104485609678707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_19_36_30295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd78f834947af0bdd2be1b9ed9283071.jpg","text":"TemporaryFile(/tmp/multipartBody4945065553836969318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_25_06_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7114eee59afb9813d5d8aac07d001fcc.jpg","text":"TemporaryFile(/tmp/multipartBody1641626270258120181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_19_05_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/50b3f186057619da505fdf4a0619376b.jpg","text":"TemporaryFile(/tmp/multipartBody2448501350135537085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_20_05_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4dadeb6f65bfe1359769760e05544661.jpg","text":"TemporaryFile(/tmp/multipartBody977768991239772941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_24_05_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8d0bbccb6e23ca1e45a6d704e72520c.jpg","text":"TemporaryFile(/tmp/multipartBody383799752144969311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528710811,"filename":"image_08052026_05_20_35_30204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901308","file1":"1416901306","file0":"1416901303","file4":"1416901313","file5":"1416901315","file3":"1416901310"},"map_files_photo_id_array":[{"photo_id":"1416901315","filename":"file5"},{"photo_id":"1416901308","filename":"file2"},{"photo_id":"1416901313","filename":"file4"},{"photo_id":"1416901306","filename":"file1"},{"photo_id":"1416901303","filename":"file0"},{"photo_id":"1416901310","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901306":["hashtag1","hashtag2"]},{"1416901315":["hashtag1","hashtag2"]},{"1416901303":["hashtag1","hashtag2"]},{"1416901308":["hashtag1","hashtag2"]},{"1416901313":["hashtag1","hashtag2"]},{"1416901310":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901306, 1416901315, 1416901303, 1416901308, 1416901313, 1416901310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84936475753784 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:45:04.189565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/41/image_11052026_21_41_44_29182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/41/image_11052026_21_41_44_29182.jpg
2026-05-11 21:45:04.144180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/41/image_11052026_21_41_44_29182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/41/image_11052026_21_41_44_29182.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901316"],"photo_id":"1416901316","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ab4f9d933fbf5f150342b441882c1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3820791848474142023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528766216,"filename":"image_11052026_21_41_44_29182.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901316"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901316"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416901317"],"photo_id":"1416901317","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25ddc971d0412e23282053c5d006b128.jpg","text":"TemporaryFile(/tmp/multipartBody130427807423306826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528766323,"filename":"image_11052026_21_41_44_29182.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901317"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901317"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.915027618408203 secondes ---
uploaded 1 photos
time to upload: 16.010857820510864 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:46:03.431880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/28/image_08052026_05_28_35_30299.jpg', '/home/pi/Desktop/images/08052026/05/32/image_08052026_05_33_05_30283.jpg', '/home/pi/Desktop/images/08052026/05/36/image_08052026_05_36_35_29256.jpg', '/home/pi/Desktop/images/08052026/05/36/image_08052026_05_37_05_30209.jpg', '/home/pi/Desktop/images/08052026/05/37/image_08052026_05_37_36_30248.jpg', '/home/pi/Desktop/images/08052026/05/37/image_08052026_05_38_05_29323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/28/image_08052026_05_28_35_30299.jpg
/home/pi/Desktop/images/08052026/05/32/image_08052026_05_33_05_30283.jpg
/home/pi/Desktop/images/08052026/05/36/image_08052026_05_36_35_29256.jpg
/home/pi/Desktop/images/08052026/05/36/image_08052026_05_37_05_30209.jpg
/home/pi/Desktop/images/08052026/05/37/image_08052026_05_37_36_30248.jpg
/home/pi/Desktop/images/08052026/05/37/image_08052026_05_38_05_29323.jpg
2026-05-11 21:46:03.452793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg', '/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.968577861785889 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901324","1416901318","1416901326","1416901328","1416901322","1416901319"],"photo_ids_order":["1416901318","1416901319","1416901322","1416901324","1416901326","1416901328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0521c246e79f0530296e37b8e708f936.jpg","text":"TemporaryFile(/tmp/multipartBody2531685654655760332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_37_05_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8b885ae3c36088a7a7985538cc8f77f.jpg","text":"TemporaryFile(/tmp/multipartBody2598373059373294833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_28_35_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7421c0924cb8cdc64236c37923718024.jpg","text":"TemporaryFile(/tmp/multipartBody1043257422728079121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_37_36_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dc2a782c895dcf8534c74774c81844e0.jpg","text":"TemporaryFile(/tmp/multipartBody2075907095014984293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_38_05_29323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/30bbe613effbdd277f85e805bca23f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5789321254761868413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_36_35_29256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f926b9e1e4cd1263aa5f452be8381fc.jpg","text":"TemporaryFile(/tmp/multipartBody7773368180889913646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528829563,"filename":"image_08052026_05_33_05_30283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901322","file1":"1416901319","file0":"1416901318","file4":"1416901326","file5":"1416901328","file3":"1416901324"},"map_files_photo_id_array":[{"photo_id":"1416901328","filename":"file5"},{"photo_id":"1416901322","filename":"file2"},{"photo_id":"1416901326","filename":"file4"},{"photo_id":"1416901319","filename":"file1"},{"photo_id":"1416901318","filename":"file0"},{"photo_id":"1416901324","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901324":["hashtag1","hashtag2"]},{"1416901318":["hashtag1","hashtag2"]},{"1416901326":["hashtag1","hashtag2"]},{"1416901328":["hashtag1","hashtag2"]},{"1416901322":["hashtag1","hashtag2"]},{"1416901319":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901324, 1416901318, 1416901326, 1416901328, 1416901322, 1416901319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.34882640838623 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:47:05.124504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/43/image_11052026_21_44_14_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/43/image_11052026_21_44_14_30292.jpg
2026-05-11 21:47:05.011396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/43/image_11052026_21_44_14_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/43/image_11052026_21_44_14_30292.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4377460479736328 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901329"],"photo_id":"1416901329","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f1d4a40525635f27af1d06e1ecb974b.jpg","text":"TemporaryFile(/tmp/multipartBody857648525537448240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528886935,"filename":"image_11052026_21_44_14_30292.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901329"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901329"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.044451236724854 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:48:03.111221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/38/image_08052026_05_38_35_30184.jpg', '/home/pi/Desktop/images/08052026/05/38/image_08052026_05_39_05_30224.jpg', '/home/pi/Desktop/images/08052026/05/41/image_08052026_05_41_36_30322.jpg', '/home/pi/Desktop/images/08052026/05/46/image_08052026_05_46_35_29299.jpg', '/home/pi/Desktop/images/08052026/05/49/image_08052026_05_50_05_29256.jpg', '/home/pi/Desktop/images/08052026/05/50/image_08052026_05_50_35_30395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/38/image_08052026_05_38_35_30184.jpg
/home/pi/Desktop/images/08052026/05/38/image_08052026_05_39_05_30224.jpg
/home/pi/Desktop/images/08052026/05/41/image_08052026_05_41_36_30322.jpg
/home/pi/Desktop/images/08052026/05/46/image_08052026_05_46_35_29299.jpg
/home/pi/Desktop/images/08052026/05/49/image_08052026_05_50_05_29256.jpg
/home/pi/Desktop/images/08052026/05/50/image_08052026_05_50_35_30395.jpg
2026-05-11 21:48:03.298024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/47/image_11052026_21_47_44_29132.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/47/image_11052026_21_47_44_29132.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901330"],"photo_id":"1416901330","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec92ead6bed4b28ad01ee3e1542ea816.jpg","text":"TemporaryFile(/tmp/multipartBody3226415241098338751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528945070,"filename":"image_11052026_21_47_44_29132.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901330"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.043301582336426 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901336","1416901333","1416901335","1416901332","1416901331","1416901334"],"photo_ids_order":["1416901331","1416901332","1416901333","1416901334","1416901335","1416901336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ebecb3791f644a7082e1f75948f97841.jpg","text":"TemporaryFile(/tmp/multipartBody4180195203753734085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_50_35_30395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea87d860c38f1feaef7133f8d78e793c.jpg","text":"TemporaryFile(/tmp/multipartBody3735542438717966259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_41_36_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/067af253987446da45d04baaedf0e596.jpg","text":"TemporaryFile(/tmp/multipartBody3852711718727729235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_50_05_29256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/237e94d748ea3af12bcf016a8459c882.jpg","text":"TemporaryFile(/tmp/multipartBody8848125418252042290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_39_05_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52e6c62c8facad91dae3cd6034d6b1d3.jpg","text":"TemporaryFile(/tmp/multipartBody5707816818176624266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_38_35_30184.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1de2bbc3d2989aef6d9b66607352e10.jpg","text":"TemporaryFile(/tmp/multipartBody7084328059223198297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778528948185,"filename":"image_08052026_05_46_35_29299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901333","file1":"1416901332","file0":"1416901331","file4":"1416901335","file5":"1416901336","file3":"1416901334"},"map_files_photo_id_array":[{"photo_id":"1416901336","filename":"file5"},{"photo_id":"1416901333","filename":"file2"},{"photo_id":"1416901335","filename":"file4"},{"photo_id":"1416901332","filename":"file1"},{"photo_id":"1416901331","filename":"file0"},{"photo_id":"1416901334","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901336":["hashtag1","hashtag2"]},{"1416901333":["hashtag1","hashtag2"]},{"1416901335":["hashtag1","hashtag2"]},{"1416901332":["hashtag1","hashtag2"]},{"1416901331":["hashtag1","hashtag2"]},{"1416901334":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901336, 1416901333, 1416901335, 1416901332, 1416901331, 1416901334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.09491467475891 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:49:03.920552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/50/image_08052026_05_51_06_30317.jpg', '/home/pi/Desktop/images/08052026/05/51/image_08052026_05_51_35_29304.jpg', '/home/pi/Desktop/images/08052026/05/51/image_08052026_05_52_05_30336.jpg', '/home/pi/Desktop/images/08052026/05/52/image_08052026_05_52_35_30308.jpg', '/home/pi/Desktop/images/08052026/05/52/image_08052026_05_53_06_30330.jpg', '/home/pi/Desktop/images/08052026/05/54/image_08052026_05_55_05_30316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/50/image_08052026_05_51_06_30317.jpg
/home/pi/Desktop/images/08052026/05/51/image_08052026_05_51_35_29304.jpg
/home/pi/Desktop/images/08052026/05/51/image_08052026_05_52_05_30336.jpg
/home/pi/Desktop/images/08052026/05/52/image_08052026_05_52_35_30308.jpg
/home/pi/Desktop/images/08052026/05/52/image_08052026_05_53_06_30330.jpg
/home/pi/Desktop/images/08052026/05/54/image_08052026_05_55_05_30316.jpg
2026-05-11 21:49:04.179129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg', '/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.966916799545288 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901342","1416901347","1416901344","1416901338","1416901340","1416901337"],"photo_ids_order":["1416901337","1416901338","1416901340","1416901342","1416901344","1416901347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd08bf634ec0d23c5dd7e1ba6af51c99.jpg","text":"TemporaryFile(/tmp/multipartBody2806908637988237196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_52_35_30308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a8caf0d7d3f5bc6dece80c60d0c7513.jpg","text":"TemporaryFile(/tmp/multipartBody2270164255977024590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_55_05_30316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ac52705e1325646461731f6c3f86b63.jpg","text":"TemporaryFile(/tmp/multipartBody7412768414451930170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_53_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5da533d37ea2fd05152dd002468bed2.jpg","text":"TemporaryFile(/tmp/multipartBody3449111655179042191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_51_35_29304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fceb4b97fa4abf8f0eeac5c6c8e14ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7291822642127468711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_52_05_30336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/945c99f5b0e557ec01b513f288b19189.jpg","text":"TemporaryFile(/tmp/multipartBody6512245393887139882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529010137,"filename":"image_08052026_05_51_06_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901340","file1":"1416901338","file0":"1416901337","file4":"1416901344","file5":"1416901347","file3":"1416901342"},"map_files_photo_id_array":[{"photo_id":"1416901347","filename":"file5"},{"photo_id":"1416901340","filename":"file2"},{"photo_id":"1416901344","filename":"file4"},{"photo_id":"1416901338","filename":"file1"},{"photo_id":"1416901337","filename":"file0"},{"photo_id":"1416901342","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901342":["hashtag1","hashtag2"]},{"1416901347":["hashtag1","hashtag2"]},{"1416901344":["hashtag1","hashtag2"]},{"1416901338":["hashtag1","hashtag2"]},{"1416901340":["hashtag1","hashtag2"]},{"1416901337":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901342, 1416901347, 1416901344, 1416901338, 1416901340, 1416901337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95496201515198 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:50:03.356147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/47/image_11052026_21_48_14_30266.jpg', '/home/pi/Desktop/images/11052026/21/48/image_11052026_21_49_13_29254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/47/image_11052026_21_48_14_30266.jpg
/home/pi/Desktop/images/11052026/21/48/image_11052026_21_49_13_29254.jpg
2026-05-11 21:50:03.600018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/49/image_11052026_21_49_44_30218.jpg', '/home/pi/Desktop/images/11052026/21/48/image_11052026_21_49_13_29254.jpg', '/home/pi/Desktop/images/11052026/21/47/image_11052026_21_48_14_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/49/image_11052026_21_49_44_30218.jpg
/home/pi/Desktop/images/11052026/21/48/image_11052026_21_49_13_29254.jpg
/home/pi/Desktop/images/11052026/21/47/image_11052026_21_48_14_30266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901356","1416901354"],"photo_ids_order":["1416901354","1416901356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f5a8f95d59a57178d57b88bbea355a8.jpg","text":"TemporaryFile(/tmp/multipartBody5604990672712809629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529066041,"filename":"image_11052026_21_49_13_29254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b2745d58385afb1502dec357fb4692f.jpg","text":"TemporaryFile(/tmp/multipartBody469332122877585219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529066041,"filename":"image_11052026_21_48_14_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416901356","file0":"1416901354"},"map_files_photo_id_array":[{"photo_id":"1416901356","filename":"file1"},{"photo_id":"1416901354","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416901356":["hashtag1","hashtag2"]},{"1416901354":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416901356, 1416901354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.899508714675903 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901357","1416901358","1416901355"],"photo_ids_order":["1416901355","1416901357","1416901358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8271010480fd33a5b72d22c5e432246c.jpg","text":"TemporaryFile(/tmp/multipartBody1002116615098913625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529067112,"filename":"image_11052026_21_49_13_29254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/db75a5ffd202767fa299d1c8ac61b1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5073882619603212628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529067112,"filename":"image_11052026_21_48_14_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b774f05cc3ad3a760366d77897b55f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1754473028940044033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529067112,"filename":"image_11052026_21_49_44_30218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901358","file1":"1416901357","file0":"1416901355"},"map_files_photo_id_array":[{"photo_id":"1416901358","filename":"file2"},{"photo_id":"1416901357","filename":"file1"},{"photo_id":"1416901355","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416901357":["hashtag1","hashtag2"]},{"1416901358":["hashtag1","hashtag2"]},{"1416901355":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416901357, 1416901358, 1416901355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.64616322517395 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:51:04.464915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/50/image_11052026_21_50_44_30302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/50/image_11052026_21_50_44_30302.jpg
2026-05-11 21:51:04.706070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/50/image_11052026_21_50_44_30302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/50/image_11052026_21_50_44_30302.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2553575038909912 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901359"],"photo_id":"1416901359","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0e885121bf16f96c2e144beed47dacc.jpg","text":"TemporaryFile(/tmp/multipartBody7773744052648270043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529126799,"filename":"image_11052026_21_50_44_30302.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901359"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901359"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.6721932888031 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:52:03.341361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg', '/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg', '/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg', '/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_27_05_29189.jpg
/home/pi/Desktop/images/08052026/13/26/image_08052026_13_26_36_30323.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_26_05_30260.jpg
/home/pi/Desktop/images/08052026/13/25/image_08052026_13_25_35_30234.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_25_05_29190.jpg
/home/pi/Desktop/images/08052026/13/24/image_08052026_13_24_36_30201.jpg
2026-05-11 21:52:03.580615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/05/55/image_08052026_05_56_06_30314.jpg', '/home/pi/Desktop/images/08052026/05/56/image_08052026_05_57_05_30200.jpg', '/home/pi/Desktop/images/08052026/05/57/image_08052026_05_57_36_30398.jpg', '/home/pi/Desktop/images/08052026/06/00/image_08052026_06_00_35_30374.jpg', '/home/pi/Desktop/images/08052026/06/35/image_08052026_06_36_05_30332.jpg', '/home/pi/Desktop/images/08052026/06/44/image_08052026_06_44_35_29247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/05/55/image_08052026_05_56_06_30314.jpg
/home/pi/Desktop/images/08052026/05/56/image_08052026_05_57_05_30200.jpg
/home/pi/Desktop/images/08052026/05/57/image_08052026_05_57_36_30398.jpg
/home/pi/Desktop/images/08052026/06/00/image_08052026_06_00_35_30374.jpg
/home/pi/Desktop/images/08052026/06/35/image_08052026_06_36_05_30332.jpg
/home/pi/Desktop/images/08052026/06/44/image_08052026_06_44_35_29247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901366","1416901368","1416901362","1416901370","1416901364","1416901360"],"photo_ids_order":["1416901360","1416901362","1416901364","1416901366","1416901368","1416901370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce87396b51a063459b853b5b978d4583.jpg","text":"TemporaryFile(/tmp/multipartBody6680555695657471592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_25_35_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/05726977b2283f4577ae23c2de60788e.jpg","text":"TemporaryFile(/tmp/multipartBody2297931825430455329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_25_05_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae944d1ddf2ba95d46418e720356fc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8212727123244658920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_26_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e8aac8ac2019e41594b88a8e5e83963.jpg","text":"TemporaryFile(/tmp/multipartBody6557194954370061146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_24_36_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab36c025e0f0e2b02f0adc2e024bf4a5.jpg","text":"TemporaryFile(/tmp/multipartBody527046469991408406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_26_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4e256098124a67f5abb559f92d871cb.jpg","text":"TemporaryFile(/tmp/multipartBody6077293785485205573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529190034,"filename":"image_08052026_13_27_05_29189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901364","file1":"1416901362","file0":"1416901360","file4":"1416901368","file5":"1416901370","file3":"1416901366"},"map_files_photo_id_array":[{"photo_id":"1416901370","filename":"file5"},{"photo_id":"1416901364","filename":"file2"},{"photo_id":"1416901368","filename":"file4"},{"photo_id":"1416901362","filename":"file1"},{"photo_id":"1416901360","filename":"file0"},{"photo_id":"1416901366","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901366":["hashtag1","hashtag2"]},{"1416901368":["hashtag1","hashtag2"]},{"1416901362":["hashtag1","hashtag2"]},{"1416901370":["hashtag1","hashtag2"]},{"1416901364":["hashtag1","hashtag2"]},{"1416901360":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901366, 1416901368, 1416901362, 1416901370, 1416901364, 1416901360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.909595012664795 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901363","1416901371","1416901365","1416901361","1416901367","1416901369"],"photo_ids_order":["1416901361","1416901363","1416901365","1416901367","1416901369","1416901371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93af8beb7cc92b03df1c4bfafbfafc2b.jpg","text":"TemporaryFile(/tmp/multipartBody4630726886891479777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_05_57_05_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4b90bfcfa6a7f54793302682729ed25.jpg","text":"TemporaryFile(/tmp/multipartBody3064774010218222553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_06_44_35_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c26eb73632870428d600a8a4c1ff5401.jpg","text":"TemporaryFile(/tmp/multipartBody8365680424333252122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_05_57_36_30398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/650c0f6a5c9679050fd1b44881d55213.jpg","text":"TemporaryFile(/tmp/multipartBody473176515933634180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_05_56_06_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2872ab8227854a5d93fc1ec36f6dffaf.jpg","text":"TemporaryFile(/tmp/multipartBody113444945687761552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_06_00_35_30374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/810effb36f37fc4443ff42840566265f.jpg","text":"TemporaryFile(/tmp/multipartBody2667490531128647737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529192120,"filename":"image_08052026_06_36_05_30332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901365","file1":"1416901363","file0":"1416901361","file4":"1416901369","file5":"1416901371","file3":"1416901367"},"map_files_photo_id_array":[{"photo_id":"1416901371","filename":"file5"},{"photo_id":"1416901365","filename":"file2"},{"photo_id":"1416901369","filename":"file4"},{"photo_id":"1416901363","filename":"file1"},{"photo_id":"1416901361","filename":"file0"},{"photo_id":"1416901367","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901363":["hashtag1","hashtag2"]},{"1416901371":["hashtag1","hashtag2"]},{"1416901365":["hashtag1","hashtag2"]},{"1416901361":["hashtag1","hashtag2"]},{"1416901367":["hashtag1","hashtag2"]},{"1416901369":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901363, 1416901371, 1416901365, 1416901361, 1416901367, 1416901369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.50665068626404 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:53:04.271143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/51/image_11052026_21_52_14_30205.jpg', '/home/pi/Desktop/images/11052026/21/51/image_11052026_21_51_44_29083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/51/image_11052026_21_52_14_30205.jpg
/home/pi/Desktop/images/11052026/21/51/image_11052026_21_51_44_29083.jpg
2026-05-11 21:53:04.570763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/51/image_11052026_21_51_44_29083.jpg', '/home/pi/Desktop/images/11052026/21/51/image_11052026_21_52_14_30205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/51/image_11052026_21_51_44_29083.jpg
/home/pi/Desktop/images/11052026/21/51/image_11052026_21_52_14_30205.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.008441925048828 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901373","1416901372"],"photo_ids_order":["1416901372","1416901373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b04ac8eb3053c84fa43b674cd5b9665b.jpg","text":"TemporaryFile(/tmp/multipartBody8389838803216750774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529247266,"filename":"image_11052026_21_52_14_30205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c77650025f9e49debea969ca2cbfb1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1757848785906955996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529247266,"filename":"image_11052026_21_51_44_29083.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416901373","file0":"1416901372"},"map_files_photo_id_array":[{"photo_id":"1416901373","filename":"file1"},{"photo_id":"1416901372","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416901373":["hashtag1","hashtag2"]},{"1416901372":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416901373, 1416901372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.893648624420166 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:54:03.630255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/52/image_11052026_21_53_14_30352.jpg', '/home/pi/Desktop/images/11052026/21/52/image_11052026_21_52_44_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/52/image_11052026_21_53_14_30352.jpg
/home/pi/Desktop/images/11052026/21/52/image_11052026_21_52_44_30225.jpg
2026-05-11 21:54:03.656778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/52/image_11052026_21_52_44_30225.jpg', '/home/pi/Desktop/images/11052026/21/52/image_11052026_21_53_14_30352.jpg', '/home/pi/Desktop/images/11052026/21/53/image_11052026_21_53_43_29131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/52/image_11052026_21_52_44_30225.jpg
/home/pi/Desktop/images/11052026/21/52/image_11052026_21_53_14_30352.jpg
/home/pi/Desktop/images/11052026/21/53/image_11052026_21_53_43_29131.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901377","1416901375"],"photo_ids_order":["1416901375","1416901377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/15e7007befdd4b113e5ee049b4258e82.jpg","text":"TemporaryFile(/tmp/multipartBody156046886239545137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529306604,"filename":"image_11052026_21_52_44_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eed940cb43a390313363b1ded3c0ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody3518715922347459549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529306604,"filename":"image_11052026_21_53_14_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416901377","file0":"1416901375"},"map_files_photo_id_array":[{"photo_id":"1416901377","filename":"file1"},{"photo_id":"1416901375","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416901377":["hashtag1","hashtag2"]},{"1416901375":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416901377, 1416901375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.12668776512146 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901378","1416901376","1416901379"],"photo_ids_order":["1416901376","1416901378","1416901379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76d83e141b2e397b247c6a3873de62e4.jpg","text":"TemporaryFile(/tmp/multipartBody5487325274170501155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529307421,"filename":"image_11052026_21_53_14_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fcca7fc6b447d300661db9d025ec0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody349358193538260151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529307421,"filename":"image_11052026_21_52_44_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19f6807e188ae45ab87dc19d18463dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7154078121144371629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529307421,"filename":"image_11052026_21_53_43_29131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901379","file1":"1416901378","file0":"1416901376"},"map_files_photo_id_array":[{"photo_id":"1416901379","filename":"file2"},{"photo_id":"1416901378","filename":"file1"},{"photo_id":"1416901376","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416901378":["hashtag1","hashtag2"]},{"1416901376":["hashtag1","hashtag2"]},{"1416901379":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416901378, 1416901376, 1416901379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.87314796447754 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:55:03.722778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/06/46/image_08052026_06_46_35_30215.jpg', '/home/pi/Desktop/images/08052026/06/47/image_08052026_06_47_36_30256.jpg', '/home/pi/Desktop/images/08052026/06/52/image_08052026_06_53_05_29257.jpg', '/home/pi/Desktop/images/08052026/06/53/image_08052026_06_53_35_30257.jpg', '/home/pi/Desktop/images/08052026/06/53/image_08052026_06_54_05_30231.jpg', '/home/pi/Desktop/images/08052026/06/54/image_08052026_06_54_35_30193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/06/46/image_08052026_06_46_35_30215.jpg
/home/pi/Desktop/images/08052026/06/47/image_08052026_06_47_36_30256.jpg
/home/pi/Desktop/images/08052026/06/52/image_08052026_06_53_05_29257.jpg
/home/pi/Desktop/images/08052026/06/53/image_08052026_06_53_35_30257.jpg
/home/pi/Desktop/images/08052026/06/53/image_08052026_06_54_05_30231.jpg
/home/pi/Desktop/images/08052026/06/54/image_08052026_06_54_35_30193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901384","1416901383","1416901380","1416901382","1416901385","1416901381"],"photo_ids_order":["1416901380","1416901381","1416901382","1416901383","1416901384","1416901385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46300d2aa0d434a750dcff55c2e64197.jpg","text":"TemporaryFile(/tmp/multipartBody2835378518545113258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_54_05_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d43618c136e495029e855c96ea284e60.jpg","text":"TemporaryFile(/tmp/multipartBody2958036899482500933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_53_35_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/557b6bb60026e06998c7eee52731a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4008439452172843740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_46_35_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/69d30f65fb08ee7185d95fd06e98161b.jpg","text":"TemporaryFile(/tmp/multipartBody8205657348435124180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_53_05_29257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bfa456055aa5a33b1f2db8e8e4efea08.jpg","text":"TemporaryFile(/tmp/multipartBody7619599207555012547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_54_35_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/79a4cd78fd599b895f756798c3775aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2108142804825688634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529368542,"filename":"image_08052026_06_47_36_30256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901382","file1":"1416901381","file0":"1416901380","file4":"1416901384","file5":"1416901385","file3":"1416901383"},"map_files_photo_id_array":[{"photo_id":"1416901385","filename":"file5"},{"photo_id":"1416901382","filename":"file2"},{"photo_id":"1416901384","filename":"file4"},{"photo_id":"1416901381","filename":"file1"},{"photo_id":"1416901380","filename":"file0"},{"photo_id":"1416901383","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901384":["hashtag1","hashtag2"]},{"1416901383":["hashtag1","hashtag2"]},{"1416901380":["hashtag1","hashtag2"]},{"1416901382":["hashtag1","hashtag2"]},{"1416901385":["hashtag1","hashtag2"]},{"1416901381":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901384, 1416901383, 1416901380, 1416901382, 1416901385, 1416901381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25309705734253 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:56:03.087352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/06/55/image_08052026_06_55_35_29303.jpg', '/home/pi/Desktop/images/08052026/06/55/image_08052026_06_56_05_30264.jpg', '/home/pi/Desktop/images/08052026/06/57/image_08052026_06_58_05_30264.jpg', '/home/pi/Desktop/images/08052026/06/58/image_08052026_06_59_05_29307.jpg', '/home/pi/Desktop/images/08052026/06/59/image_08052026_06_59_35_30418.jpg', '/home/pi/Desktop/images/08052026/06/59/image_08052026_07_00_06_30330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/06/55/image_08052026_06_55_35_29303.jpg
/home/pi/Desktop/images/08052026/06/55/image_08052026_06_56_05_30264.jpg
/home/pi/Desktop/images/08052026/06/57/image_08052026_06_58_05_30264.jpg
/home/pi/Desktop/images/08052026/06/58/image_08052026_06_59_05_29307.jpg
/home/pi/Desktop/images/08052026/06/59/image_08052026_06_59_35_30418.jpg
/home/pi/Desktop/images/08052026/06/59/image_08052026_07_00_06_30330.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901405","1416901408","1416901401","1416901404","1416901407","1416901397"],"photo_ids_order":["1416901397","1416901401","1416901404","1416901405","1416901407","1416901408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/658abed08848bb087907f47edb6997fb.jpg","text":"TemporaryFile(/tmp/multipartBody6605808589453153386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_06_59_05_29307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3db6b99f5819fc83984b50c1246f032.jpg","text":"TemporaryFile(/tmp/multipartBody442679500802916487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_07_00_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9c6d3036a8cbe3b60445757d6c0d38b.jpg","text":"TemporaryFile(/tmp/multipartBody4571072909227950370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_06_56_05_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/833a338a0eade141ea68b9ba4357dc76.jpg","text":"TemporaryFile(/tmp/multipartBody442612290030712743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_06_58_05_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9331de769510009fde23a56923f95492.jpg","text":"TemporaryFile(/tmp/multipartBody1157088675006302324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_06_59_35_30418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d06e0e508c9850120cb8194380b1b3e2.jpg","text":"TemporaryFile(/tmp/multipartBody1933623374644273951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529427933,"filename":"image_08052026_06_55_35_29303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901404","file1":"1416901401","file0":"1416901397","file4":"1416901407","file5":"1416901408","file3":"1416901405"},"map_files_photo_id_array":[{"photo_id":"1416901408","filename":"file5"},{"photo_id":"1416901404","filename":"file2"},{"photo_id":"1416901407","filename":"file4"},{"photo_id":"1416901401","filename":"file1"},{"photo_id":"1416901397","filename":"file0"},{"photo_id":"1416901405","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901405":["hashtag1","hashtag2"]},{"1416901408":["hashtag1","hashtag2"]},{"1416901401":["hashtag1","hashtag2"]},{"1416901404":["hashtag1","hashtag2"]},{"1416901407":["hashtag1","hashtag2"]},{"1416901397":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901405, 1416901408, 1416901401, 1416901404, 1416901407, 1416901397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80091714859009 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:57:03.323571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/00/image_08052026_07_00_35_29169.jpg', '/home/pi/Desktop/images/08052026/07/01/image_08052026_07_01_36_30391.jpg', '/home/pi/Desktop/images/08052026/07/01/image_08052026_07_02_05_29257.jpg', '/home/pi/Desktop/images/08052026/07/02/image_08052026_07_03_05_30245.jpg', '/home/pi/Desktop/images/08052026/07/03/image_08052026_07_03_36_30316.jpg', '/home/pi/Desktop/images/08052026/07/03/image_08052026_07_04_05_29300.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/00/image_08052026_07_00_35_29169.jpg
/home/pi/Desktop/images/08052026/07/01/image_08052026_07_01_36_30391.jpg
/home/pi/Desktop/images/08052026/07/01/image_08052026_07_02_05_29257.jpg
/home/pi/Desktop/images/08052026/07/02/image_08052026_07_03_05_30245.jpg
/home/pi/Desktop/images/08052026/07/03/image_08052026_07_03_36_30316.jpg
/home/pi/Desktop/images/08052026/07/03/image_08052026_07_04_05_29300.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.346436977386475 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:58:03.377800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/58/image_11052026_21_58_44_30256.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/58/image_11052026_21_58_44_30256.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901436"],"photo_id":"1416901436","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/013dd876e060b5e622690ccdec4e0e40.jpg","text":"TemporaryFile(/tmp/multipartBody8964799761908517835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529544801,"filename":"image_11052026_21_58_44_30256.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416901436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416901436"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.480472087860107 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 21:59:04.213117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/23/image_08052026_13_24_06_30175.jpg', '/home/pi/Desktop/images/08052026/13/23/image_08052026_13_23_35_30141.jpg', '/home/pi/Desktop/images/08052026/13/22/image_08052026_13_23_05_30265.jpg', '/home/pi/Desktop/images/08052026/13/22/image_08052026_13_22_35_30178.jpg', '/home/pi/Desktop/images/08052026/13/21/image_08052026_13_22_05_29172.jpg', '/home/pi/Desktop/images/08052026/13/21/image_08052026_13_21_36_30265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/23/image_08052026_13_24_06_30175.jpg
/home/pi/Desktop/images/08052026/13/23/image_08052026_13_23_35_30141.jpg
/home/pi/Desktop/images/08052026/13/22/image_08052026_13_23_05_30265.jpg
/home/pi/Desktop/images/08052026/13/22/image_08052026_13_22_35_30178.jpg
/home/pi/Desktop/images/08052026/13/21/image_08052026_13_22_05_29172.jpg
/home/pi/Desktop/images/08052026/13/21/image_08052026_13_21_36_30265.jpg
2026-05-11 21:59:04.468235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/00/image_08052026_07_00_35_29169.jpg', '/home/pi/Desktop/images/08052026/07/01/image_08052026_07_01_36_30391.jpg', '/home/pi/Desktop/images/08052026/07/01/image_08052026_07_02_05_29257.jpg', '/home/pi/Desktop/images/08052026/07/02/image_08052026_07_03_05_30245.jpg', '/home/pi/Desktop/images/08052026/07/03/image_08052026_07_03_36_30316.jpg', '/home/pi/Desktop/images/08052026/07/03/image_08052026_07_04_05_29300.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/00/image_08052026_07_00_35_29169.jpg
/home/pi/Desktop/images/08052026/07/01/image_08052026_07_01_36_30391.jpg
/home/pi/Desktop/images/08052026/07/01/image_08052026_07_02_05_29257.jpg
/home/pi/Desktop/images/08052026/07/02/image_08052026_07_03_05_30245.jpg
/home/pi/Desktop/images/08052026/07/03/image_08052026_07_03_36_30316.jpg
/home/pi/Desktop/images/08052026/07/03/image_08052026_07_04_05_29300.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901444","1416901446","1416901449","1416901442","1416901451","1416901439"],"photo_ids_order":["1416901439","1416901442","1416901444","1416901446","1416901449","1416901451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fbe83deffd83bd2e6a29e61c7cfbef72.jpg","text":"TemporaryFile(/tmp/multipartBody8311545971814167714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_23_05_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/336fb54bf3380d58e0292dc5ef4bb71b.jpg","text":"TemporaryFile(/tmp/multipartBody289831380588718839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_22_35_30178.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f586f205376ac8bd69f6356e1bb97aa.jpg","text":"TemporaryFile(/tmp/multipartBody978132077581484522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_22_05_29172.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eaf75c443811398e75adf6bc7bafa456.jpg","text":"TemporaryFile(/tmp/multipartBody2192177863246537138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_23_35_30141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9114ac4c44d92f187dc6d9cd251856f2.jpg","text":"TemporaryFile(/tmp/multipartBody5005825202324271353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_21_36_30265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e09ea49a58bb7289b3bd7fc95366d10.jpg","text":"TemporaryFile(/tmp/multipartBody477515697770398333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529611293,"filename":"image_08052026_13_24_06_30175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901444","file1":"1416901442","file0":"1416901439","file4":"1416901449","file5":"1416901451","file3":"1416901446"},"map_files_photo_id_array":[{"photo_id":"1416901451","filename":"file5"},{"photo_id":"1416901444","filename":"file2"},{"photo_id":"1416901449","filename":"file4"},{"photo_id":"1416901442","filename":"file1"},{"photo_id":"1416901439","filename":"file0"},{"photo_id":"1416901446","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901444":["hashtag1","hashtag2"]},{"1416901446":["hashtag1","hashtag2"]},{"1416901449":["hashtag1","hashtag2"]},{"1416901442":["hashtag1","hashtag2"]},{"1416901451":["hashtag1","hashtag2"]},{"1416901439":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901444, 1416901446, 1416901449, 1416901442, 1416901451, 1416901439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87694478034973 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901450","1416901447","1416901452","1416901440","1416901443","1416901445"],"photo_ids_order":["1416901440","1416901443","1416901445","1416901447","1416901450","1416901452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6eeaa6e3c66750853596a80f54ac8a54.jpg","text":"TemporaryFile(/tmp/multipartBody2947359812318084680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_03_36_30316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3d7fafa15345b848f03548e2c617697.jpg","text":"TemporaryFile(/tmp/multipartBody6417444136068327111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_03_05_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df9ec2b46bde8ef1fa32706e98d9460d.jpg","text":"TemporaryFile(/tmp/multipartBody880600400272802672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_04_05_29300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2038e6784c62343330413f8459f25c12.jpg","text":"TemporaryFile(/tmp/multipartBody3875815981317385322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_00_35_29169.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/767e0a616face8102b09be470d43b0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1884644876527782479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_01_36_30391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e8db22c7ca2b0f1ac51d560376bbec1.jpg","text":"TemporaryFile(/tmp/multipartBody1549080049377913312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529612714,"filename":"image_08052026_07_02_05_29257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901445","file1":"1416901443","file0":"1416901440","file4":"1416901450","file5":"1416901452","file3":"1416901447"},"map_files_photo_id_array":[{"photo_id":"1416901452","filename":"file5"},{"photo_id":"1416901445","filename":"file2"},{"photo_id":"1416901450","filename":"file4"},{"photo_id":"1416901443","filename":"file1"},{"photo_id":"1416901440","filename":"file0"},{"photo_id":"1416901447","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901450":["hashtag1","hashtag2"]},{"1416901447":["hashtag1","hashtag2"]},{"1416901452":["hashtag1","hashtag2"]},{"1416901440":["hashtag1","hashtag2"]},{"1416901443":["hashtag1","hashtag2"]},{"1416901445":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901450, 1416901447, 1416901452, 1416901440, 1416901443, 1416901445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.715983390808105 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:00:03.081689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/04/image_08052026_07_04_35_30365.jpg', '/home/pi/Desktop/images/08052026/07/04/image_08052026_07_05_06_30237.jpg', '/home/pi/Desktop/images/08052026/07/05/image_08052026_07_05_36_30188.jpg', '/home/pi/Desktop/images/08052026/07/05/image_08052026_07_06_05_29244.jpg', '/home/pi/Desktop/images/08052026/07/06/image_08052026_07_06_35_30274.jpg', '/home/pi/Desktop/images/08052026/07/12/image_08052026_07_12_35_29231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/04/image_08052026_07_04_35_30365.jpg
/home/pi/Desktop/images/08052026/07/04/image_08052026_07_05_06_30237.jpg
/home/pi/Desktop/images/08052026/07/05/image_08052026_07_05_36_30188.jpg
/home/pi/Desktop/images/08052026/07/05/image_08052026_07_06_05_29244.jpg
/home/pi/Desktop/images/08052026/07/06/image_08052026_07_06_35_30274.jpg
/home/pi/Desktop/images/08052026/07/12/image_08052026_07_12_35_29231.jpg
2026-05-11 22:00:03.299028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/20/image_08052026_13_21_05_30281.jpg', '/home/pi/Desktop/images/08052026/13/20/image_08052026_13_20_35_30236.jpg', '/home/pi/Desktop/images/08052026/13/19/image_08052026_13_20_05_29247.jpg', '/home/pi/Desktop/images/08052026/13/19/image_08052026_13_19_36_30227.jpg', '/home/pi/Desktop/images/08052026/13/18/image_08052026_13_19_05_30225.jpg', '/home/pi/Desktop/images/08052026/13/17/image_08052026_13_18_05_29317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/20/image_08052026_13_21_05_30281.jpg
/home/pi/Desktop/images/08052026/13/20/image_08052026_13_20_35_30236.jpg
/home/pi/Desktop/images/08052026/13/19/image_08052026_13_20_05_29247.jpg
/home/pi/Desktop/images/08052026/13/19/image_08052026_13_19_36_30227.jpg
/home/pi/Desktop/images/08052026/13/18/image_08052026_13_19_05_30225.jpg
/home/pi/Desktop/images/08052026/13/17/image_08052026_13_18_05_29317.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3296127319335938 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901462","1416901461","1416901460","1416901463","1416901454","1416901453"],"photo_ids_order":["1416901453","1416901454","1416901460","1416901461","1416901462","1416901463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/01e916eb53c8e776115d5914073f7c95.jpg","text":"TemporaryFile(/tmp/multipartBody4950867768308342225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_19_05_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9be6379ece4c5032d3cf59ce8dda41e.jpg","text":"TemporaryFile(/tmp/multipartBody685243372826669413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_19_36_30227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a61867e8d337225b9a50e259bf8fccf9.jpg","text":"TemporaryFile(/tmp/multipartBody6848606583979761673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_20_05_29247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c68006dd9470fdfa35f790bd284f6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4524539036315524093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_18_05_29317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40abd5142b7044aa876ee2c22ef51f49.jpg","text":"TemporaryFile(/tmp/multipartBody4111572733444549664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_20_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80aadb8b3840416de93035aeb6f03729.jpg","text":"TemporaryFile(/tmp/multipartBody1640100912077484094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529666183,"filename":"image_08052026_13_21_05_30281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901460","file1":"1416901454","file0":"1416901453","file4":"1416901462","file5":"1416901463","file3":"1416901461"},"map_files_photo_id_array":[{"photo_id":"1416901463","filename":"file5"},{"photo_id":"1416901460","filename":"file2"},{"photo_id":"1416901462","filename":"file4"},{"photo_id":"1416901454","filename":"file1"},{"photo_id":"1416901453","filename":"file0"},{"photo_id":"1416901461","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901462":["hashtag1","hashtag2"]},{"1416901461":["hashtag1","hashtag2"]},{"1416901460":["hashtag1","hashtag2"]},{"1416901463":["hashtag1","hashtag2"]},{"1416901454":["hashtag1","hashtag2"]},{"1416901453":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901462, 1416901461, 1416901460, 1416901463, 1416901454, 1416901453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.75818228721619 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:02:03.029708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/17/image_08052026_13_17_36_30199.jpg', '/home/pi/Desktop/images/08052026/13/15/image_08052026_13_15_36_30293.jpg', '/home/pi/Desktop/images/08052026/13/14/image_08052026_13_14_35_30207.jpg', '/home/pi/Desktop/images/08052026/13/13/image_08052026_13_13_35_29273.jpg', '/home/pi/Desktop/images/08052026/13/12/image_08052026_13_13_06_30325.jpg', '/home/pi/Desktop/images/08052026/13/12/image_08052026_13_12_35_30204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/17/image_08052026_13_17_36_30199.jpg
/home/pi/Desktop/images/08052026/13/15/image_08052026_13_15_36_30293.jpg
/home/pi/Desktop/images/08052026/13/14/image_08052026_13_14_35_30207.jpg
/home/pi/Desktop/images/08052026/13/13/image_08052026_13_13_35_29273.jpg
/home/pi/Desktop/images/08052026/13/12/image_08052026_13_13_06_30325.jpg
/home/pi/Desktop/images/08052026/13/12/image_08052026_13_12_35_30204.jpg
2026-05-11 22:02:03.090209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/04/image_08052026_07_04_35_30365.jpg', '/home/pi/Desktop/images/08052026/07/04/image_08052026_07_05_06_30237.jpg', '/home/pi/Desktop/images/08052026/07/05/image_08052026_07_05_36_30188.jpg', '/home/pi/Desktop/images/08052026/07/05/image_08052026_07_06_05_29244.jpg', '/home/pi/Desktop/images/08052026/07/06/image_08052026_07_06_35_30274.jpg', '/home/pi/Desktop/images/08052026/07/12/image_08052026_07_12_35_29231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/04/image_08052026_07_04_35_30365.jpg
/home/pi/Desktop/images/08052026/07/04/image_08052026_07_05_06_30237.jpg
/home/pi/Desktop/images/08052026/07/05/image_08052026_07_05_36_30188.jpg
/home/pi/Desktop/images/08052026/07/05/image_08052026_07_06_05_29244.jpg
/home/pi/Desktop/images/08052026/07/06/image_08052026_07_06_35_30274.jpg
/home/pi/Desktop/images/08052026/07/12/image_08052026_07_12_35_29231.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901465","1416901470","1416901467","1416901472","1416901474","1416901468"],"photo_ids_order":["1416901465","1416901467","1416901468","1416901470","1416901472","1416901474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0032e12b9435d86e01078e6a95bd22e9.jpg","text":"TemporaryFile(/tmp/multipartBody1779259070052922179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_04_35_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bdf49fa022dc1b445f822c8dd79322b7.jpg","text":"TemporaryFile(/tmp/multipartBody9037098553383475404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_06_05_29244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd76f6955faac42f94d3dd305d65305c.jpg","text":"TemporaryFile(/tmp/multipartBody3848891562497363234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_05_06_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b51e1de9010be00b3d34ad21f415b86.jpg","text":"TemporaryFile(/tmp/multipartBody4675840313542384278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_06_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2a8641d9014ec0bd1f1286ddc1b34c8.jpg","text":"TemporaryFile(/tmp/multipartBody8601264046783078364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_12_35_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/871f46c48194f9bcd03df2e502706e80.jpg","text":"TemporaryFile(/tmp/multipartBody9138038027802258063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529786258,"filename":"image_08052026_07_05_36_30188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901468","file1":"1416901467","file0":"1416901465","file4":"1416901472","file5":"1416901474","file3":"1416901470"},"map_files_photo_id_array":[{"photo_id":"1416901474","filename":"file5"},{"photo_id":"1416901468","filename":"file2"},{"photo_id":"1416901472","filename":"file4"},{"photo_id":"1416901467","filename":"file1"},{"photo_id":"1416901465","filename":"file0"},{"photo_id":"1416901470","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901465":["hashtag1","hashtag2"]},{"1416901470":["hashtag1","hashtag2"]},{"1416901467":["hashtag1","hashtag2"]},{"1416901472":["hashtag1","hashtag2"]},{"1416901474":["hashtag1","hashtag2"]},{"1416901468":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901465, 1416901470, 1416901467, 1416901472, 1416901474, 1416901468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.599918365478516 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901464","1416901473","1416901475","1416901469","1416901466","1416901471"],"photo_ids_order":["1416901464","1416901466","1416901469","1416901471","1416901473","1416901475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68fe808e2d494f2bbc6f163f1d6498fc.jpg","text":"TemporaryFile(/tmp/multipartBody4070767808673496103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_17_36_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f05d0076e7861547ac28415453d3e566.jpg","text":"TemporaryFile(/tmp/multipartBody2588127546245766027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_13_06_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/007c9e9b57151719a5e18b1a168eb008.jpg","text":"TemporaryFile(/tmp/multipartBody7922930193169095567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_12_35_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/620f4f41a0af5600f68b89433209613b.jpg","text":"TemporaryFile(/tmp/multipartBody3755565750493412289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_14_35_30207.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd7a8f83c68b0116c22177d7c161f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7664978638549732903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_15_36_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/855c0cfd1a479ba4fea299b688ba936a.jpg","text":"TemporaryFile(/tmp/multipartBody8461409225184124159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529785696,"filename":"image_08052026_13_13_35_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901469","file1":"1416901466","file0":"1416901464","file4":"1416901473","file5":"1416901475","file3":"1416901471"},"map_files_photo_id_array":[{"photo_id":"1416901475","filename":"file5"},{"photo_id":"1416901469","filename":"file2"},{"photo_id":"1416901473","filename":"file4"},{"photo_id":"1416901466","filename":"file1"},{"photo_id":"1416901464","filename":"file0"},{"photo_id":"1416901471","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901464":["hashtag1","hashtag2"]},{"1416901473":["hashtag1","hashtag2"]},{"1416901475":["hashtag1","hashtag2"]},{"1416901469":["hashtag1","hashtag2"]},{"1416901466":["hashtag1","hashtag2"]},{"1416901471":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901464, 1416901473, 1416901475, 1416901469, 1416901466, 1416901471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.891850233078 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:03:04.045057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/13/11/image_08052026_13_12_05_29239.jpg', '/home/pi/Desktop/images/08052026/13/11/image_08052026_13_11_36_30304.jpg', '/home/pi/Desktop/images/08052026/13/10/image_08052026_13_10_35_30190.jpg', '/home/pi/Desktop/images/08052026/13/09/image_08052026_13_10_05_29271.jpg', '/home/pi/Desktop/images/08052026/13/05/image_08052026_13_05_35_29332.jpg', '/home/pi/Desktop/images/08052026/13/04/image_08052026_13_05_05_30252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/13/11/image_08052026_13_12_05_29239.jpg
/home/pi/Desktop/images/08052026/13/11/image_08052026_13_11_36_30304.jpg
/home/pi/Desktop/images/08052026/13/10/image_08052026_13_10_35_30190.jpg
/home/pi/Desktop/images/08052026/13/09/image_08052026_13_10_05_29271.jpg
/home/pi/Desktop/images/08052026/13/05/image_08052026_13_05_35_29332.jpg
/home/pi/Desktop/images/08052026/13/04/image_08052026_13_05_05_30252.jpg
2026-05-11 22:03:04.188432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/12/image_08052026_07_13_05_30260.jpg', '/home/pi/Desktop/images/08052026/07/13/image_08052026_07_13_36_30446.jpg', '/home/pi/Desktop/images/08052026/07/13/image_08052026_07_14_06_30248.jpg', '/home/pi/Desktop/images/08052026/07/18/image_08052026_07_18_35_30268.jpg', '/home/pi/Desktop/images/08052026/07/23/image_08052026_07_23_35_30401.jpg', '/home/pi/Desktop/images/08052026/07/23/image_08052026_07_24_06_30303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/12/image_08052026_07_13_05_30260.jpg
/home/pi/Desktop/images/08052026/07/13/image_08052026_07_13_36_30446.jpg
/home/pi/Desktop/images/08052026/07/13/image_08052026_07_14_06_30248.jpg
/home/pi/Desktop/images/08052026/07/18/image_08052026_07_18_35_30268.jpg
/home/pi/Desktop/images/08052026/07/23/image_08052026_07_23_35_30401.jpg
/home/pi/Desktop/images/08052026/07/23/image_08052026_07_24_06_30303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902035","1416901477","1416901479","1416902031","1416901746","1416902033"],"photo_ids_order":["1416901477","1416901479","1416901746","1416902031","1416902033","1416902035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa4e09a45b81d8fd635570b70a042a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5105915676821491095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_05_05_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62686a1df94ab174357e2ff5ad12dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody2383316948937896209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_12_05_29239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/890c292ed15faf9d879d17368e860b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5052716780122807469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_11_36_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9d8c82132f815b7af0b8e26ba7a8646.jpg","text":"TemporaryFile(/tmp/multipartBody1292440468613964434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_10_05_29271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/33217366b4f72051473f7c355d25dfa9.jpg","text":"TemporaryFile(/tmp/multipartBody3774543861951804103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_10_35_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea16eb3bcfaafc780a55a6be5d95c985.jpg","text":"TemporaryFile(/tmp/multipartBody5163345329713463082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847234,"filename":"image_08052026_13_05_35_29332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901746","file1":"1416901479","file0":"1416901477","file4":"1416902033","file5":"1416902035","file3":"1416902031"},"map_files_photo_id_array":[{"photo_id":"1416902035","filename":"file5"},{"photo_id":"1416901746","filename":"file2"},{"photo_id":"1416902033","filename":"file4"},{"photo_id":"1416901479","filename":"file1"},{"photo_id":"1416901477","filename":"file0"},{"photo_id":"1416902031","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902035":["hashtag1","hashtag2"]},{"1416901477":["hashtag1","hashtag2"]},{"1416901479":["hashtag1","hashtag2"]},{"1416902031":["hashtag1","hashtag2"]},{"1416901746":["hashtag1","hashtag2"]},{"1416902033":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902035, 1416901477, 1416901479, 1416902031, 1416901746, 1416902033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95635199546814 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416901738","1416902034","1416901476","1416902036","1416901478","1416902032"],"photo_ids_order":["1416901476","1416901478","1416901738","1416902032","1416902034","1416902036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7a3ffc5c1b8778f403b1260121b2c89.jpg","text":"TemporaryFile(/tmp/multipartBody4860865805951455041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_14_06_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eeb148ebd1a0bd2a9758a7ca62b1fb5e.jpg","text":"TemporaryFile(/tmp/multipartBody1894330214929365937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_23_35_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6135518be141e872bd6a6980355eee0f.jpg","text":"TemporaryFile(/tmp/multipartBody3930093930212547557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_13_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cdc0a23554ccb81412cdc705a864d1e3.jpg","text":"TemporaryFile(/tmp/multipartBody6348066293049127349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_24_06_30303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0b95b39abb1fc8282995d2ff014160a0.jpg","text":"TemporaryFile(/tmp/multipartBody10293028325325238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_13_36_30446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7421db5b640ac26aa6370cfe38661841.jpg","text":"TemporaryFile(/tmp/multipartBody2165754899261334015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529847164,"filename":"image_08052026_07_18_35_30268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416901738","file1":"1416901478","file0":"1416901476","file4":"1416902034","file5":"1416902036","file3":"1416902032"},"map_files_photo_id_array":[{"photo_id":"1416902036","filename":"file5"},{"photo_id":"1416901738","filename":"file2"},{"photo_id":"1416902034","filename":"file4"},{"photo_id":"1416901478","filename":"file1"},{"photo_id":"1416901476","filename":"file0"},{"photo_id":"1416902032","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416901738":["hashtag1","hashtag2"]},{"1416902034":["hashtag1","hashtag2"]},{"1416901476":["hashtag1","hashtag2"]},{"1416902036":["hashtag1","hashtag2"]},{"1416901478":["hashtag1","hashtag2"]},{"1416902032":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416901738, 1416902034, 1416901476, 1416902036, 1416901478, 1416902032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.532280683517456 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:04:03.063168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/58/image_08052026_12_58_35_30257.jpg', '/home/pi/Desktop/images/08052026/12/56/image_08052026_12_56_35_30199.jpg', '/home/pi/Desktop/images/08052026/12/54/image_08052026_12_55_05_30142.jpg', '/home/pi/Desktop/images/08052026/12/54/image_08052026_12_54_35_30193.jpg', '/home/pi/Desktop/images/08052026/12/53/image_08052026_12_54_05_29379.jpg', '/home/pi/Desktop/images/08052026/12/53/image_08052026_12_53_36_30284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/58/image_08052026_12_58_35_30257.jpg
/home/pi/Desktop/images/08052026/12/56/image_08052026_12_56_35_30199.jpg
/home/pi/Desktop/images/08052026/12/54/image_08052026_12_55_05_30142.jpg
/home/pi/Desktop/images/08052026/12/54/image_08052026_12_54_35_30193.jpg
/home/pi/Desktop/images/08052026/12/53/image_08052026_12_54_05_29379.jpg
/home/pi/Desktop/images/08052026/12/53/image_08052026_12_53_36_30284.jpg
2026-05-11 22:04:03.379292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/24/image_08052026_07_25_05_30232.jpg', '/home/pi/Desktop/images/08052026/07/30/image_08052026_07_31_05_30188.jpg', '/home/pi/Desktop/images/08052026/07/31/image_08052026_07_31_36_30313.jpg', '/home/pi/Desktop/images/08052026/07/31/image_08052026_07_32_06_30184.jpg', '/home/pi/Desktop/images/08052026/07/32/image_08052026_07_32_35_29162.jpg', '/home/pi/Desktop/images/08052026/07/33/image_08052026_07_33_36_30375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/24/image_08052026_07_25_05_30232.jpg
/home/pi/Desktop/images/08052026/07/30/image_08052026_07_31_05_30188.jpg
/home/pi/Desktop/images/08052026/07/31/image_08052026_07_31_36_30313.jpg
/home/pi/Desktop/images/08052026/07/31/image_08052026_07_32_06_30184.jpg
/home/pi/Desktop/images/08052026/07/32/image_08052026_07_32_35_29162.jpg
/home/pi/Desktop/images/08052026/07/33/image_08052026_07_33_36_30375.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902163","1416902154","1416902156","1416902167","1416902161","1416902152"],"photo_ids_order":["1416902152","1416902154","1416902156","1416902161","1416902163","1416902167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81521a6fdebf7f55877aee273f57c60a.jpg","text":"TemporaryFile(/tmp/multipartBody1594864437597054380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_32_35_29162.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58f88e0de8d576bf11d0480349151d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3318799156415614854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_31_05_30188.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f59735767c7455b96e8f3e7d11b9ce14.jpg","text":"TemporaryFile(/tmp/multipartBody5749183218104150718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_31_36_30313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4482647042d5f3ea2d9ac0c9bc0420b9.jpg","text":"TemporaryFile(/tmp/multipartBody323058123144734485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_33_36_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46ab1ada2d4545e31e14d837c3b8dd6d.jpg","text":"TemporaryFile(/tmp/multipartBody4884280895751452794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_32_06_30184.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3eccf867e688630443a5b68dd0aadbe.jpg","text":"TemporaryFile(/tmp/multipartBody2139356075911724516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529906123,"filename":"image_08052026_07_25_05_30232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902156","file1":"1416902154","file0":"1416902152","file4":"1416902163","file5":"1416902167","file3":"1416902161"},"map_files_photo_id_array":[{"photo_id":"1416902167","filename":"file5"},{"photo_id":"1416902156","filename":"file2"},{"photo_id":"1416902163","filename":"file4"},{"photo_id":"1416902154","filename":"file1"},{"photo_id":"1416902152","filename":"file0"},{"photo_id":"1416902161","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902163":["hashtag1","hashtag2"]},{"1416902154":["hashtag1","hashtag2"]},{"1416902156":["hashtag1","hashtag2"]},{"1416902167":["hashtag1","hashtag2"]},{"1416902161":["hashtag1","hashtag2"]},{"1416902152":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902163, 1416902154, 1416902156, 1416902167, 1416902161, 1416902152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20783185958862 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902166","1416902151","1416902157","1416902162","1416902153","1416902155"],"photo_ids_order":["1416902151","1416902153","1416902155","1416902157","1416902162","1416902166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cbf2d13f443bf8a2bd75e2d0a9900e88.jpg","text":"TemporaryFile(/tmp/multipartBody7280727227713885033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_53_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/691bd422d03ddae04d75ec89ccdcdc35.jpg","text":"TemporaryFile(/tmp/multipartBody8067552297831103473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_58_35_30257.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/205546226a27ced11a97b973f4fd0f98.jpg","text":"TemporaryFile(/tmp/multipartBody7586681677243785013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_54_35_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1db096243668222af30881215e57bb91.jpg","text":"TemporaryFile(/tmp/multipartBody5794421608682463583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_54_05_29379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/691b129eb1b6708c58d925a1be4eaa9e.jpg","text":"TemporaryFile(/tmp/multipartBody7964192277576378504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_56_35_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/815442cf4db1f88fd9aef2b59f3b5632.jpg","text":"TemporaryFile(/tmp/multipartBody5295609483864629210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529905596,"filename":"image_08052026_12_55_05_30142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902155","file1":"1416902153","file0":"1416902151","file4":"1416902162","file5":"1416902166","file3":"1416902157"},"map_files_photo_id_array":[{"photo_id":"1416902166","filename":"file5"},{"photo_id":"1416902155","filename":"file2"},{"photo_id":"1416902162","filename":"file4"},{"photo_id":"1416902153","filename":"file1"},{"photo_id":"1416902151","filename":"file0"},{"photo_id":"1416902157","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902166":["hashtag1","hashtag2"]},{"1416902151":["hashtag1","hashtag2"]},{"1416902157":["hashtag1","hashtag2"]},{"1416902162":["hashtag1","hashtag2"]},{"1416902153":["hashtag1","hashtag2"]},{"1416902155":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902166, 1416902151, 1416902157, 1416902162, 1416902153, 1416902155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78452825546265 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:05:04.657513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/52/image_08052026_12_53_06_30254.jpg', '/home/pi/Desktop/images/08052026/12/52/image_08052026_12_52_35_30258.jpg', '/home/pi/Desktop/images/08052026/12/51/image_08052026_12_52_05_29303.jpg', '/home/pi/Desktop/images/08052026/12/51/image_08052026_12_51_36_30272.jpg', '/home/pi/Desktop/images/08052026/12/50/image_08052026_12_51_05_30156.jpg', '/home/pi/Desktop/images/08052026/12/50/image_08052026_12_50_35_30220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/52/image_08052026_12_53_06_30254.jpg
/home/pi/Desktop/images/08052026/12/52/image_08052026_12_52_35_30258.jpg
/home/pi/Desktop/images/08052026/12/51/image_08052026_12_52_05_29303.jpg
/home/pi/Desktop/images/08052026/12/51/image_08052026_12_51_36_30272.jpg
/home/pi/Desktop/images/08052026/12/50/image_08052026_12_51_05_30156.jpg
/home/pi/Desktop/images/08052026/12/50/image_08052026_12_50_35_30220.jpg
2026-05-11 22:05:04.684116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/33/image_08052026_07_34_05_29286.jpg', '/home/pi/Desktop/images/08052026/07/34/image_08052026_07_34_35_30278.jpg', '/home/pi/Desktop/images/08052026/07/39/image_08052026_07_40_05_30267.jpg', '/home/pi/Desktop/images/08052026/07/44/image_08052026_07_44_36_30210.jpg', '/home/pi/Desktop/images/08052026/07/44/image_08052026_07_45_05_29259.jpg', '/home/pi/Desktop/images/08052026/07/45/image_08052026_07_45_35_30258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/33/image_08052026_07_34_05_29286.jpg
/home/pi/Desktop/images/08052026/07/34/image_08052026_07_34_35_30278.jpg
/home/pi/Desktop/images/08052026/07/39/image_08052026_07_40_05_30267.jpg
/home/pi/Desktop/images/08052026/07/44/image_08052026_07_44_36_30210.jpg
/home/pi/Desktop/images/08052026/07/44/image_08052026_07_45_05_29259.jpg
/home/pi/Desktop/images/08052026/07/45/image_08052026_07_45_35_30258.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.830690860748291 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902181","1416902175","1416902174","1416902183","1416902177","1416902179"],"photo_ids_order":["1416902174","1416902175","1416902177","1416902179","1416902181","1416902183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0af8d760929b6cde60885d75be6ecc51.jpg","text":"TemporaryFile(/tmp/multipartBody4100742287088326535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_51_05_30156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8e15e4b504e91aa645568d90b9c7128f.jpg","text":"TemporaryFile(/tmp/multipartBody8448744489826430634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_52_35_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2f17cb9678166d1c5ed4ff8b3e4e1b48.jpg","text":"TemporaryFile(/tmp/multipartBody7582754163411067899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_53_06_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/85c87790fe1a5b20c608f74bd30f2f54.jpg","text":"TemporaryFile(/tmp/multipartBody345605555325757504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_50_35_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d220c769cd58b969db0cd44d35a4c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody4333490144694671410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_52_05_29303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b01f916f8ec4fc242651c401673da1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6788000816155155271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778529967784,"filename":"image_08052026_12_51_36_30272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902177","file1":"1416902175","file0":"1416902174","file4":"1416902181","file5":"1416902183","file3":"1416902179"},"map_files_photo_id_array":[{"photo_id":"1416902183","filename":"file5"},{"photo_id":"1416902177","filename":"file2"},{"photo_id":"1416902181","filename":"file4"},{"photo_id":"1416902175","filename":"file1"},{"photo_id":"1416902174","filename":"file0"},{"photo_id":"1416902179","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902181":["hashtag1","hashtag2"]},{"1416902175":["hashtag1","hashtag2"]},{"1416902174":["hashtag1","hashtag2"]},{"1416902183":["hashtag1","hashtag2"]},{"1416902177":["hashtag1","hashtag2"]},{"1416902179":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902181, 1416902175, 1416902174, 1416902183, 1416902177, 1416902179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.10110688209534 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:06:03.841375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/33/image_08052026_07_34_05_29286.jpg', '/home/pi/Desktop/images/08052026/07/34/image_08052026_07_34_35_30278.jpg', '/home/pi/Desktop/images/08052026/07/39/image_08052026_07_40_05_30267.jpg', '/home/pi/Desktop/images/08052026/07/44/image_08052026_07_44_36_30210.jpg', '/home/pi/Desktop/images/08052026/07/44/image_08052026_07_45_05_29259.jpg', '/home/pi/Desktop/images/08052026/07/45/image_08052026_07_45_35_30258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/33/image_08052026_07_34_05_29286.jpg
/home/pi/Desktop/images/08052026/07/34/image_08052026_07_34_35_30278.jpg
/home/pi/Desktop/images/08052026/07/39/image_08052026_07_40_05_30267.jpg
/home/pi/Desktop/images/08052026/07/44/image_08052026_07_44_36_30210.jpg
/home/pi/Desktop/images/08052026/07/44/image_08052026_07_45_05_29259.jpg
/home/pi/Desktop/images/08052026/07/45/image_08052026_07_45_35_30258.jpg
2026-05-11 22:06:03.998758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/49/image_08052026_12_50_05_30258.jpg', '/home/pi/Desktop/images/08052026/12/48/image_08052026_12_48_35_30266.jpg', '/home/pi/Desktop/images/08052026/12/41/image_08052026_12_41_36_30252.jpg', '/home/pi/Desktop/images/08052026/12/36/image_08052026_12_36_35_30242.jpg', '/home/pi/Desktop/images/08052026/12/35/image_08052026_12_36_05_30362.jpg', '/home/pi/Desktop/images/08052026/12/35/image_08052026_12_35_35_29225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/49/image_08052026_12_50_05_30258.jpg
/home/pi/Desktop/images/08052026/12/48/image_08052026_12_48_35_30266.jpg
/home/pi/Desktop/images/08052026/12/41/image_08052026_12_41_36_30252.jpg
/home/pi/Desktop/images/08052026/12/36/image_08052026_12_36_35_30242.jpg
/home/pi/Desktop/images/08052026/12/35/image_08052026_12_36_05_30362.jpg
/home/pi/Desktop/images/08052026/12/35/image_08052026_12_35_35_29225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902193","1416902187","1416902195","1416902189","1416902191","1416902185"],"photo_ids_order":["1416902185","1416902187","1416902189","1416902191","1416902193","1416902195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d514eda32f5b82c56aeaf2f89cdcb140.jpg","text":"TemporaryFile(/tmp/multipartBody8699586096925755963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_45_05_29259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6e85f159944dd9a7d0adf9a1418a66d.jpg","text":"TemporaryFile(/tmp/multipartBody7915485386748291154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_34_35_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d739de9a78ab703316a1731b5797bc36.jpg","text":"TemporaryFile(/tmp/multipartBody1668490069117782226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_45_35_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55da842be1f4b16f32433e85ab537c05.jpg","text":"TemporaryFile(/tmp/multipartBody5022117229102380958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_40_05_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b39cd35dfd117e083baca1794720220.jpg","text":"TemporaryFile(/tmp/multipartBody1206696341486436060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_44_36_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6166652e4d8a899a65c2625d8c08f5f.jpg","text":"TemporaryFile(/tmp/multipartBody603490642078073612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026199,"filename":"image_08052026_07_34_05_29286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902189","file1":"1416902187","file0":"1416902185","file4":"1416902193","file5":"1416902195","file3":"1416902191"},"map_files_photo_id_array":[{"photo_id":"1416902195","filename":"file5"},{"photo_id":"1416902189","filename":"file2"},{"photo_id":"1416902193","filename":"file4"},{"photo_id":"1416902187","filename":"file1"},{"photo_id":"1416902185","filename":"file0"},{"photo_id":"1416902191","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902193":["hashtag1","hashtag2"]},{"1416902187":["hashtag1","hashtag2"]},{"1416902195":["hashtag1","hashtag2"]},{"1416902189":["hashtag1","hashtag2"]},{"1416902191":["hashtag1","hashtag2"]},{"1416902185":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902193, 1416902187, 1416902195, 1416902189, 1416902191, 1416902185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94912838935852 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902196","1416902190","1416902192","1416902186","1416902194","1416902188"],"photo_ids_order":["1416902186","1416902188","1416902190","1416902192","1416902194","1416902196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d00f7688c9048bfde241e422ef780a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8267173563959195694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_35_35_29225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/244b04a11c52d7f224c2d17cd635ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody1638478435266761042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_41_36_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e10910baa4bf802692a47997fdde30f.jpg","text":"TemporaryFile(/tmp/multipartBody4749547013848583111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_36_35_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec7f2205da12cc573cdbdf6bb9ce63d4.jpg","text":"TemporaryFile(/tmp/multipartBody664015896272179077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_50_05_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58dd1aa68ff306a77d5d1912012a0804.jpg","text":"TemporaryFile(/tmp/multipartBody3920804283086724489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_36_05_30362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4ff445319e61c13d5d971f593ecdf29.jpg","text":"TemporaryFile(/tmp/multipartBody4148576498859336679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530026760,"filename":"image_08052026_12_48_35_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902190","file1":"1416902188","file0":"1416902186","file4":"1416902194","file5":"1416902196","file3":"1416902192"},"map_files_photo_id_array":[{"photo_id":"1416902196","filename":"file5"},{"photo_id":"1416902190","filename":"file2"},{"photo_id":"1416902194","filename":"file4"},{"photo_id":"1416902188","filename":"file1"},{"photo_id":"1416902186","filename":"file0"},{"photo_id":"1416902192","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902196":["hashtag1","hashtag2"]},{"1416902190":["hashtag1","hashtag2"]},{"1416902192":["hashtag1","hashtag2"]},{"1416902186":["hashtag1","hashtag2"]},{"1416902194":["hashtag1","hashtag2"]},{"1416902188":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902196, 1416902190, 1416902192, 1416902186, 1416902194, 1416902188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27230525016785 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:07:03.626549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/34/image_08052026_12_35_06_30242.jpg', '/home/pi/Desktop/images/08052026/12/34/image_08052026_12_34_35_30290.jpg', '/home/pi/Desktop/images/08052026/12/33/image_08052026_12_34_05_29301.jpg', '/home/pi/Desktop/images/08052026/12/33/image_08052026_12_33_36_30315.jpg', '/home/pi/Desktop/images/08052026/12/32/image_08052026_12_33_05_30152.jpg', '/home/pi/Desktop/images/08052026/12/32/image_08052026_12_32_35_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/34/image_08052026_12_35_06_30242.jpg
/home/pi/Desktop/images/08052026/12/34/image_08052026_12_34_35_30290.jpg
/home/pi/Desktop/images/08052026/12/33/image_08052026_12_34_05_29301.jpg
/home/pi/Desktop/images/08052026/12/33/image_08052026_12_33_36_30315.jpg
/home/pi/Desktop/images/08052026/12/32/image_08052026_12_33_05_30152.jpg
/home/pi/Desktop/images/08052026/12/32/image_08052026_12_32_35_30255.jpg
2026-05-11 22:07:04.111040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/45/image_08052026_07_46_05_30204.jpg', '/home/pi/Desktop/images/08052026/07/46/image_08052026_07_46_36_30259.jpg', '/home/pi/Desktop/images/08052026/07/47/image_08052026_07_47_35_29250.jpg', '/home/pi/Desktop/images/08052026/07/48/image_08052026_07_49_06_30272.jpg', '/home/pi/Desktop/images/08052026/07/54/image_08052026_07_55_06_30170.jpg', '/home/pi/Desktop/images/08052026/07/55/image_08052026_07_55_35_29204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/45/image_08052026_07_46_05_30204.jpg
/home/pi/Desktop/images/08052026/07/46/image_08052026_07_46_36_30259.jpg
/home/pi/Desktop/images/08052026/07/47/image_08052026_07_47_35_29250.jpg
/home/pi/Desktop/images/08052026/07/48/image_08052026_07_49_06_30272.jpg
/home/pi/Desktop/images/08052026/07/54/image_08052026_07_55_06_30170.jpg
/home/pi/Desktop/images/08052026/07/55/image_08052026_07_55_35_29204.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.410362482070923 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902206","1416902200","1416902202","1416902198","1416902197","1416902204"],"photo_ids_order":["1416902197","1416902198","1416902200","1416902202","1416902204","1416902206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7082a536a8d77f582da681603a748f4.jpg","text":"TemporaryFile(/tmp/multipartBody246601651402889400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_32_35_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2b1ace274b3e52e12b68ba7fc6581a7.jpg","text":"TemporaryFile(/tmp/multipartBody5385142438421430947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_34_05_29301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/359b4adca4fc0c94780f6b749acc268d.jpg","text":"TemporaryFile(/tmp/multipartBody4329839014260276818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_33_36_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1f004b6cb896d0f2307b5cf86671eba.jpg","text":"TemporaryFile(/tmp/multipartBody898838652530371784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_34_35_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5ca418d17a518f970c175cded4adbc8.jpg","text":"TemporaryFile(/tmp/multipartBody7670892961126499674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_35_06_30242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/25e94f1011227d8e7cf74f99b07a47ee.jpg","text":"TemporaryFile(/tmp/multipartBody6775911456092985282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530086524,"filename":"image_08052026_12_33_05_30152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902200","file1":"1416902198","file0":"1416902197","file4":"1416902204","file5":"1416902206","file3":"1416902202"},"map_files_photo_id_array":[{"photo_id":"1416902206","filename":"file5"},{"photo_id":"1416902200","filename":"file2"},{"photo_id":"1416902204","filename":"file4"},{"photo_id":"1416902198","filename":"file1"},{"photo_id":"1416902197","filename":"file0"},{"photo_id":"1416902202","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902206":["hashtag1","hashtag2"]},{"1416902200":["hashtag1","hashtag2"]},{"1416902202":["hashtag1","hashtag2"]},{"1416902198":["hashtag1","hashtag2"]},{"1416902197":["hashtag1","hashtag2"]},{"1416902204":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902206, 1416902200, 1416902202, 1416902198, 1416902197, 1416902204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.084370613098145 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:08:03.193204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/45/image_08052026_07_46_05_30204.jpg', '/home/pi/Desktop/images/08052026/07/46/image_08052026_07_46_36_30259.jpg', '/home/pi/Desktop/images/08052026/07/47/image_08052026_07_47_35_29250.jpg', '/home/pi/Desktop/images/08052026/07/48/image_08052026_07_49_06_30272.jpg', '/home/pi/Desktop/images/08052026/07/54/image_08052026_07_55_06_30170.jpg', '/home/pi/Desktop/images/08052026/07/55/image_08052026_07_55_35_29204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/45/image_08052026_07_46_05_30204.jpg
/home/pi/Desktop/images/08052026/07/46/image_08052026_07_46_36_30259.jpg
/home/pi/Desktop/images/08052026/07/47/image_08052026_07_47_35_29250.jpg
/home/pi/Desktop/images/08052026/07/48/image_08052026_07_49_06_30272.jpg
/home/pi/Desktop/images/08052026/07/54/image_08052026_07_55_06_30170.jpg
/home/pi/Desktop/images/08052026/07/55/image_08052026_07_55_35_29204.jpg
2026-05-11 22:08:03.269077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/31/image_08052026_12_32_05_29218.jpg', '/home/pi/Desktop/images/08052026/12/31/image_08052026_12_31_36_30323.jpg', '/home/pi/Desktop/images/08052026/12/30/image_08052026_12_30_35_30254.jpg', '/home/pi/Desktop/images/08052026/12/29/image_08052026_12_29_36_30287.jpg', '/home/pi/Desktop/images/08052026/12/28/image_08052026_12_29_06_30169.jpg', '/home/pi/Desktop/images/08052026/12/28/image_08052026_12_28_35_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/31/image_08052026_12_32_05_29218.jpg
/home/pi/Desktop/images/08052026/12/31/image_08052026_12_31_36_30323.jpg
/home/pi/Desktop/images/08052026/12/30/image_08052026_12_30_35_30254.jpg
/home/pi/Desktop/images/08052026/12/29/image_08052026_12_29_36_30287.jpg
/home/pi/Desktop/images/08052026/12/28/image_08052026_12_29_06_30169.jpg
/home/pi/Desktop/images/08052026/12/28/image_08052026_12_28_35_30235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902212","1416902742","1416902214","1416902208","1416902438","1416902210"],"photo_ids_order":["1416902208","1416902210","1416902212","1416902214","1416902438","1416902742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0546562f0580bb5aa658ac8415bec900.jpg","text":"TemporaryFile(/tmp/multipartBody6199358157808081944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_47_35_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b067dc744ace1406f50504f6fb5d5098.jpg","text":"TemporaryFile(/tmp/multipartBody7662355474406926588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_55_35_29204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f10234845a3ceea99f19931f89eabb29.jpg","text":"TemporaryFile(/tmp/multipartBody178654430362682795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_49_06_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5c9b6032f38b34ca4ac08f06bb1d5178.jpg","text":"TemporaryFile(/tmp/multipartBody6612135455063677179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_46_05_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d0b8b585ec66a8456e8e332c113d4547.jpg","text":"TemporaryFile(/tmp/multipartBody7445846423370137391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_55_06_30170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0fc6c37ba607bc7051cc32aa4a73a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7086664453443882353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146025,"filename":"image_08052026_07_46_36_30259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902212","file1":"1416902210","file0":"1416902208","file4":"1416902438","file5":"1416902742","file3":"1416902214"},"map_files_photo_id_array":[{"photo_id":"1416902742","filename":"file5"},{"photo_id":"1416902212","filename":"file2"},{"photo_id":"1416902438","filename":"file4"},{"photo_id":"1416902210","filename":"file1"},{"photo_id":"1416902208","filename":"file0"},{"photo_id":"1416902214","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902212":["hashtag1","hashtag2"]},{"1416902742":["hashtag1","hashtag2"]},{"1416902214":["hashtag1","hashtag2"]},{"1416902208":["hashtag1","hashtag2"]},{"1416902438":["hashtag1","hashtag2"]},{"1416902210":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902212, 1416902742, 1416902214, 1416902208, 1416902438, 1416902210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42518663406372 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902209","1416902832","1416902211","1416902354","1416902213","1416902671"],"photo_ids_order":["1416902209","1416902211","1416902213","1416902354","1416902671","1416902832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/41270a337f53d3b3ce32b6b3efb70a30.jpg","text":"TemporaryFile(/tmp/multipartBody4445009119576694708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_32_05_29218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06e6e9d3ce1a148a1fcfc2a7b638da1c.jpg","text":"TemporaryFile(/tmp/multipartBody7389495341111071232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_28_35_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8335ff0af3db12961d5758bcfcbcbc77.jpg","text":"TemporaryFile(/tmp/multipartBody7351133635097954948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_31_36_30323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/48413ef9a40347d8227b9a3449deba80.jpg","text":"TemporaryFile(/tmp/multipartBody6515933722406774405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_29_36_30287.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d039204b610100c8fd1cbca8eb98eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2108994473151289288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_30_35_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82b4dd67b802d8b404f2abe956b14e73.jpg","text":"TemporaryFile(/tmp/multipartBody2342994906604483364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530146290,"filename":"image_08052026_12_29_06_30169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902213","file1":"1416902211","file0":"1416902209","file4":"1416902671","file5":"1416902832","file3":"1416902354"},"map_files_photo_id_array":[{"photo_id":"1416902832","filename":"file5"},{"photo_id":"1416902213","filename":"file2"},{"photo_id":"1416902671","filename":"file4"},{"photo_id":"1416902211","filename":"file1"},{"photo_id":"1416902209","filename":"file0"},{"photo_id":"1416902354","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902209":["hashtag1","hashtag2"]},{"1416902832":["hashtag1","hashtag2"]},{"1416902211":["hashtag1","hashtag2"]},{"1416902354":["hashtag1","hashtag2"]},{"1416902213":["hashtag1","hashtag2"]},{"1416902671":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902209, 1416902832, 1416902211, 1416902354, 1416902213, 1416902671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.115745067596436 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:09:04.472046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/07/55/image_08052026_07_56_05_30212.jpg', '/home/pi/Desktop/images/08052026/07/56/image_08052026_07_56_35_30261.jpg', '/home/pi/Desktop/images/08052026/07/56/image_08052026_07_57_06_30300.jpg', '/home/pi/Desktop/images/08052026/07/57/image_08052026_07_57_35_29194.jpg', '/home/pi/Desktop/images/08052026/07/58/image_08052026_07_59_05_29293.jpg', '/home/pi/Desktop/images/08052026/07/59/image_08052026_08_00_05_30304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/07/55/image_08052026_07_56_05_30212.jpg
/home/pi/Desktop/images/08052026/07/56/image_08052026_07_56_35_30261.jpg
/home/pi/Desktop/images/08052026/07/56/image_08052026_07_57_06_30300.jpg
/home/pi/Desktop/images/08052026/07/57/image_08052026_07_57_35_29194.jpg
/home/pi/Desktop/images/08052026/07/58/image_08052026_07_59_05_29293.jpg
/home/pi/Desktop/images/08052026/07/59/image_08052026_08_00_05_30304.jpg
2026-05-11 22:09:04.718237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/27/image_08052026_12_28_05_29310.jpg', '/home/pi/Desktop/images/08052026/12/26/image_08052026_12_27_05_30206.jpg', '/home/pi/Desktop/images/08052026/12/23/image_08052026_12_23_36_30357.jpg', '/home/pi/Desktop/images/08052026/12/15/image_08052026_12_16_05_29229.jpg', '/home/pi/Desktop/images/08052026/12/15/image_08052026_12_15_36_30236.jpg', '/home/pi/Desktop/images/08052026/12/14/image_08052026_12_14_35_30361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/27/image_08052026_12_28_05_29310.jpg
/home/pi/Desktop/images/08052026/12/26/image_08052026_12_27_05_30206.jpg
/home/pi/Desktop/images/08052026/12/23/image_08052026_12_23_36_30357.jpg
/home/pi/Desktop/images/08052026/12/15/image_08052026_12_16_05_29229.jpg
/home/pi/Desktop/images/08052026/12/15/image_08052026_12_15_36_30236.jpg
/home/pi/Desktop/images/08052026/12/14/image_08052026_12_14_35_30361.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.048841714859009 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902931","1416902940","1416902934","1416902936","1416902938","1416902932"],"photo_ids_order":["1416902931","1416902932","1416902934","1416902936","1416902938","1416902940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/228d0e03155ca665a677428faa208354.jpg","text":"TemporaryFile(/tmp/multipartBody7069997058621005252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_07_56_05_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a1e2fbd522d0e86f528579400f40115.jpg","text":"TemporaryFile(/tmp/multipartBody8668893769326306390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_08_00_05_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a833e565d3f8ee8b2faae6d6a7650cc.jpg","text":"TemporaryFile(/tmp/multipartBody9124953431329279780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_07_57_06_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c80ea9c51dccd6d7b4abc5dd585e104e.jpg","text":"TemporaryFile(/tmp/multipartBody3092164566909324561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_07_57_35_29194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/744ed4e1e7215aed37fbc545df045859.jpg","text":"TemporaryFile(/tmp/multipartBody3579183873096434903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_07_59_05_29293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44893f28d3bec4cfd89808656ee40d07.jpg","text":"TemporaryFile(/tmp/multipartBody5986009698991208599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530207629,"filename":"image_08052026_07_56_35_30261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902934","file1":"1416902932","file0":"1416902931","file4":"1416902938","file5":"1416902940","file3":"1416902936"},"map_files_photo_id_array":[{"photo_id":"1416902940","filename":"file5"},{"photo_id":"1416902934","filename":"file2"},{"photo_id":"1416902938","filename":"file4"},{"photo_id":"1416902932","filename":"file1"},{"photo_id":"1416902931","filename":"file0"},{"photo_id":"1416902936","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902931":["hashtag1","hashtag2"]},{"1416902940":["hashtag1","hashtag2"]},{"1416902934":["hashtag1","hashtag2"]},{"1416902936":["hashtag1","hashtag2"]},{"1416902938":["hashtag1","hashtag2"]},{"1416902932":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902931, 1416902940, 1416902934, 1416902936, 1416902938, 1416902932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97407627105713 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:10:03.924908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/00/image_08052026_08_01_05_29245.jpg', '/home/pi/Desktop/images/08052026/08/05/image_08052026_08_05_36_30249.jpg', '/home/pi/Desktop/images/08052026/08/05/image_08052026_08_06_05_29194.jpg', '/home/pi/Desktop/images/08052026/08/06/image_08052026_08_06_35_30238.jpg', '/home/pi/Desktop/images/08052026/08/06/image_08052026_08_07_05_30221.jpg', '/home/pi/Desktop/images/08052026/08/07/image_08052026_08_07_36_30387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/00/image_08052026_08_01_05_29245.jpg
/home/pi/Desktop/images/08052026/08/05/image_08052026_08_05_36_30249.jpg
/home/pi/Desktop/images/08052026/08/05/image_08052026_08_06_05_29194.jpg
/home/pi/Desktop/images/08052026/08/06/image_08052026_08_06_35_30238.jpg
/home/pi/Desktop/images/08052026/08/06/image_08052026_08_07_05_30221.jpg
/home/pi/Desktop/images/08052026/08/07/image_08052026_08_07_36_30387.jpg
2026-05-11 22:10:04.052616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/27/image_08052026_12_28_05_29310.jpg', '/home/pi/Desktop/images/08052026/12/26/image_08052026_12_27_05_30206.jpg', '/home/pi/Desktop/images/08052026/12/23/image_08052026_12_23_36_30357.jpg', '/home/pi/Desktop/images/08052026/12/15/image_08052026_12_16_05_29229.jpg', '/home/pi/Desktop/images/08052026/12/15/image_08052026_12_15_36_30236.jpg', '/home/pi/Desktop/images/08052026/12/14/image_08052026_12_14_35_30361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/27/image_08052026_12_28_05_29310.jpg
/home/pi/Desktop/images/08052026/12/26/image_08052026_12_27_05_30206.jpg
/home/pi/Desktop/images/08052026/12/23/image_08052026_12_23_36_30357.jpg
/home/pi/Desktop/images/08052026/12/15/image_08052026_12_16_05_29229.jpg
/home/pi/Desktop/images/08052026/12/15/image_08052026_12_15_36_30236.jpg
/home/pi/Desktop/images/08052026/12/14/image_08052026_12_14_35_30361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902952","1416902946","1416902942","1416902948","1416902950","1416902944"],"photo_ids_order":["1416902942","1416902944","1416902946","1416902948","1416902950","1416902952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82fb919d24963839d12cb7570d7af35c.jpg","text":"TemporaryFile(/tmp/multipartBody4026471486258623201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_14_35_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/868c3829c640b6d3af27d598a96ee727.jpg","text":"TemporaryFile(/tmp/multipartBody4499840694896988168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_23_36_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bae8bc2d4ab15c0151b7282875dc1a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5269630848687147793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_28_05_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b1935ea3fc64004c9f18131a84d7ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1493005590353670304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_16_05_29229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c02e75b42d74378a01efa32896168d4.jpg","text":"TemporaryFile(/tmp/multipartBody5639046988253126341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_15_36_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/944b67b99af835593ffcf2f68827c1df.jpg","text":"TemporaryFile(/tmp/multipartBody8331661104000793598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530266570,"filename":"image_08052026_12_27_05_30206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902946","file1":"1416902944","file0":"1416902942","file4":"1416902950","file5":"1416902952","file3":"1416902948"},"map_files_photo_id_array":[{"photo_id":"1416902952","filename":"file5"},{"photo_id":"1416902946","filename":"file2"},{"photo_id":"1416902950","filename":"file4"},{"photo_id":"1416902944","filename":"file1"},{"photo_id":"1416902942","filename":"file0"},{"photo_id":"1416902948","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902952":["hashtag1","hashtag2"]},{"1416902946":["hashtag1","hashtag2"]},{"1416902942":["hashtag1","hashtag2"]},{"1416902948":["hashtag1","hashtag2"]},{"1416902950":["hashtag1","hashtag2"]},{"1416902944":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902952, 1416902946, 1416902942, 1416902948, 1416902950, 1416902944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86342525482178 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902949","1416902943","1416902951","1416902945","1416902953","1416902947"],"photo_ids_order":["1416902943","1416902945","1416902947","1416902949","1416902951","1416902953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b97fa52f60a108031ee87e936d3ca36f.jpg","text":"TemporaryFile(/tmp/multipartBody6975328837727680434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_06_35_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c419af71f61e2e685f0359b840a60099.jpg","text":"TemporaryFile(/tmp/multipartBody1164840935576614531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_01_05_29245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca4360b557c96123faddc3d608d76adb.jpg","text":"TemporaryFile(/tmp/multipartBody8556090324121767481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_07_05_30221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1859341a56ef75f91aaeccea2457812b.jpg","text":"TemporaryFile(/tmp/multipartBody2697310528674091471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_05_36_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4e5fbb895b2c2cf61e97061f4d3fe431.jpg","text":"TemporaryFile(/tmp/multipartBody6204261592773583424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_07_36_30387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d3c09bd64ea60fbdfa71be2fa9dbd15.jpg","text":"TemporaryFile(/tmp/multipartBody8256716217061653322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530267112,"filename":"image_08052026_08_06_05_29194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902947","file1":"1416902945","file0":"1416902943","file4":"1416902951","file5":"1416902953","file3":"1416902949"},"map_files_photo_id_array":[{"photo_id":"1416902953","filename":"file5"},{"photo_id":"1416902947","filename":"file2"},{"photo_id":"1416902951","filename":"file4"},{"photo_id":"1416902945","filename":"file1"},{"photo_id":"1416902943","filename":"file0"},{"photo_id":"1416902949","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902949":["hashtag1","hashtag2"]},{"1416902943":["hashtag1","hashtag2"]},{"1416902951":["hashtag1","hashtag2"]},{"1416902945":["hashtag1","hashtag2"]},{"1416902953":["hashtag1","hashtag2"]},{"1416902947":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902949, 1416902943, 1416902951, 1416902945, 1416902953, 1416902947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24896001815796 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:11:03.945363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/12/13/image_08052026_12_14_05_29197.jpg', '/home/pi/Desktop/images/08052026/12/12/image_08052026_12_13_05_30208.jpg', '/home/pi/Desktop/images/08052026/12/02/image_08052026_12_02_35_30254.jpg', '/home/pi/Desktop/images/08052026/12/00/image_08052026_12_01_05_30200.jpg', '/home/pi/Desktop/images/08052026/12/00/image_08052026_12_00_35_30200.jpg', '/home/pi/Desktop/images/08052026/11/59/image_08052026_12_00_05_29269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/12/13/image_08052026_12_14_05_29197.jpg
/home/pi/Desktop/images/08052026/12/12/image_08052026_12_13_05_30208.jpg
/home/pi/Desktop/images/08052026/12/02/image_08052026_12_02_35_30254.jpg
/home/pi/Desktop/images/08052026/12/00/image_08052026_12_01_05_30200.jpg
/home/pi/Desktop/images/08052026/12/00/image_08052026_12_00_35_30200.jpg
/home/pi/Desktop/images/08052026/11/59/image_08052026_12_00_05_29269.jpg
2026-05-11 22:11:04.088570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/07/image_08052026_08_08_05_29250.jpg', '/home/pi/Desktop/images/08052026/08/08/image_08052026_08_08_35_30157.jpg', '/home/pi/Desktop/images/08052026/08/08/image_08052026_08_09_05_30183.jpg', '/home/pi/Desktop/images/08052026/08/09/image_08052026_08_09_36_30348.jpg', '/home/pi/Desktop/images/08052026/08/09/image_08052026_08_10_05_29235.jpg', '/home/pi/Desktop/images/08052026/08/10/image_08052026_08_11_05_30249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/07/image_08052026_08_08_05_29250.jpg
/home/pi/Desktop/images/08052026/08/08/image_08052026_08_08_35_30157.jpg
/home/pi/Desktop/images/08052026/08/08/image_08052026_08_09_05_30183.jpg
/home/pi/Desktop/images/08052026/08/09/image_08052026_08_09_36_30348.jpg
/home/pi/Desktop/images/08052026/08/09/image_08052026_08_10_05_29235.jpg
/home/pi/Desktop/images/08052026/08/10/image_08052026_08_11_05_30249.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.597672462463379 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902960","1416902963","1416902957","1416902966","1416902968","1416902956"],"photo_ids_order":["1416902956","1416902957","1416902960","1416902963","1416902966","1416902968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e5835f41081fc816faadcbed0e45cb23.jpg","text":"TemporaryFile(/tmp/multipartBody2582381716441265267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_02_35_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76114a871cd188809c871b7297fdc198.jpg","text":"TemporaryFile(/tmp/multipartBody7623275207762820998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_01_05_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d40691bdfbaa6680cb116773c1b02d06.jpg","text":"TemporaryFile(/tmp/multipartBody2930188462758300856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_13_05_30208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d361971a7fa8346f5143c2ee8efdd39.jpg","text":"TemporaryFile(/tmp/multipartBody8971285645434882606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_00_35_30200.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09f03c633f92335bc34c54a1860785f6.jpg","text":"TemporaryFile(/tmp/multipartBody7639051100344505584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_00_05_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ceb0f5358d653aacf8d4539dfd0f335.jpg","text":"TemporaryFile(/tmp/multipartBody9145088855863155082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530326908,"filename":"image_08052026_12_14_05_29197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902960","file1":"1416902957","file0":"1416902956","file4":"1416902966","file5":"1416902968","file3":"1416902963"},"map_files_photo_id_array":[{"photo_id":"1416902968","filename":"file5"},{"photo_id":"1416902960","filename":"file2"},{"photo_id":"1416902966","filename":"file4"},{"photo_id":"1416902957","filename":"file1"},{"photo_id":"1416902956","filename":"file0"},{"photo_id":"1416902963","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902960":["hashtag1","hashtag2"]},{"1416902963":["hashtag1","hashtag2"]},{"1416902957":["hashtag1","hashtag2"]},{"1416902966":["hashtag1","hashtag2"]},{"1416902968":["hashtag1","hashtag2"]},{"1416902956":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902960, 1416902963, 1416902957, 1416902966, 1416902968, 1416902956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06131672859192 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:12:03.888153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/59/image_08052026_11_59_36_30301.jpg', '/home/pi/Desktop/images/08052026/11/57/image_08052026_11_58_05_29157.jpg', '/home/pi/Desktop/images/08052026/11/53/image_08052026_11_53_36_30375.jpg', '/home/pi/Desktop/images/08052026/11/50/image_08052026_11_51_05_30189.jpg', '/home/pi/Desktop/images/08052026/11/50/image_08052026_11_50_35_30150.jpg', '/home/pi/Desktop/images/08052026/11/49/image_08052026_11_50_05_29227.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/59/image_08052026_11_59_36_30301.jpg
/home/pi/Desktop/images/08052026/11/57/image_08052026_11_58_05_29157.jpg
/home/pi/Desktop/images/08052026/11/53/image_08052026_11_53_36_30375.jpg
/home/pi/Desktop/images/08052026/11/50/image_08052026_11_51_05_30189.jpg
/home/pi/Desktop/images/08052026/11/50/image_08052026_11_50_35_30150.jpg
/home/pi/Desktop/images/08052026/11/49/image_08052026_11_50_05_29227.jpg
2026-05-11 22:12:04.005095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/07/image_08052026_08_08_05_29250.jpg', '/home/pi/Desktop/images/08052026/08/08/image_08052026_08_08_35_30157.jpg', '/home/pi/Desktop/images/08052026/08/08/image_08052026_08_09_05_30183.jpg', '/home/pi/Desktop/images/08052026/08/09/image_08052026_08_09_36_30348.jpg', '/home/pi/Desktop/images/08052026/08/09/image_08052026_08_10_05_29235.jpg', '/home/pi/Desktop/images/08052026/08/10/image_08052026_08_11_05_30249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/07/image_08052026_08_08_05_29250.jpg
/home/pi/Desktop/images/08052026/08/08/image_08052026_08_08_35_30157.jpg
/home/pi/Desktop/images/08052026/08/08/image_08052026_08_09_05_30183.jpg
/home/pi/Desktop/images/08052026/08/09/image_08052026_08_09_36_30348.jpg
/home/pi/Desktop/images/08052026/08/09/image_08052026_08_10_05_29235.jpg
/home/pi/Desktop/images/08052026/08/10/image_08052026_08_11_05_30249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902976","1416902981","1416902971","1416902980","1416902974","1416902977"],"photo_ids_order":["1416902971","1416902974","1416902976","1416902977","1416902980","1416902981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eefb38945b56d799e40e62de6d7c1cb3.jpg","text":"TemporaryFile(/tmp/multipartBody980801145986049072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_53_36_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2dce2288748ab131c615b9de8454880.jpg","text":"TemporaryFile(/tmp/multipartBody3824716569884987479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_50_05_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35980fe8847d7ec16c99e77e5baed546.jpg","text":"TemporaryFile(/tmp/multipartBody7569234435768876281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_59_36_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14fdbf51bab8746079aa0fe58f9891c3.jpg","text":"TemporaryFile(/tmp/multipartBody6167667437903951290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_50_35_30150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2877da71ca751939b407235942a5b50.jpg","text":"TemporaryFile(/tmp/multipartBody4584068158416505824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_58_05_29157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bf6972f51b06cd8b1cff5076397e9bea.jpg","text":"TemporaryFile(/tmp/multipartBody8119085282790007141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386775,"filename":"image_08052026_11_51_05_30189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902976","file1":"1416902974","file0":"1416902971","file4":"1416902980","file5":"1416902981","file3":"1416902977"},"map_files_photo_id_array":[{"photo_id":"1416902981","filename":"file5"},{"photo_id":"1416902976","filename":"file2"},{"photo_id":"1416902980","filename":"file4"},{"photo_id":"1416902974","filename":"file1"},{"photo_id":"1416902971","filename":"file0"},{"photo_id":"1416902977","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902976":["hashtag1","hashtag2"]},{"1416902981":["hashtag1","hashtag2"]},{"1416902971":["hashtag1","hashtag2"]},{"1416902980":["hashtag1","hashtag2"]},{"1416902974":["hashtag1","hashtag2"]},{"1416902977":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902976, 1416902981, 1416902971, 1416902980, 1416902974, 1416902977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.814130544662476 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902982","1416902979","1416902973","1416902975","1416902978","1416902972"],"photo_ids_order":["1416902972","1416902973","1416902975","1416902978","1416902979","1416902982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/278eae4d7dda3e754cd597b088c56503.jpg","text":"TemporaryFile(/tmp/multipartBody5159125665275184956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_11_05_30249.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/07040ae1a9db62d911ee4bc78e8e687f.jpg","text":"TemporaryFile(/tmp/multipartBody8993195389700251604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_10_05_29235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4b36668a04842a0122dbf9e1c01c88c4.jpg","text":"TemporaryFile(/tmp/multipartBody302327155276868149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_08_35_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad1aaa01046f2db58e0e9babbc026650.jpg","text":"TemporaryFile(/tmp/multipartBody8540808399322283878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_09_05_30183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9d5fd963e307585038ffd7dcac21ad28.jpg","text":"TemporaryFile(/tmp/multipartBody2883570988646246230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_09_36_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ca9a7331953136b734865b12c8953c01.jpg","text":"TemporaryFile(/tmp/multipartBody7231057551128447914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530386876,"filename":"image_08052026_08_08_05_29250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902975","file1":"1416902973","file0":"1416902972","file4":"1416902979","file5":"1416902982","file3":"1416902978"},"map_files_photo_id_array":[{"photo_id":"1416902982","filename":"file5"},{"photo_id":"1416902975","filename":"file2"},{"photo_id":"1416902979","filename":"file4"},{"photo_id":"1416902973","filename":"file1"},{"photo_id":"1416902972","filename":"file0"},{"photo_id":"1416902978","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902982":["hashtag1","hashtag2"]},{"1416902979":["hashtag1","hashtag2"]},{"1416902973":["hashtag1","hashtag2"]},{"1416902975":["hashtag1","hashtag2"]},{"1416902978":["hashtag1","hashtag2"]},{"1416902972":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902982, 1416902979, 1416902973, 1416902975, 1416902978, 1416902972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13713073730469 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:13:04.548583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/12/image_08052026_08_12_35_30333.jpg', '/home/pi/Desktop/images/08052026/08/16/image_08052026_08_16_36_30244.jpg', '/home/pi/Desktop/images/08052026/08/17/image_08052026_08_17_35_30216.jpg', '/home/pi/Desktop/images/08052026/08/17/image_08052026_08_18_05_30266.jpg', '/home/pi/Desktop/images/08052026/08/18/image_08052026_08_18_36_30275.jpg', '/home/pi/Desktop/images/08052026/08/18/image_08052026_08_19_05_29335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/12/image_08052026_08_12_35_30333.jpg
/home/pi/Desktop/images/08052026/08/16/image_08052026_08_16_36_30244.jpg
/home/pi/Desktop/images/08052026/08/17/image_08052026_08_17_35_30216.jpg
/home/pi/Desktop/images/08052026/08/17/image_08052026_08_18_05_30266.jpg
/home/pi/Desktop/images/08052026/08/18/image_08052026_08_18_36_30275.jpg
/home/pi/Desktop/images/08052026/08/18/image_08052026_08_19_05_29335.jpg
2026-05-11 22:13:04.743566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/42/image_08052026_11_42_35_30153.jpg', '/home/pi/Desktop/images/08052026/11/41/image_08052026_11_41_36_30422.jpg', '/home/pi/Desktop/images/08052026/11/40/image_08052026_11_40_35_30256.jpg', '/home/pi/Desktop/images/08052026/11/39/image_08052026_11_40_05_29192.jpg', '/home/pi/Desktop/images/08052026/11/33/image_08052026_11_34_05_29134.jpg', '/home/pi/Desktop/images/08052026/11/31/image_08052026_11_32_05_29245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/42/image_08052026_11_42_35_30153.jpg
/home/pi/Desktop/images/08052026/11/41/image_08052026_11_41_36_30422.jpg
/home/pi/Desktop/images/08052026/11/40/image_08052026_11_40_35_30256.jpg
/home/pi/Desktop/images/08052026/11/39/image_08052026_11_40_05_29192.jpg
/home/pi/Desktop/images/08052026/11/33/image_08052026_11_34_05_29134.jpg
/home/pi/Desktop/images/08052026/11/31/image_08052026_11_32_05_29245.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.0023789405822754 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902988","1416902993","1416902990","1416902984","1416902983","1416902986"],"photo_ids_order":["1416902983","1416902984","1416902986","1416902988","1416902990","1416902993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/155d64e7a3f144f11e61c68aba71e946.jpg","text":"TemporaryFile(/tmp/multipartBody7073222405253178094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_18_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a53d8b0beeb20ed74dec2c3eeed9200.jpg","text":"TemporaryFile(/tmp/multipartBody7675958020250386475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_19_05_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43fbd9c738268981374a9a02ad0d6a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6242124858146482275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_18_36_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b075c29571f7cddca9066c99f1797dac.jpg","text":"TemporaryFile(/tmp/multipartBody6750719485165794496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_16_36_30244.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c3493c8e4106d5656935c0a649ec6fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7482139451853040409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_12_35_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4eec184215b73608fb5c113c6b25ab28.jpg","text":"TemporaryFile(/tmp/multipartBody2679796072145314579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530447479,"filename":"image_08052026_08_17_35_30216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902986","file1":"1416902984","file0":"1416902983","file4":"1416902990","file5":"1416902993","file3":"1416902988"},"map_files_photo_id_array":[{"photo_id":"1416902993","filename":"file5"},{"photo_id":"1416902986","filename":"file2"},{"photo_id":"1416902990","filename":"file4"},{"photo_id":"1416902984","filename":"file1"},{"photo_id":"1416902983","filename":"file0"},{"photo_id":"1416902988","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902988":["hashtag1","hashtag2"]},{"1416902993":["hashtag1","hashtag2"]},{"1416902990":["hashtag1","hashtag2"]},{"1416902984":["hashtag1","hashtag2"]},{"1416902983":["hashtag1","hashtag2"]},{"1416902986":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902988, 1416902993, 1416902990, 1416902984, 1416902983, 1416902986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.945099115371704 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:14:04.049897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/42/image_08052026_11_42_35_30153.jpg', '/home/pi/Desktop/images/08052026/11/41/image_08052026_11_41_36_30422.jpg', '/home/pi/Desktop/images/08052026/11/40/image_08052026_11_40_35_30256.jpg', '/home/pi/Desktop/images/08052026/11/39/image_08052026_11_40_05_29192.jpg', '/home/pi/Desktop/images/08052026/11/33/image_08052026_11_34_05_29134.jpg', '/home/pi/Desktop/images/08052026/11/31/image_08052026_11_32_05_29245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/42/image_08052026_11_42_35_30153.jpg
/home/pi/Desktop/images/08052026/11/41/image_08052026_11_41_36_30422.jpg
/home/pi/Desktop/images/08052026/11/40/image_08052026_11_40_35_30256.jpg
/home/pi/Desktop/images/08052026/11/39/image_08052026_11_40_05_29192.jpg
/home/pi/Desktop/images/08052026/11/33/image_08052026_11_34_05_29134.jpg
/home/pi/Desktop/images/08052026/11/31/image_08052026_11_32_05_29245.jpg
2026-05-11 22:14:04.125653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/19/image_08052026_08_19_35_30394.jpg', '/home/pi/Desktop/images/08052026/08/19/image_08052026_08_20_06_30354.jpg', '/home/pi/Desktop/images/08052026/08/20/image_08052026_08_20_35_29233.jpg', '/home/pi/Desktop/images/08052026/08/22/image_08052026_08_22_35_30157.jpg', '/home/pi/Desktop/images/08052026/08/27/image_08052026_08_28_05_29260.jpg', '/home/pi/Desktop/images/08052026/08/29/image_08052026_08_30_05_29238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/19/image_08052026_08_19_35_30394.jpg
/home/pi/Desktop/images/08052026/08/19/image_08052026_08_20_06_30354.jpg
/home/pi/Desktop/images/08052026/08/20/image_08052026_08_20_35_29233.jpg
/home/pi/Desktop/images/08052026/08/22/image_08052026_08_22_35_30157.jpg
/home/pi/Desktop/images/08052026/08/27/image_08052026_08_28_05_29260.jpg
/home/pi/Desktop/images/08052026/08/29/image_08052026_08_30_05_29238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416902997","1416903000","1416903003","1416903005","1416902995","1416903001"],"photo_ids_order":["1416902995","1416902997","1416903000","1416903001","1416903003","1416903005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/725e751e835987b5c74a343c77a16c40.jpg","text":"TemporaryFile(/tmp/multipartBody7298220519024786599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_41_36_30422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7c311d5aa4f35113cb52c6773e66665.jpg","text":"TemporaryFile(/tmp/multipartBody4402668459637304112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_40_35_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81407fce4e8fa4d98e6e8abca4e8eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6032929054188792720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_34_05_29134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/732fa15df90390d5cabaee69cac76a53.jpg","text":"TemporaryFile(/tmp/multipartBody608556188725220599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_32_05_29245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aff0f54bc9d9a61d418c3de80eadc86f.jpg","text":"TemporaryFile(/tmp/multipartBody6935082387748932384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_42_35_30153.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45d571bbb2a597e3ed732191f746bd88.jpg","text":"TemporaryFile(/tmp/multipartBody1800104652850931195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530507132,"filename":"image_08052026_11_40_05_29192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903000","file1":"1416902997","file0":"1416902995","file4":"1416903003","file5":"1416903005","file3":"1416903001"},"map_files_photo_id_array":[{"photo_id":"1416903005","filename":"file5"},{"photo_id":"1416903000","filename":"file2"},{"photo_id":"1416903003","filename":"file4"},{"photo_id":"1416902997","filename":"file1"},{"photo_id":"1416902995","filename":"file0"},{"photo_id":"1416903001","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416902997":["hashtag1","hashtag2"]},{"1416903000":["hashtag1","hashtag2"]},{"1416903003":["hashtag1","hashtag2"]},{"1416903005":["hashtag1","hashtag2"]},{"1416902995":["hashtag1","hashtag2"]},{"1416903001":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416902997, 1416903000, 1416903003, 1416903005, 1416902995, 1416903001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.630205392837524 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903006","1416902999","1416902996","1416903002","1416903004","1416902994"],"photo_ids_order":["1416902994","1416902996","1416902999","1416903002","1416903004","1416903006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c1e45762a2085d0ffec615ee86b76de9.jpg","text":"TemporaryFile(/tmp/multipartBody7685872588898403813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_30_05_29238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c84b74322233a140b0ae7a7fadf8872d.jpg","text":"TemporaryFile(/tmp/multipartBody6999589121220846866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_20_35_29233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/63bf206f29426dd5f6f20def8a67cafa.jpg","text":"TemporaryFile(/tmp/multipartBody5831461559107517726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_20_06_30354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f23b46e4985f72970131e327e007e405.jpg","text":"TemporaryFile(/tmp/multipartBody3997558567026207077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_22_35_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7600b0399fceeff42f607f0ddc728f48.jpg","text":"TemporaryFile(/tmp/multipartBody3809953025823194151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_28_05_29260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/04adf48b27e989e798c96cde122b0b41.jpg","text":"TemporaryFile(/tmp/multipartBody1008698473724994262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530506850,"filename":"image_08052026_08_19_35_30394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416902999","file1":"1416902996","file0":"1416902994","file4":"1416903004","file5":"1416903006","file3":"1416903002"},"map_files_photo_id_array":[{"photo_id":"1416903006","filename":"file5"},{"photo_id":"1416902999","filename":"file2"},{"photo_id":"1416903004","filename":"file4"},{"photo_id":"1416902996","filename":"file1"},{"photo_id":"1416902994","filename":"file0"},{"photo_id":"1416903002","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903006":["hashtag1","hashtag2"]},{"1416902999":["hashtag1","hashtag2"]},{"1416902996":["hashtag1","hashtag2"]},{"1416903002":["hashtag1","hashtag2"]},{"1416903004":["hashtag1","hashtag2"]},{"1416902994":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903006, 1416902999, 1416902996, 1416903002, 1416903004, 1416902994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97279095649719 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:15:03.814746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/30/image_08052026_08_30_35_30224.jpg', '/home/pi/Desktop/images/08052026/08/32/image_08052026_08_33_05_30286.jpg', '/home/pi/Desktop/images/08052026/08/34/image_08052026_08_34_35_30187.jpg', '/home/pi/Desktop/images/08052026/08/36/image_08052026_08_36_35_30241.jpg', '/home/pi/Desktop/images/08052026/08/36/image_08052026_08_37_05_30191.jpg', '/home/pi/Desktop/images/08052026/08/37/image_08052026_08_38_05_29312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/30/image_08052026_08_30_35_30224.jpg
/home/pi/Desktop/images/08052026/08/32/image_08052026_08_33_05_30286.jpg
/home/pi/Desktop/images/08052026/08/34/image_08052026_08_34_35_30187.jpg
/home/pi/Desktop/images/08052026/08/36/image_08052026_08_36_35_30241.jpg
/home/pi/Desktop/images/08052026/08/36/image_08052026_08_37_05_30191.jpg
/home/pi/Desktop/images/08052026/08/37/image_08052026_08_38_05_29312.jpg
2026-05-11 22:15:04.069306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/27/image_08052026_11_28_05_30293.jpg', '/home/pi/Desktop/images/08052026/11/27/image_08052026_11_27_35_29152.jpg', '/home/pi/Desktop/images/08052026/11/26/image_08052026_11_27_06_30152.jpg', '/home/pi/Desktop/images/08052026/11/25/image_08052026_11_26_05_30226.jpg', '/home/pi/Desktop/images/08052026/11/25/image_08052026_11_25_35_30176.jpg', '/home/pi/Desktop/images/08052026/11/22/image_08052026_11_23_05_29266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/27/image_08052026_11_28_05_30293.jpg
/home/pi/Desktop/images/08052026/11/27/image_08052026_11_27_35_29152.jpg
/home/pi/Desktop/images/08052026/11/26/image_08052026_11_27_06_30152.jpg
/home/pi/Desktop/images/08052026/11/25/image_08052026_11_26_05_30226.jpg
/home/pi/Desktop/images/08052026/11/25/image_08052026_11_25_35_30176.jpg
/home/pi/Desktop/images/08052026/11/22/image_08052026_11_23_05_29266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903015","1416903009","1416903011","1416903017","1416903013","1416903007"],"photo_ids_order":["1416903007","1416903009","1416903011","1416903013","1416903015","1416903017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/80a4f399c7d0dd4579ca4442c5ac2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1040916877381883563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_25_35_30176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/664edf4ee683ba572920489837fe8587.jpg","text":"TemporaryFile(/tmp/multipartBody1303887330834144885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_27_35_29152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f77f7ec1780f25beac0a6d3174846fa.jpg","text":"TemporaryFile(/tmp/multipartBody8687433287628199381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_27_06_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0968785dc4b046751788ced81e75879.jpg","text":"TemporaryFile(/tmp/multipartBody7512071744820165166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_23_05_29266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ebe1177ff50b4f076ef830ae9b27520.jpg","text":"TemporaryFile(/tmp/multipartBody571601372434475867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_26_05_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/43a06ac013f5701221594ea23facac1f.jpg","text":"TemporaryFile(/tmp/multipartBody5382993421738098148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530566720,"filename":"image_08052026_11_28_05_30293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903011","file1":"1416903009","file0":"1416903007","file4":"1416903015","file5":"1416903017","file3":"1416903013"},"map_files_photo_id_array":[{"photo_id":"1416903017","filename":"file5"},{"photo_id":"1416903011","filename":"file2"},{"photo_id":"1416903015","filename":"file4"},{"photo_id":"1416903009","filename":"file1"},{"photo_id":"1416903007","filename":"file0"},{"photo_id":"1416903013","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903015":["hashtag1","hashtag2"]},{"1416903009":["hashtag1","hashtag2"]},{"1416903011":["hashtag1","hashtag2"]},{"1416903017":["hashtag1","hashtag2"]},{"1416903013":["hashtag1","hashtag2"]},{"1416903007":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903015, 1416903009, 1416903011, 1416903017, 1416903013, 1416903007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.594417572021484 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903012","1416903018","1416903014","1416903008","1416903016","1416903010"],"photo_ids_order":["1416903008","1416903010","1416903012","1416903014","1416903016","1416903018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a4b18fc4fc3830ea7b02a4dbc69a8c2.jpg","text":"TemporaryFile(/tmp/multipartBody5230289986058893893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_34_35_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab1fe7202f15f4d4e00068bddbe40117.jpg","text":"TemporaryFile(/tmp/multipartBody8625153573760665298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_38_05_29312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b2661ee6899fab5e8c2e88e946237ac.jpg","text":"TemporaryFile(/tmp/multipartBody1966439152649320612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_36_35_30241.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1f7aec564615fb67040cfc45d959815.jpg","text":"TemporaryFile(/tmp/multipartBody8917192293593617108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_30_35_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/45f387ae8c1a283d0f16f3709ac62fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6028157362534894433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_37_05_30191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e33c5a5a897ca50591ec84c179271421.jpg","text":"TemporaryFile(/tmp/multipartBody8945429374725507984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530567023,"filename":"image_08052026_08_33_05_30286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903012","file1":"1416903010","file0":"1416903008","file4":"1416903016","file5":"1416903018","file3":"1416903014"},"map_files_photo_id_array":[{"photo_id":"1416903018","filename":"file5"},{"photo_id":"1416903012","filename":"file2"},{"photo_id":"1416903016","filename":"file4"},{"photo_id":"1416903010","filename":"file1"},{"photo_id":"1416903008","filename":"file0"},{"photo_id":"1416903014","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903012":["hashtag1","hashtag2"]},{"1416903018":["hashtag1","hashtag2"]},{"1416903014":["hashtag1","hashtag2"]},{"1416903008":["hashtag1","hashtag2"]},{"1416903016":["hashtag1","hashtag2"]},{"1416903010":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903012, 1416903018, 1416903014, 1416903008, 1416903016, 1416903010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43911576271057 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:16:03.033607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/22/image_08052026_11_22_36_30274.jpg', '/home/pi/Desktop/images/08052026/11/20/image_08052026_11_20_36_30279.jpg', '/home/pi/Desktop/images/08052026/11/19/image_08052026_11_20_05_30299.jpg', '/home/pi/Desktop/images/08052026/11/18/image_08052026_11_18_36_30349.jpg', '/home/pi/Desktop/images/08052026/11/17/image_08052026_11_18_05_30314.jpg', '/home/pi/Desktop/images/08052026/11/11/image_08052026_11_11_36_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/22/image_08052026_11_22_36_30274.jpg
/home/pi/Desktop/images/08052026/11/20/image_08052026_11_20_36_30279.jpg
/home/pi/Desktop/images/08052026/11/19/image_08052026_11_20_05_30299.jpg
/home/pi/Desktop/images/08052026/11/18/image_08052026_11_18_36_30349.jpg
/home/pi/Desktop/images/08052026/11/17/image_08052026_11_18_05_30314.jpg
/home/pi/Desktop/images/08052026/11/11/image_08052026_11_11_36_30292.jpg
2026-05-11 22:16:03.162359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/38/image_08052026_08_38_35_30152.jpg', '/home/pi/Desktop/images/08052026/08/38/image_08052026_08_39_05_30231.jpg', '/home/pi/Desktop/images/08052026/08/39/image_08052026_08_39_36_30414.jpg', '/home/pi/Desktop/images/08052026/08/39/image_08052026_08_40_05_29289.jpg', '/home/pi/Desktop/images/08052026/08/40/image_08052026_08_40_35_30206.jpg', '/home/pi/Desktop/images/08052026/08/40/image_08052026_08_41_06_30388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/38/image_08052026_08_38_35_30152.jpg
/home/pi/Desktop/images/08052026/08/38/image_08052026_08_39_05_30231.jpg
/home/pi/Desktop/images/08052026/08/39/image_08052026_08_39_36_30414.jpg
/home/pi/Desktop/images/08052026/08/39/image_08052026_08_40_05_29289.jpg
/home/pi/Desktop/images/08052026/08/40/image_08052026_08_40_35_30206.jpg
/home/pi/Desktop/images/08052026/08/40/image_08052026_08_41_06_30388.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.530548572540283 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903027","1416903024","1416903020","1416903028","1416903022","1416903019"],"photo_ids_order":["1416903019","1416903020","1416903022","1416903024","1416903027","1416903028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fa356b8ba12a3166eff0c2f1fd60a33d.jpg","text":"TemporaryFile(/tmp/multipartBody3061186765899809503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_18_05_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7acfdfccdc64f0187d1e94ac0687b02f.jpg","text":"TemporaryFile(/tmp/multipartBody1742606104656440328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_18_36_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ddab03dc3e2fb8fd00abe1128ccfa3c.jpg","text":"TemporaryFile(/tmp/multipartBody6647376661641941738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_20_36_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17186e34d03fd00e7bb41e6b5060f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody8618353037077841126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_11_36_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a809f12c5bbecd83729762917ee4e3c0.jpg","text":"TemporaryFile(/tmp/multipartBody8358531000094455344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_20_05_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2047cb34760e55287427680b146d9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5214633167910933862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530625653,"filename":"image_08052026_11_22_36_30274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903022","file1":"1416903020","file0":"1416903019","file4":"1416903027","file5":"1416903028","file3":"1416903024"},"map_files_photo_id_array":[{"photo_id":"1416903028","filename":"file5"},{"photo_id":"1416903022","filename":"file2"},{"photo_id":"1416903027","filename":"file4"},{"photo_id":"1416903020","filename":"file1"},{"photo_id":"1416903019","filename":"file0"},{"photo_id":"1416903024","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903027":["hashtag1","hashtag2"]},{"1416903024":["hashtag1","hashtag2"]},{"1416903020":["hashtag1","hashtag2"]},{"1416903028":["hashtag1","hashtag2"]},{"1416903022":["hashtag1","hashtag2"]},{"1416903019":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903027, 1416903024, 1416903020, 1416903028, 1416903022, 1416903019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.672754764556885 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:17:04.157579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/38/image_08052026_08_38_35_30152.jpg', '/home/pi/Desktop/images/08052026/08/38/image_08052026_08_39_05_30231.jpg', '/home/pi/Desktop/images/08052026/08/39/image_08052026_08_39_36_30414.jpg', '/home/pi/Desktop/images/08052026/08/39/image_08052026_08_40_05_29289.jpg', '/home/pi/Desktop/images/08052026/08/40/image_08052026_08_40_35_30206.jpg', '/home/pi/Desktop/images/08052026/08/40/image_08052026_08_41_06_30388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/38/image_08052026_08_38_35_30152.jpg
/home/pi/Desktop/images/08052026/08/38/image_08052026_08_39_05_30231.jpg
/home/pi/Desktop/images/08052026/08/39/image_08052026_08_39_36_30414.jpg
/home/pi/Desktop/images/08052026/08/39/image_08052026_08_40_05_29289.jpg
/home/pi/Desktop/images/08052026/08/40/image_08052026_08_40_35_30206.jpg
/home/pi/Desktop/images/08052026/08/40/image_08052026_08_41_06_30388.jpg
2026-05-11 22:17:04.320251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/09/image_08052026_11_09_36_30284.jpg', '/home/pi/Desktop/images/08052026/11/06/image_08052026_11_06_35_30221.jpg', '/home/pi/Desktop/images/08052026/11/05/image_08052026_11_06_05_29190.jpg', '/home/pi/Desktop/images/08052026/11/05/image_08052026_11_05_36_30319.jpg', '/home/pi/Desktop/images/08052026/11/04/image_08052026_11_05_05_30054.jpg', '/home/pi/Desktop/images/08052026/11/01/image_08052026_11_02_05_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/09/image_08052026_11_09_36_30284.jpg
/home/pi/Desktop/images/08052026/11/06/image_08052026_11_06_35_30221.jpg
/home/pi/Desktop/images/08052026/11/05/image_08052026_11_06_05_29190.jpg
/home/pi/Desktop/images/08052026/11/05/image_08052026_11_05_36_30319.jpg
/home/pi/Desktop/images/08052026/11/04/image_08052026_11_05_05_30054.jpg
/home/pi/Desktop/images/08052026/11/01/image_08052026_11_02_05_30190.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5572922229766846 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903030","1416903033","1416903038","1416903035","1416903040","1416903031"],"photo_ids_order":["1416903030","1416903031","1416903033","1416903035","1416903038","1416903040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/009ed9a041a35a1b38e42ec37a4bd1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7565630782741636025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_38_35_30152.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44f6a991004c6c58ae7f0122adf5bee5.jpg","text":"TemporaryFile(/tmp/multipartBody3379889203287852554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_39_36_30414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c77d0f7c6d50a4a426dea34ad651597a.jpg","text":"TemporaryFile(/tmp/multipartBody5126147715260737561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_40_35_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9edf896835245c3cfbddd0c88256eae6.jpg","text":"TemporaryFile(/tmp/multipartBody2342343429775237422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_40_05_29289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b99935e05564b671900387495ecd2fdb.jpg","text":"TemporaryFile(/tmp/multipartBody8703561922451275598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_41_06_30388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9d1c015321b3593b9a4cee5ac9e186b.jpg","text":"TemporaryFile(/tmp/multipartBody5469167948336524186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530686996,"filename":"image_08052026_08_39_05_30231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903033","file1":"1416903031","file0":"1416903030","file4":"1416903038","file5":"1416903040","file3":"1416903035"},"map_files_photo_id_array":[{"photo_id":"1416903040","filename":"file5"},{"photo_id":"1416903033","filename":"file2"},{"photo_id":"1416903038","filename":"file4"},{"photo_id":"1416903031","filename":"file1"},{"photo_id":"1416903030","filename":"file0"},{"photo_id":"1416903035","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903030":["hashtag1","hashtag2"]},{"1416903033":["hashtag1","hashtag2"]},{"1416903038":["hashtag1","hashtag2"]},{"1416903035":["hashtag1","hashtag2"]},{"1416903040":["hashtag1","hashtag2"]},{"1416903031":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903030, 1416903033, 1416903038, 1416903035, 1416903040, 1416903031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.745012283325195 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:18:03.181553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/11/09/image_08052026_11_09_36_30284.jpg', '/home/pi/Desktop/images/08052026/11/06/image_08052026_11_06_35_30221.jpg', '/home/pi/Desktop/images/08052026/11/05/image_08052026_11_06_05_29190.jpg', '/home/pi/Desktop/images/08052026/11/05/image_08052026_11_05_36_30319.jpg', '/home/pi/Desktop/images/08052026/11/04/image_08052026_11_05_05_30054.jpg', '/home/pi/Desktop/images/08052026/11/01/image_08052026_11_02_05_30190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/11/09/image_08052026_11_09_36_30284.jpg
/home/pi/Desktop/images/08052026/11/06/image_08052026_11_06_35_30221.jpg
/home/pi/Desktop/images/08052026/11/05/image_08052026_11_06_05_29190.jpg
/home/pi/Desktop/images/08052026/11/05/image_08052026_11_05_36_30319.jpg
/home/pi/Desktop/images/08052026/11/04/image_08052026_11_05_05_30054.jpg
/home/pi/Desktop/images/08052026/11/01/image_08052026_11_02_05_30190.jpg
2026-05-11 22:18:03.317208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/41/image_08052026_08_41_35_29327.jpg', '/home/pi/Desktop/images/08052026/08/41/image_08052026_08_42_05_30301.jpg', '/home/pi/Desktop/images/08052026/08/42/image_08052026_08_42_35_30229.jpg', '/home/pi/Desktop/images/08052026/08/43/image_08052026_08_43_35_29233.jpg', '/home/pi/Desktop/images/08052026/08/43/image_08052026_08_44_05_30294.jpg', '/home/pi/Desktop/images/08052026/08/44/image_08052026_08_44_36_30415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/41/image_08052026_08_41_35_29327.jpg
/home/pi/Desktop/images/08052026/08/41/image_08052026_08_42_05_30301.jpg
/home/pi/Desktop/images/08052026/08/42/image_08052026_08_42_35_30229.jpg
/home/pi/Desktop/images/08052026/08/43/image_08052026_08_43_35_29233.jpg
/home/pi/Desktop/images/08052026/08/43/image_08052026_08_44_05_30294.jpg
/home/pi/Desktop/images/08052026/08/44/image_08052026_08_44_36_30415.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903051","1416903053","1416903047","1416903154","1416903055","1416903049"],"photo_ids_order":["1416903047","1416903049","1416903051","1416903053","1416903055","1416903154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9f51cd81b732552fa50076711f9fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody2544607794913481176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_06_05_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/664536455c35c2aaf765fd8ecfcd6e55.jpg","text":"TemporaryFile(/tmp/multipartBody7358326652809343859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_05_36_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9635db96e7bdbd94a3967c271b59bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5980140347784780049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_09_36_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf41e112e57d7afea3edec359b8a9c14.jpg","text":"TemporaryFile(/tmp/multipartBody8481484267693889516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_02_05_30190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87be1aa06d21e461b5eacb6948e1d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8497214905977947600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_05_05_30054.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/76e12b4e7d5e7aa90513ed78f6015a28.jpg","text":"TemporaryFile(/tmp/multipartBody3126832449679515389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745337,"filename":"image_08052026_11_06_35_30221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903051","file1":"1416903049","file0":"1416903047","file4":"1416903055","file5":"1416903154","file3":"1416903053"},"map_files_photo_id_array":[{"photo_id":"1416903154","filename":"file5"},{"photo_id":"1416903051","filename":"file2"},{"photo_id":"1416903055","filename":"file4"},{"photo_id":"1416903049","filename":"file1"},{"photo_id":"1416903047","filename":"file0"},{"photo_id":"1416903053","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903051":["hashtag1","hashtag2"]},{"1416903053":["hashtag1","hashtag2"]},{"1416903047":["hashtag1","hashtag2"]},{"1416903154":["hashtag1","hashtag2"]},{"1416903055":["hashtag1","hashtag2"]},{"1416903049":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903051, 1416903053, 1416903047, 1416903154, 1416903055, 1416903049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.221964836120605 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903225","1416903054","1416903048","1416903056","1416903050","1416903052"],"photo_ids_order":["1416903048","1416903050","1416903052","1416903054","1416903056","1416903225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2386b4f3f342a3459fc9e7a0f69ae8d3.jpg","text":"TemporaryFile(/tmp/multipartBody4443437729865317161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_44_36_30415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df4547582693d8239edacddf8f955f45.jpg","text":"TemporaryFile(/tmp/multipartBody5778445659509946177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_43_35_29233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1135d44b2d3f0ab6c6d50bc95cfcda3.jpg","text":"TemporaryFile(/tmp/multipartBody6244473326795991141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_41_35_29327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/964c4e3b6e01b7a26e76d042a6e2a694.jpg","text":"TemporaryFile(/tmp/multipartBody4153700397688559236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_44_05_30294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/614911791e8f1a0e9866dbe47f1e8bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5676904054255032439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_42_05_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ed15dbe9f870d1303f76bcde7746cde.jpg","text":"TemporaryFile(/tmp/multipartBody5866825083394278436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530745898,"filename":"image_08052026_08_42_35_30229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903052","file1":"1416903050","file0":"1416903048","file4":"1416903056","file5":"1416903225","file3":"1416903054"},"map_files_photo_id_array":[{"photo_id":"1416903225","filename":"file5"},{"photo_id":"1416903052","filename":"file2"},{"photo_id":"1416903056","filename":"file4"},{"photo_id":"1416903050","filename":"file1"},{"photo_id":"1416903048","filename":"file0"},{"photo_id":"1416903054","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903225":["hashtag1","hashtag2"]},{"1416903054":["hashtag1","hashtag2"]},{"1416903048":["hashtag1","hashtag2"]},{"1416903056":["hashtag1","hashtag2"]},{"1416903050":["hashtag1","hashtag2"]},{"1416903052":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903225, 1416903054, 1416903048, 1416903056, 1416903050, 1416903052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95677924156189 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:19:04.196210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/53/image_11052026_21_54_14_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/53/image_11052026_21_54_14_30312.jpg
2026-05-11 22:19:04.379881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/21/53/image_11052026_21_54_14_30312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/21/53/image_11052026_21_54_14_30312.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7965104579925537 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903803"],"photo_id":"1416903803","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/481821d771068e9a64c815ade21142b9.jpg","text":"TemporaryFile(/tmp/multipartBody7118779886321619351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530805490,"filename":"image_11052026_21_54_14_30312.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416903803"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416903803"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.92361044883728 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:20:03.561264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/18/image_11052026_22_18_44_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/18/image_11052026_22_18_44_30173.jpg
2026-05-11 22:20:03.589908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/18/image_11052026_22_18_44_30173.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/18/image_11052026_22_18_44_30173.jpg
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903853"],"photo_id":"1416903853","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b26086e3f5f3cec5334dbc6ade6cce60.jpg","text":"TemporaryFile(/tmp/multipartBody3325085240770558336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530864816,"filename":"image_11052026_22_18_44_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416903853"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416903853"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1416903852"],"photo_id":"1416903852","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8e26ca1ffcba11db7d1a1cd8dc80233.jpg","text":"TemporaryFile(/tmp/multipartBody1328992919267694802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530864608,"filename":"image_11052026_22_18_44_30173.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416903852"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416903852"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.86046028137207 secondes ---
uploaded 1 photos
time to upload: 14.975810289382935 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:21:04.228701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/46/image_08052026_08_46_35_29192.jpg', '/home/pi/Desktop/images/08052026/08/46/image_08052026_08_47_05_30337.jpg', '/home/pi/Desktop/images/08052026/08/47/image_08052026_08_47_36_30407.jpg', '/home/pi/Desktop/images/08052026/08/52/image_08052026_08_52_35_30269.jpg', '/home/pi/Desktop/images/08052026/08/53/image_08052026_08_53_35_29228.jpg', '/home/pi/Desktop/images/08052026/08/53/image_08052026_08_54_05_30307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/46/image_08052026_08_46_35_29192.jpg
/home/pi/Desktop/images/08052026/08/46/image_08052026_08_47_05_30337.jpg
/home/pi/Desktop/images/08052026/08/47/image_08052026_08_47_36_30407.jpg
/home/pi/Desktop/images/08052026/08/52/image_08052026_08_52_35_30269.jpg
/home/pi/Desktop/images/08052026/08/53/image_08052026_08_53_35_29228.jpg
/home/pi/Desktop/images/08052026/08/53/image_08052026_08_54_05_30307.jpg
2026-05-11 22:21:04.283916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/59/image_08052026_10_59_35_30251.jpg', '/home/pi/Desktop/images/08052026/10/58/image_08052026_10_59_05_29195.jpg', '/home/pi/Desktop/images/08052026/10/58/image_08052026_10_58_36_30269.jpg', '/home/pi/Desktop/images/08052026/10/57/image_08052026_10_58_06_30239.jpg', '/home/pi/Desktop/images/08052026/10/57/image_08052026_10_57_35_30262.jpg', '/home/pi/Desktop/images/08052026/10/53/image_08052026_10_53_35_30396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/59/image_08052026_10_59_35_30251.jpg
/home/pi/Desktop/images/08052026/10/58/image_08052026_10_59_05_29195.jpg
/home/pi/Desktop/images/08052026/10/58/image_08052026_10_58_36_30269.jpg
/home/pi/Desktop/images/08052026/10/57/image_08052026_10_58_06_30239.jpg
/home/pi/Desktop/images/08052026/10/57/image_08052026_10_57_35_30262.jpg
/home/pi/Desktop/images/08052026/10/53/image_08052026_10_53_35_30396.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9751014709472656 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416903854","1416903857","1416903859","1416903861","1416903855","1416903936"],"photo_ids_order":["1416903854","1416903855","1416903857","1416903859","1416903861","1416903936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b4e05de4260efa60947f8e7528961376.jpg","text":"TemporaryFile(/tmp/multipartBody793926784140245465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_46_35_29192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ea862d2cea63879c48f19c7e4e09006.jpg","text":"TemporaryFile(/tmp/multipartBody6897678240757892006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_47_36_30407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/781685606a941044a14518d7dffec4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2987889538925479302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_52_35_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5541ff9daabb3445b935297641c6a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3587816232382964336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_53_35_29228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/31dddb44a11a262f566adc277bb96c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3439807147279312012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_47_05_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab41edb98c1e98704f6545348d6260af.jpg","text":"TemporaryFile(/tmp/multipartBody2029776408853051832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530927361,"filename":"image_08052026_08_54_05_30307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416903857","file1":"1416903855","file0":"1416903854","file4":"1416903861","file5":"1416903936","file3":"1416903859"},"map_files_photo_id_array":[{"photo_id":"1416903936","filename":"file5"},{"photo_id":"1416903857","filename":"file2"},{"photo_id":"1416903861","filename":"file4"},{"photo_id":"1416903855","filename":"file1"},{"photo_id":"1416903854","filename":"file0"},{"photo_id":"1416903859","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416903854":["hashtag1","hashtag2"]},{"1416903857":["hashtag1","hashtag2"]},{"1416903859":["hashtag1","hashtag2"]},{"1416903861":["hashtag1","hashtag2"]},{"1416903855":["hashtag1","hashtag2"]},{"1416903936":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416903854, 1416903857, 1416903859, 1416903861, 1416903855, 1416903936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.405274629592896 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:22:04.136492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/59/image_08052026_10_59_35_30251.jpg', '/home/pi/Desktop/images/08052026/10/58/image_08052026_10_59_05_29195.jpg', '/home/pi/Desktop/images/08052026/10/58/image_08052026_10_58_36_30269.jpg', '/home/pi/Desktop/images/08052026/10/57/image_08052026_10_58_06_30239.jpg', '/home/pi/Desktop/images/08052026/10/57/image_08052026_10_57_35_30262.jpg', '/home/pi/Desktop/images/08052026/10/53/image_08052026_10_53_35_30396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/59/image_08052026_10_59_35_30251.jpg
/home/pi/Desktop/images/08052026/10/58/image_08052026_10_59_05_29195.jpg
/home/pi/Desktop/images/08052026/10/58/image_08052026_10_58_36_30269.jpg
/home/pi/Desktop/images/08052026/10/57/image_08052026_10_58_06_30239.jpg
/home/pi/Desktop/images/08052026/10/57/image_08052026_10_57_35_30262.jpg
/home/pi/Desktop/images/08052026/10/53/image_08052026_10_53_35_30396.jpg
2026-05-11 22:22:04.195231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/54/image_08052026_08_54_35_30295.jpg', '/home/pi/Desktop/images/08052026/08/54/image_08052026_08_55_06_30298.jpg', '/home/pi/Desktop/images/08052026/08/56/image_08052026_08_56_36_30282.jpg', '/home/pi/Desktop/images/08052026/08/57/image_08052026_08_57_35_29176.jpg', '/home/pi/Desktop/images/08052026/08/57/image_08052026_08_58_05_30356.jpg', '/home/pi/Desktop/images/08052026/08/58/image_08052026_08_58_36_30222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/54/image_08052026_08_54_35_30295.jpg
/home/pi/Desktop/images/08052026/08/54/image_08052026_08_55_06_30298.jpg
/home/pi/Desktop/images/08052026/08/56/image_08052026_08_56_36_30282.jpg
/home/pi/Desktop/images/08052026/08/57/image_08052026_08_57_35_29176.jpg
/home/pi/Desktop/images/08052026/08/57/image_08052026_08_58_05_30356.jpg
/home/pi/Desktop/images/08052026/08/58/image_08052026_08_58_36_30222.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904196","1416904190","1416904192","1416904198","1416904194","1416904188"],"photo_ids_order":["1416904188","1416904190","1416904192","1416904194","1416904196","1416904198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c3509e05aca3592674192dd117314e1.jpg","text":"TemporaryFile(/tmp/multipartBody5781475556075246414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_58_05_30356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c831cdebedddb2b2eba0a14102120984.jpg","text":"TemporaryFile(/tmp/multipartBody845482578500971973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_55_06_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df7b6e9ca52e1b3d504a6dabae22cd31.jpg","text":"TemporaryFile(/tmp/multipartBody8474968046566962591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_56_36_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/028ac87182d89955261d7c2d83ddf282.jpg","text":"TemporaryFile(/tmp/multipartBody5723127233814624830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_58_36_30222.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad423204531493db89f2fce68f893850.jpg","text":"TemporaryFile(/tmp/multipartBody2333253486574525444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_57_35_29176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14e7c6a2bbdf13bdf427476e4d285ed5.jpg","text":"TemporaryFile(/tmp/multipartBody3326003397253576169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530986842,"filename":"image_08052026_08_54_35_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904192","file1":"1416904190","file0":"1416904188","file4":"1416904196","file5":"1416904198","file3":"1416904194"},"map_files_photo_id_array":[{"photo_id":"1416904198","filename":"file5"},{"photo_id":"1416904192","filename":"file2"},{"photo_id":"1416904196","filename":"file4"},{"photo_id":"1416904190","filename":"file1"},{"photo_id":"1416904188","filename":"file0"},{"photo_id":"1416904194","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904196":["hashtag1","hashtag2"]},{"1416904190":["hashtag1","hashtag2"]},{"1416904192":["hashtag1","hashtag2"]},{"1416904198":["hashtag1","hashtag2"]},{"1416904194":["hashtag1","hashtag2"]},{"1416904188":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904196, 1416904190, 1416904192, 1416904198, 1416904194, 1416904188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18471598625183 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904199","1416904193","1416904195","1416904189","1416904197","1416904191"],"photo_ids_order":["1416904189","1416904191","1416904193","1416904195","1416904197","1416904199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97dd9f3e4a42bf3af8c37e3981893864.jpg","text":"TemporaryFile(/tmp/multipartBody5617125741564342004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_53_35_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/556093fa5882f912bc8463519c335fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8750461294531078542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_58_36_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c5224e39fe0fce0dcf5351e61d7e09c.jpg","text":"TemporaryFile(/tmp/multipartBody9074134703714386769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_58_06_30239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f9462944479ce8937a50e637beb16d3.jpg","text":"TemporaryFile(/tmp/multipartBody3979043452736712804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_59_35_30251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dfab3d3c12a03a18f7ea0805eff6a09.jpg","text":"TemporaryFile(/tmp/multipartBody348478690187880504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_57_35_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a2c39359e2e754ec903b37a578b0a49.jpg","text":"TemporaryFile(/tmp/multipartBody5399911477720805135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778530987240,"filename":"image_08052026_10_59_05_29195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904193","file1":"1416904191","file0":"1416904189","file4":"1416904197","file5":"1416904199","file3":"1416904195"},"map_files_photo_id_array":[{"photo_id":"1416904199","filename":"file5"},{"photo_id":"1416904193","filename":"file2"},{"photo_id":"1416904197","filename":"file4"},{"photo_id":"1416904191","filename":"file1"},{"photo_id":"1416904189","filename":"file0"},{"photo_id":"1416904195","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904199":["hashtag1","hashtag2"]},{"1416904193":["hashtag1","hashtag2"]},{"1416904195":["hashtag1","hashtag2"]},{"1416904189":["hashtag1","hashtag2"]},{"1416904197":["hashtag1","hashtag2"]},{"1416904191":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904199, 1416904193, 1416904195, 1416904189, 1416904197, 1416904191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26161289215088 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:23:04.195339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/18/image_11052026_22_19_14_30346.jpg', '/home/pi/Desktop/images/11052026/22/22/image_11052026_22_23_14_29320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/18/image_11052026_22_19_14_30346.jpg
/home/pi/Desktop/images/11052026/22/22/image_11052026_22_23_14_29320.jpg
2026-05-11 22:23:04.264656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/22/image_11052026_22_23_14_29320.jpg', '/home/pi/Desktop/images/11052026/22/18/image_11052026_22_19_14_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/22/image_11052026_22_23_14_29320.jpg
/home/pi/Desktop/images/11052026/22/18/image_11052026_22_19_14_30346.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1996526718139648 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904200","1416904201"],"photo_ids_order":["1416904200","1416904201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74e311c4511e7aec07edbb8001903dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2904566622260951766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531045770,"filename":"image_11052026_22_19_14_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ed34ea4a4058cab2a5a75d84200bd7ff.jpg","text":"TemporaryFile(/tmp/multipartBody1198008422138880798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531045770,"filename":"image_11052026_22_23_14_29320.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904201","file0":"1416904200"},"map_files_photo_id_array":[{"photo_id":"1416904201","filename":"file1"},{"photo_id":"1416904200","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904200":["hashtag1","hashtag2"]},{"1416904201":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904200, 1416904201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.107563257217407 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:24:03.883619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/08/58/image_08052026_08_59_05_29213.jpg', '/home/pi/Desktop/images/08052026/08/59/image_08052026_08_59_35_30309.jpg', '/home/pi/Desktop/images/08052026/09/03/image_08052026_09_04_05_30260.jpg', '/home/pi/Desktop/images/08052026/09/05/image_08052026_09_05_35_29256.jpg', '/home/pi/Desktop/images/08052026/09/05/image_08052026_09_06_05_30298.jpg', '/home/pi/Desktop/images/08052026/09/06/image_08052026_09_06_36_30347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/08/58/image_08052026_08_59_05_29213.jpg
/home/pi/Desktop/images/08052026/08/59/image_08052026_08_59_35_30309.jpg
/home/pi/Desktop/images/08052026/09/03/image_08052026_09_04_05_30260.jpg
/home/pi/Desktop/images/08052026/09/05/image_08052026_09_05_35_29256.jpg
/home/pi/Desktop/images/08052026/09/05/image_08052026_09_06_05_30298.jpg
/home/pi/Desktop/images/08052026/09/06/image_08052026_09_06_36_30347.jpg
2026-05-11 22:24:03.987096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/52/image_08052026_10_53_05_29172.jpg', '/home/pi/Desktop/images/08052026/10/52/image_08052026_10_52_36_30238.jpg', '/home/pi/Desktop/images/08052026/10/51/image_08052026_10_52_05_30226.jpg', '/home/pi/Desktop/images/08052026/10/51/image_08052026_10_51_35_29367.jpg', '/home/pi/Desktop/images/08052026/10/50/image_08052026_10_51_06_30224.jpg', '/home/pi/Desktop/images/08052026/10/49/image_08052026_10_50_05_30228.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/52/image_08052026_10_53_05_29172.jpg
/home/pi/Desktop/images/08052026/10/52/image_08052026_10_52_36_30238.jpg
/home/pi/Desktop/images/08052026/10/51/image_08052026_10_52_05_30226.jpg
/home/pi/Desktop/images/08052026/10/51/image_08052026_10_51_35_29367.jpg
/home/pi/Desktop/images/08052026/10/50/image_08052026_10_51_06_30224.jpg
/home/pi/Desktop/images/08052026/10/49/image_08052026_10_50_05_30228.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904206","1416904214","1416904208","1416904211","1416904216","1416904204"],"photo_ids_order":["1416904204","1416904206","1416904208","1416904211","1416904214","1416904216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2ef324c65b4c4e72d44094ad815a4107.jpg","text":"TemporaryFile(/tmp/multipartBody973703282387543390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_52_36_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ce995e2e1540b61e6c25565cf1861cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8134667429445256668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_51_06_30224.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3b21aefff2ca87d3c85fe00bd4e6e09.jpg","text":"TemporaryFile(/tmp/multipartBody1792279158822125912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_52_05_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/587a21c7bee2e65bbb2eb807367675b8.jpg","text":"TemporaryFile(/tmp/multipartBody2601363558550683686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_51_35_29367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3841ede6da8e8a00ddd23267ceca4995.jpg","text":"TemporaryFile(/tmp/multipartBody8504539237035784527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_50_05_30228.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e51ec119520e4bf5bd3733610c430fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1874345207030913176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531107299,"filename":"image_08052026_10_53_05_29172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904208","file1":"1416904206","file0":"1416904204","file4":"1416904214","file5":"1416904216","file3":"1416904211"},"map_files_photo_id_array":[{"photo_id":"1416904216","filename":"file5"},{"photo_id":"1416904208","filename":"file2"},{"photo_id":"1416904214","filename":"file4"},{"photo_id":"1416904206","filename":"file1"},{"photo_id":"1416904204","filename":"file0"},{"photo_id":"1416904211","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904206":["hashtag1","hashtag2"]},{"1416904214":["hashtag1","hashtag2"]},{"1416904208":["hashtag1","hashtag2"]},{"1416904211":["hashtag1","hashtag2"]},{"1416904216":["hashtag1","hashtag2"]},{"1416904204":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904206, 1416904214, 1416904208, 1416904211, 1416904216, 1416904204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43292212486267 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904212","1416904209","1416904217","1416904205","1416904215","1416904203"],"photo_ids_order":["1416904203","1416904205","1416904209","1416904212","1416904215","1416904217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a50918053cb7c1239d73bf3f35f637d3.jpg","text":"TemporaryFile(/tmp/multipartBody1271640098794297329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_09_05_35_29256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1718dbc1e755873a3d1c89121f062766.jpg","text":"TemporaryFile(/tmp/multipartBody3066483197691014313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_09_04_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/986ee455f10bb94d4b3f8d20500716af.jpg","text":"TemporaryFile(/tmp/multipartBody7902337151316171875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_09_06_36_30347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f991f48fcf7bca5b306efbdf773728c2.jpg","text":"TemporaryFile(/tmp/multipartBody1262605740351897299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_08_59_35_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b141402fb02bf4dfd2a5946a35e8e317.jpg","text":"TemporaryFile(/tmp/multipartBody3957835713109061622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_09_06_05_30298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/39e92c0bdfdc24dc6d2bb37cf114938d.jpg","text":"TemporaryFile(/tmp/multipartBody5026303989392845238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531106822,"filename":"image_08052026_08_59_05_29213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904209","file1":"1416904205","file0":"1416904203","file4":"1416904215","file5":"1416904217","file3":"1416904212"},"map_files_photo_id_array":[{"photo_id":"1416904217","filename":"file5"},{"photo_id":"1416904209","filename":"file2"},{"photo_id":"1416904215","filename":"file4"},{"photo_id":"1416904205","filename":"file1"},{"photo_id":"1416904203","filename":"file0"},{"photo_id":"1416904212","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904212":["hashtag1","hashtag2"]},{"1416904209":["hashtag1","hashtag2"]},{"1416904217":["hashtag1","hashtag2"]},{"1416904205":["hashtag1","hashtag2"]},{"1416904215":["hashtag1","hashtag2"]},{"1416904203":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904212, 1416904209, 1416904217, 1416904205, 1416904215, 1416904203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02983736991882 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:25:04.954093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/23/image_11052026_22_23_44_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/23/image_11052026_22_23_44_30305.jpg
2026-05-11 22:25:05.103487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/23/image_11052026_22_23_44_30305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/23/image_11052026_22_23_44_30305.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7956368923187256 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904221"],"photo_id":"1416904221","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/73a1c1401726d89bcb85a7c54a0c0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5677173723647321156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531166329,"filename":"image_11052026_22_23_44_30305.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904221"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904221"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.79150104522705 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:26:04.418645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/06/image_08052026_09_07_05_29227.jpg', '/home/pi/Desktop/images/08052026/09/07/image_08052026_09_07_35_30333.jpg', '/home/pi/Desktop/images/08052026/09/07/image_08052026_09_08_06_30346.jpg', '/home/pi/Desktop/images/08052026/09/08/image_08052026_09_08_35_29190.jpg', '/home/pi/Desktop/images/08052026/09/08/image_08052026_09_09_05_30322.jpg', '/home/pi/Desktop/images/08052026/09/09/image_08052026_09_09_36_30369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/06/image_08052026_09_07_05_29227.jpg
/home/pi/Desktop/images/08052026/09/07/image_08052026_09_07_35_30333.jpg
/home/pi/Desktop/images/08052026/09/07/image_08052026_09_08_06_30346.jpg
/home/pi/Desktop/images/08052026/09/08/image_08052026_09_08_35_29190.jpg
/home/pi/Desktop/images/08052026/09/08/image_08052026_09_09_05_30322.jpg
/home/pi/Desktop/images/08052026/09/09/image_08052026_09_09_36_30369.jpg
2026-05-11 22:26:04.505934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/49/image_08052026_10_49_35_30220.jpg', '/home/pi/Desktop/images/08052026/10/48/image_08052026_10_49_05_29144.jpg', '/home/pi/Desktop/images/08052026/10/48/image_08052026_10_48_36_30334.jpg', '/home/pi/Desktop/images/08052026/10/47/image_08052026_10_48_05_30247.jpg', '/home/pi/Desktop/images/08052026/10/47/image_08052026_10_47_35_30274.jpg', '/home/pi/Desktop/images/08052026/10/43/image_08052026_10_43_35_29116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/49/image_08052026_10_49_35_30220.jpg
/home/pi/Desktop/images/08052026/10/48/image_08052026_10_49_05_29144.jpg
/home/pi/Desktop/images/08052026/10/48/image_08052026_10_48_36_30334.jpg
/home/pi/Desktop/images/08052026/10/47/image_08052026_10_48_05_30247.jpg
/home/pi/Desktop/images/08052026/10/47/image_08052026_10_47_35_30274.jpg
/home/pi/Desktop/images/08052026/10/43/image_08052026_10_43_35_29116.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904227","1416904232","1416904223","1416904228","1416904230","1416904224"],"photo_ids_order":["1416904223","1416904224","1416904227","1416904228","1416904230","1416904232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a444b9d91c137c7fd1608455f5058ec2.jpg","text":"TemporaryFile(/tmp/multipartBody644636462005808400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_48_36_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67c1a3b49d2cdfbb90742cbe660c5c73.jpg","text":"TemporaryFile(/tmp/multipartBody334115547859258263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_43_35_29116.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5177d64de730c6c677c76d73c0670a94.jpg","text":"TemporaryFile(/tmp/multipartBody8169720051527022444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_49_35_30220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c095ae1bbe14852648c1f4868fc7d16a.jpg","text":"TemporaryFile(/tmp/multipartBody6575462439729459065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_48_05_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/617b2e8bddf89fb499e91a302197fb70.jpg","text":"TemporaryFile(/tmp/multipartBody6392456528638801316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_47_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e10c1e0e23f4df5b53e86df3fe062fad.jpg","text":"TemporaryFile(/tmp/multipartBody6522655979562747748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227913,"filename":"image_08052026_10_49_05_29144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904227","file1":"1416904224","file0":"1416904223","file4":"1416904230","file5":"1416904232","file3":"1416904228"},"map_files_photo_id_array":[{"photo_id":"1416904232","filename":"file5"},{"photo_id":"1416904227","filename":"file2"},{"photo_id":"1416904230","filename":"file4"},{"photo_id":"1416904224","filename":"file1"},{"photo_id":"1416904223","filename":"file0"},{"photo_id":"1416904228","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904227":["hashtag1","hashtag2"]},{"1416904232":["hashtag1","hashtag2"]},{"1416904223":["hashtag1","hashtag2"]},{"1416904228":["hashtag1","hashtag2"]},{"1416904230":["hashtag1","hashtag2"]},{"1416904224":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904227, 1416904232, 1416904223, 1416904228, 1416904230, 1416904224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.693333864212036 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904226","1416904229","1416904231","1416904225","1416904222","1416904233"],"photo_ids_order":["1416904222","1416904225","1416904226","1416904229","1416904231","1416904233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d648de02680ff432b4717720233dd58b.jpg","text":"TemporaryFile(/tmp/multipartBody4580524541938457437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_08_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c80d70120cd78fea2109b55818be68d1.jpg","text":"TemporaryFile(/tmp/multipartBody310477705833818381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_08_35_29190.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c6ac9b356894867739a555d2d2928543.jpg","text":"TemporaryFile(/tmp/multipartBody5758900449581501757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_09_05_30322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ec319c2ef80ccd4cc6c74a531ab7be3.jpg","text":"TemporaryFile(/tmp/multipartBody544432379980456217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_07_35_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cef90b8369ab8edc3066075fafa9777a.jpg","text":"TemporaryFile(/tmp/multipartBody6002194539003957705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_07_05_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7d310980fb2b0bf0e3fa19493b9e1e19.jpg","text":"TemporaryFile(/tmp/multipartBody6608805355541996801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531227841,"filename":"image_08052026_09_09_36_30369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904226","file1":"1416904225","file0":"1416904222","file4":"1416904231","file5":"1416904233","file3":"1416904229"},"map_files_photo_id_array":[{"photo_id":"1416904233","filename":"file5"},{"photo_id":"1416904226","filename":"file2"},{"photo_id":"1416904231","filename":"file4"},{"photo_id":"1416904225","filename":"file1"},{"photo_id":"1416904222","filename":"file0"},{"photo_id":"1416904229","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904226":["hashtag1","hashtag2"]},{"1416904229":["hashtag1","hashtag2"]},{"1416904231":["hashtag1","hashtag2"]},{"1416904225":["hashtag1","hashtag2"]},{"1416904222":["hashtag1","hashtag2"]},{"1416904233":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904226, 1416904229, 1416904231, 1416904225, 1416904222, 1416904233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48901915550232 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:27:04.019673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/09/image_08052026_09_10_06_30255.jpg', '/home/pi/Desktop/images/08052026/09/10/image_08052026_09_10_35_29187.jpg', '/home/pi/Desktop/images/08052026/09/11/image_08052026_09_11_35_30289.jpg', '/home/pi/Desktop/images/08052026/09/11/image_08052026_09_12_05_29294.jpg', '/home/pi/Desktop/images/08052026/09/12/image_08052026_09_12_35_30274.jpg', '/home/pi/Desktop/images/08052026/09/12/image_08052026_09_13_05_30289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/09/image_08052026_09_10_06_30255.jpg
/home/pi/Desktop/images/08052026/09/10/image_08052026_09_10_35_29187.jpg
/home/pi/Desktop/images/08052026/09/11/image_08052026_09_11_35_30289.jpg
/home/pi/Desktop/images/08052026/09/11/image_08052026_09_12_05_29294.jpg
/home/pi/Desktop/images/08052026/09/12/image_08052026_09_12_35_30274.jpg
/home/pi/Desktop/images/08052026/09/12/image_08052026_09_13_05_30289.jpg
2026-05-11 22:27:04.127162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg', '/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg', '/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg', '/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg
/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg
/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg
/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.989027261734009 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904617","1416904619","1416904465","1416904621","1416904234","1416904665"],"photo_ids_order":["1416904234","1416904465","1416904617","1416904619","1416904621","1416904665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ad2b7d9014c78151bcdd64a9ac89f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7131598631342566243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_11_35_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94bcd0e08aa59bff831518cbad739087.jpg","text":"TemporaryFile(/tmp/multipartBody4714158877272228933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_12_05_29294.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a246bfcdad04ddebc2656b169b58c04.jpg","text":"TemporaryFile(/tmp/multipartBody5123859682058630991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_10_35_29187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1ec5b15e15f7c90bb73b8b22c93ab9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8076421053037234251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_12_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/569d921b0676403ab6ee9b8c13234555.jpg","text":"TemporaryFile(/tmp/multipartBody2463080266061698662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_10_06_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ef8534eb6170a106ba0f892f2f6c830.jpg","text":"TemporaryFile(/tmp/multipartBody6685992129868920827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531286767,"filename":"image_08052026_09_13_05_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904617","file1":"1416904465","file0":"1416904234","file4":"1416904621","file5":"1416904665","file3":"1416904619"},"map_files_photo_id_array":[{"photo_id":"1416904665","filename":"file5"},{"photo_id":"1416904617","filename":"file2"},{"photo_id":"1416904621","filename":"file4"},{"photo_id":"1416904465","filename":"file1"},{"photo_id":"1416904234","filename":"file0"},{"photo_id":"1416904619","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904617":["hashtag1","hashtag2"]},{"1416904619":["hashtag1","hashtag2"]},{"1416904465":["hashtag1","hashtag2"]},{"1416904621":["hashtag1","hashtag2"]},{"1416904234":["hashtag1","hashtag2"]},{"1416904665":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904617, 1416904619, 1416904465, 1416904621, 1416904234, 1416904665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76419162750244 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:28:03.183046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/24/image_11052026_22_24_44_30326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/24/image_11052026_22_24_44_30326.jpg
2026-05-11 22:28:03.192598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/24/image_11052026_22_24_44_30326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/24/image_11052026_22_24_44_30326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904719"],"photo_id":"1416904719","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3d2df69b51585eb23d75af086942d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1866179177334906285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531344302,"filename":"image_11052026_22_24_44_30326.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904719"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.479149580001831 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904720"],"photo_id":"1416904720","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/97ec36f1fc787046c97ac939b85f7a98.jpg","text":"TemporaryFile(/tmp/multipartBody5465939882386584162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531344326,"filename":"image_11052026_22_24_44_30326.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904720"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904720"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.792841672897339 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:29:04.098469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/27/image_11052026_22_27_44_30247.jpg', '/home/pi/Desktop/images/11052026/22/27/image_11052026_22_28_13_29275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/27/image_11052026_22_27_44_30247.jpg
/home/pi/Desktop/images/11052026/22/27/image_11052026_22_28_13_29275.jpg
2026-05-11 22:29:04.339698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/28/image_11052026_22_29_14_30347.jpg', '/home/pi/Desktop/images/11052026/22/28/image_11052026_22_28_44_30201.jpg', '/home/pi/Desktop/images/11052026/22/27/image_11052026_22_28_13_29275.jpg', '/home/pi/Desktop/images/11052026/22/27/image_11052026_22_27_44_30247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/28/image_11052026_22_29_14_30347.jpg
/home/pi/Desktop/images/11052026/22/28/image_11052026_22_28_44_30201.jpg
/home/pi/Desktop/images/11052026/22/27/image_11052026_22_28_13_29275.jpg
/home/pi/Desktop/images/11052026/22/27/image_11052026_22_27_44_30247.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904721","1416904723"],"photo_ids_order":["1416904721","1416904723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b10b2fdd762b4c6e5ea02f28029e008b.jpg","text":"TemporaryFile(/tmp/multipartBody8872855520157614791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531405542,"filename":"image_11052026_22_27_44_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c8e29334e4e4d884681b18b6ed1acaf.jpg","text":"TemporaryFile(/tmp/multipartBody6443187881650803783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531405542,"filename":"image_11052026_22_28_13_29275.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904723","file0":"1416904721"},"map_files_photo_id_array":[{"photo_id":"1416904723","filename":"file1"},{"photo_id":"1416904721","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904721":["hashtag1","hashtag2"]},{"1416904723":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904721, 1416904723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.014509201049805 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904724","1416904727","1416904726","1416904722"],"photo_ids_order":["1416904722","1416904724","1416904726","1416904727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51568b3e660933d9e4f9402d9ea072ff.jpg","text":"TemporaryFile(/tmp/multipartBody3971683976235807822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531406534,"filename":"image_11052026_22_28_44_30201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b31b3ea8cf5106ddc9d48e9423a9346.jpg","text":"TemporaryFile(/tmp/multipartBody7465551650190424674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531406534,"filename":"image_11052026_22_27_44_30247.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8295a1b85da0079a7d9715345ade4aac.jpg","text":"TemporaryFile(/tmp/multipartBody8866148978003326574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531406534,"filename":"image_11052026_22_28_13_29275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f589507a8fe3538f01b57eeadc8f157f.jpg","text":"TemporaryFile(/tmp/multipartBody2188650602702697086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531406534,"filename":"image_11052026_22_29_14_30347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904726","file1":"1416904724","file0":"1416904722","file3":"1416904727"},"map_files_photo_id_array":[{"photo_id":"1416904726","filename":"file2"},{"photo_id":"1416904724","filename":"file1"},{"photo_id":"1416904722","filename":"file0"},{"photo_id":"1416904727","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904724":["hashtag1","hashtag2"]},{"1416904727":["hashtag1","hashtag2"]},{"1416904726":["hashtag1","hashtag2"]},{"1416904722":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904724, 1416904727, 1416904726, 1416904722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.51093626022339 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:30:03.305134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/13/image_08052026_09_13_36_30389.jpg', '/home/pi/Desktop/images/08052026/09/13/image_08052026_09_14_05_29259.jpg', '/home/pi/Desktop/images/08052026/09/14/image_08052026_09_14_35_30164.jpg', '/home/pi/Desktop/images/08052026/09/14/image_08052026_09_15_05_30195.jpg', '/home/pi/Desktop/images/08052026/09/15/image_08052026_09_15_36_30297.jpg', '/home/pi/Desktop/images/08052026/09/15/image_08052026_09_16_05_29269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/13/image_08052026_09_13_36_30389.jpg
/home/pi/Desktop/images/08052026/09/13/image_08052026_09_14_05_29259.jpg
/home/pi/Desktop/images/08052026/09/14/image_08052026_09_14_35_30164.jpg
/home/pi/Desktop/images/08052026/09/14/image_08052026_09_15_05_30195.jpg
/home/pi/Desktop/images/08052026/09/15/image_08052026_09_15_36_30297.jpg
/home/pi/Desktop/images/08052026/09/15/image_08052026_09_16_05_29269.jpg
2026-05-11 22:30:03.360053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg', '/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg', '/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg', '/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg
/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg
/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg
/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.568852424621582 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904733","1416904739","1416904730","1416904735","1416904737","1416904731"],"photo_ids_order":["1416904730","1416904731","1416904733","1416904735","1416904737","1416904739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/891b37997dcad77330020cfdeca061cb.jpg","text":"TemporaryFile(/tmp/multipartBody6145550591720594815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_14_35_30164.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aeea32048702381aba33859ec6eca246.jpg","text":"TemporaryFile(/tmp/multipartBody537618586726968730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_16_05_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2b96f7deaec8179db2d6a943341f68a.jpg","text":"TemporaryFile(/tmp/multipartBody3546603151450884496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_13_36_30389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f56cd27518a363a68db923cda68ab41c.jpg","text":"TemporaryFile(/tmp/multipartBody4015273404488634099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_15_05_30195.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cd4ed3e3d11e3c6e0760bb9b162e2bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1304375933274229827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_15_36_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b9c12b4c0de039785d361fdb147feb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4801556817682149748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531466304,"filename":"image_08052026_09_14_05_29259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904733","file1":"1416904731","file0":"1416904730","file4":"1416904737","file5":"1416904739","file3":"1416904735"},"map_files_photo_id_array":[{"photo_id":"1416904739","filename":"file5"},{"photo_id":"1416904733","filename":"file2"},{"photo_id":"1416904737","filename":"file4"},{"photo_id":"1416904731","filename":"file1"},{"photo_id":"1416904730","filename":"file0"},{"photo_id":"1416904735","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904733":["hashtag1","hashtag2"]},{"1416904739":["hashtag1","hashtag2"]},{"1416904730":["hashtag1","hashtag2"]},{"1416904735":["hashtag1","hashtag2"]},{"1416904737":["hashtag1","hashtag2"]},{"1416904731":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904733, 1416904739, 1416904730, 1416904735, 1416904737, 1416904731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32501816749573 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:31:04.823938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/17/image_08052026_09_17_36_30391.jpg', '/home/pi/Desktop/images/08052026/09/18/image_08052026_09_18_35_30360.jpg', '/home/pi/Desktop/images/08052026/09/20/image_08052026_09_20_35_30157.jpg', '/home/pi/Desktop/images/08052026/09/20/image_08052026_09_21_06_30330.jpg', '/home/pi/Desktop/images/08052026/09/21/image_08052026_09_21_36_30147.jpg', '/home/pi/Desktop/images/08052026/09/21/image_08052026_09_22_05_29217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/17/image_08052026_09_17_36_30391.jpg
/home/pi/Desktop/images/08052026/09/18/image_08052026_09_18_35_30360.jpg
/home/pi/Desktop/images/08052026/09/20/image_08052026_09_20_35_30157.jpg
/home/pi/Desktop/images/08052026/09/20/image_08052026_09_21_06_30330.jpg
/home/pi/Desktop/images/08052026/09/21/image_08052026_09_21_36_30147.jpg
/home/pi/Desktop/images/08052026/09/21/image_08052026_09_22_05_29217.jpg
2026-05-11 22:31:05.155472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg', '/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg', '/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg', '/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg
/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg
/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg
/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.655817747116089 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904742","1416904750","1416904744","1416904753","1416904747","1416904741"],"photo_ids_order":["1416904741","1416904742","1416904744","1416904747","1416904750","1416904753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/14ef5b9ad9bec2e0d3832f4b0525ab04.jpg","text":"TemporaryFile(/tmp/multipartBody4223673331394496057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_18_35_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9a064bb5e04c7fe529886492a7797a85.jpg","text":"TemporaryFile(/tmp/multipartBody5243138577129500721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_21_36_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06e178fa166447ae5f2c22796182e8e7.jpg","text":"TemporaryFile(/tmp/multipartBody377305029380564691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_20_35_30157.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34007c27cb66802ac317e3d50ad30115.jpg","text":"TemporaryFile(/tmp/multipartBody7919311505486381766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_22_05_29217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84af546aea866247e8677c43cf6b3545.jpg","text":"TemporaryFile(/tmp/multipartBody2810189011017081638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_21_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/845b31da685bcd3e2ecb2b49c47adcdd.jpg","text":"TemporaryFile(/tmp/multipartBody45723559079699062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531527817,"filename":"image_08052026_09_17_36_30391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904744","file1":"1416904742","file0":"1416904741","file4":"1416904750","file5":"1416904753","file3":"1416904747"},"map_files_photo_id_array":[{"photo_id":"1416904753","filename":"file5"},{"photo_id":"1416904744","filename":"file2"},{"photo_id":"1416904750","filename":"file4"},{"photo_id":"1416904742","filename":"file1"},{"photo_id":"1416904741","filename":"file0"},{"photo_id":"1416904747","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904742":["hashtag1","hashtag2"]},{"1416904750":["hashtag1","hashtag2"]},{"1416904744":["hashtag1","hashtag2"]},{"1416904753":["hashtag1","hashtag2"]},{"1416904747":["hashtag1","hashtag2"]},{"1416904741":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904742, 1416904750, 1416904744, 1416904753, 1416904747, 1416904741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01098155975342 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:32:03.788821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg', '/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg', '/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg', '/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg', '/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/41/image_08052026_10_41_35_30157.jpg
/home/pi/Desktop/images/08052026/10/40/image_08052026_10_41_05_29268.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_38_05_30334.jpg
/home/pi/Desktop/images/08052026/10/37/image_08052026_10_37_35_29262.jpg
/home/pi/Desktop/images/08052026/10/36/image_08052026_10_37_06_30350.jpg
/home/pi/Desktop/images/08052026/10/35/image_08052026_10_36_05_30363.jpg
2026-05-11 22:32:03.856458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/22/image_08052026_09_22_35_30147.jpg', '/home/pi/Desktop/images/08052026/09/22/image_08052026_09_23_05_30219.jpg', '/home/pi/Desktop/images/08052026/09/24/image_08052026_09_25_05_30246.jpg', '/home/pi/Desktop/images/08052026/09/25/image_08052026_09_25_36_30229.jpg', '/home/pi/Desktop/images/08052026/09/25/image_08052026_09_26_05_29236.jpg', '/home/pi/Desktop/images/08052026/09/26/image_08052026_09_26_35_30328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/22/image_08052026_09_22_35_30147.jpg
/home/pi/Desktop/images/08052026/09/22/image_08052026_09_23_05_30219.jpg
/home/pi/Desktop/images/08052026/09/24/image_08052026_09_25_05_30246.jpg
/home/pi/Desktop/images/08052026/09/25/image_08052026_09_25_36_30229.jpg
/home/pi/Desktop/images/08052026/09/25/image_08052026_09_26_05_29236.jpg
/home/pi/Desktop/images/08052026/09/26/image_08052026_09_26_35_30328.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904766","1416904769","1416904760","1416904762","1416904764","1416904758"],"photo_ids_order":["1416904758","1416904760","1416904762","1416904764","1416904766","1416904769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/221df8bb479ed35be1cf8e1758d44def.jpg","text":"TemporaryFile(/tmp/multipartBody2931981695595429141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_37_06_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f4b5da9220f76b6ed52743eb19a7d82.jpg","text":"TemporaryFile(/tmp/multipartBody7494756744487776927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_36_05_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7a2fa963c2fc849756eff6df794dded.jpg","text":"TemporaryFile(/tmp/multipartBody6787921594356436365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_41_05_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e4a088c95ae2e5efc47876c593ddf737.jpg","text":"TemporaryFile(/tmp/multipartBody6013367896113031528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_38_05_30334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/914f2269df8e33be6e453ea6904ff3c5.jpg","text":"TemporaryFile(/tmp/multipartBody2435554934968053519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_37_35_29262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/888bc42e924fefb4b9e79d72c1b263ba.jpg","text":"TemporaryFile(/tmp/multipartBody7547569938104456681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531586356,"filename":"image_08052026_10_41_35_30157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904762","file1":"1416904760","file0":"1416904758","file4":"1416904766","file5":"1416904769","file3":"1416904764"},"map_files_photo_id_array":[{"photo_id":"1416904769","filename":"file5"},{"photo_id":"1416904762","filename":"file2"},{"photo_id":"1416904766","filename":"file4"},{"photo_id":"1416904760","filename":"file1"},{"photo_id":"1416904758","filename":"file0"},{"photo_id":"1416904764","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904766":["hashtag1","hashtag2"]},{"1416904769":["hashtag1","hashtag2"]},{"1416904760":["hashtag1","hashtag2"]},{"1416904762":["hashtag1","hashtag2"]},{"1416904764":["hashtag1","hashtag2"]},{"1416904758":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904766, 1416904769, 1416904760, 1416904762, 1416904764, 1416904758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.603559732437134 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904763","1416904765","1416904759","1416904768","1416904767","1416904761"],"photo_ids_order":["1416904759","1416904761","1416904763","1416904765","1416904767","1416904768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0272b887de284fdce9074b60dd8c3a65.jpg","text":"TemporaryFile(/tmp/multipartBody1851069461490459515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_25_05_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c251c6d7b14482e0bced3271829b2db.jpg","text":"TemporaryFile(/tmp/multipartBody2522470382613440005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_25_36_30229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55a500aea9888cb8ac4b0514be59d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8268315499966753576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_22_35_30147.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e88f36757b689cf51a2709de9aab97af.jpg","text":"TemporaryFile(/tmp/multipartBody3731975857099271907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_26_35_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5cf68fcdf48ecb82cf2e5d7d052c554.jpg","text":"TemporaryFile(/tmp/multipartBody5350426251415117195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_26_05_29236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9f3a3678c9c250aeacebbfc77d12d78f.jpg","text":"TemporaryFile(/tmp/multipartBody1891473765577913917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531587290,"filename":"image_08052026_09_23_05_30219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904763","file1":"1416904761","file0":"1416904759","file4":"1416904767","file5":"1416904768","file3":"1416904765"},"map_files_photo_id_array":[{"photo_id":"1416904768","filename":"file5"},{"photo_id":"1416904763","filename":"file2"},{"photo_id":"1416904767","filename":"file4"},{"photo_id":"1416904761","filename":"file1"},{"photo_id":"1416904759","filename":"file0"},{"photo_id":"1416904765","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904763":["hashtag1","hashtag2"]},{"1416904765":["hashtag1","hashtag2"]},{"1416904759":["hashtag1","hashtag2"]},{"1416904768":["hashtag1","hashtag2"]},{"1416904767":["hashtag1","hashtag2"]},{"1416904761":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904763, 1416904765, 1416904759, 1416904768, 1416904767, 1416904761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84197402000427 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:33:04.263329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/26/image_08052026_09_27_05_30314.jpg', '/home/pi/Desktop/images/08052026/09/27/image_08052026_09_27_36_30380.jpg', '/home/pi/Desktop/images/08052026/09/27/image_08052026_09_28_05_29223.jpg', '/home/pi/Desktop/images/08052026/09/28/image_08052026_09_28_35_30256.jpg', '/home/pi/Desktop/images/08052026/09/28/image_08052026_09_29_06_30312.jpg', '/home/pi/Desktop/images/08052026/09/30/image_08052026_09_30_35_30349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/26/image_08052026_09_27_05_30314.jpg
/home/pi/Desktop/images/08052026/09/27/image_08052026_09_27_36_30380.jpg
/home/pi/Desktop/images/08052026/09/27/image_08052026_09_28_05_29223.jpg
/home/pi/Desktop/images/08052026/09/28/image_08052026_09_28_35_30256.jpg
/home/pi/Desktop/images/08052026/09/28/image_08052026_09_29_06_30312.jpg
/home/pi/Desktop/images/08052026/09/30/image_08052026_09_30_35_30349.jpg
2026-05-11 22:33:04.497278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/35/image_08052026_10_35_35_29176.jpg', '/home/pi/Desktop/images/08052026/10/34/image_08052026_10_34_35_30314.jpg', '/home/pi/Desktop/images/08052026/10/32/image_08052026_10_33_05_30216.jpg', '/home/pi/Desktop/images/08052026/10/32/image_08052026_10_32_35_30225.jpg', '/home/pi/Desktop/images/08052026/10/31/image_08052026_10_32_05_29231.jpg', '/home/pi/Desktop/images/08052026/10/31/image_08052026_10_31_36_30375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/35/image_08052026_10_35_35_29176.jpg
/home/pi/Desktop/images/08052026/10/34/image_08052026_10_34_35_30314.jpg
/home/pi/Desktop/images/08052026/10/32/image_08052026_10_33_05_30216.jpg
/home/pi/Desktop/images/08052026/10/32/image_08052026_10_32_35_30225.jpg
/home/pi/Desktop/images/08052026/10/31/image_08052026_10_32_05_29231.jpg
/home/pi/Desktop/images/08052026/10/31/image_08052026_10_31_36_30375.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6147239208221436 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904775","1416904777","1416904771","1416904773","1416904779","1416904770"],"photo_ids_order":["1416904770","1416904771","1416904773","1416904775","1416904777","1416904779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/60fbb643939a3e236e522bfb5ec9acf6.jpg","text":"TemporaryFile(/tmp/multipartBody1083710438941066716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_32_35_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f343a69a93ce27c19f32fbb90b44e478.jpg","text":"TemporaryFile(/tmp/multipartBody6789632463411789927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_32_05_29231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/369b9102f0f520d99425d2f79b3c83d3.jpg","text":"TemporaryFile(/tmp/multipartBody8512758289881992970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_34_35_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfd7bfd44932bed399b33daf00b95c10.jpg","text":"TemporaryFile(/tmp/multipartBody7734096719262550046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_33_05_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a680a4eda288501717ec0e66c21cee0.jpg","text":"TemporaryFile(/tmp/multipartBody2262432941912045714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_31_36_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6776de73f66539d3d83c28466b75f898.jpg","text":"TemporaryFile(/tmp/multipartBody5290449332080932792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531647826,"filename":"image_08052026_10_35_35_29176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904773","file1":"1416904771","file0":"1416904770","file4":"1416904777","file5":"1416904779","file3":"1416904775"},"map_files_photo_id_array":[{"photo_id":"1416904779","filename":"file5"},{"photo_id":"1416904773","filename":"file2"},{"photo_id":"1416904777","filename":"file4"},{"photo_id":"1416904771","filename":"file1"},{"photo_id":"1416904770","filename":"file0"},{"photo_id":"1416904775","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904775":["hashtag1","hashtag2"]},{"1416904777":["hashtag1","hashtag2"]},{"1416904771":["hashtag1","hashtag2"]},{"1416904773":["hashtag1","hashtag2"]},{"1416904779":["hashtag1","hashtag2"]},{"1416904770":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904775, 1416904777, 1416904771, 1416904773, 1416904779, 1416904770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27996802330017 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:34:03.938889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/29/image_11052026_22_29_44_30297.jpg', '/home/pi/Desktop/images/11052026/22/32/image_11052026_22_33_14_30235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/29/image_11052026_22_29_44_30297.jpg
/home/pi/Desktop/images/11052026/22/32/image_11052026_22_33_14_30235.jpg
2026-05-11 22:34:03.994634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/32/image_11052026_22_33_14_30235.jpg', '/home/pi/Desktop/images/11052026/22/29/image_11052026_22_29_44_30297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/32/image_11052026_22_33_14_30235.jpg
/home/pi/Desktop/images/11052026/22/29/image_11052026_22_29_44_30297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904781","1416904783"],"photo_ids_order":["1416904781","1416904783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dae2b6d947ede8eab36468e7ec2ef407.jpg","text":"TemporaryFile(/tmp/multipartBody2458618858742602579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531705194,"filename":"image_11052026_22_29_44_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a436b7208924d0d316ec9a67a016c167.jpg","text":"TemporaryFile(/tmp/multipartBody4994101796123354347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531705194,"filename":"image_11052026_22_33_14_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904783","file0":"1416904781"},"map_files_photo_id_array":[{"photo_id":"1416904783","filename":"file1"},{"photo_id":"1416904781","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904781":["hashtag1","hashtag2"]},{"1416904783":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904781, 1416904783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.640161275863647 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904784","1416904782"],"photo_ids_order":["1416904782","1416904784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cde605ece657dd8243ffaba30649aac3.jpg","text":"TemporaryFile(/tmp/multipartBody3620714326710521758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531705510,"filename":"image_11052026_22_29_44_30297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4449badcbf8f447a7ced07c242a0298.jpg","text":"TemporaryFile(/tmp/multipartBody4287467467226486086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531705510,"filename":"image_11052026_22_33_14_30235.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904784","file0":"1416904782"},"map_files_photo_id_array":[{"photo_id":"1416904784","filename":"file1"},{"photo_id":"1416904782","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904784":["hashtag1","hashtag2"]},{"1416904782":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904784, 1416904782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.780176401138306 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:35:03.719339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/33/image_11052026_22_33_44_30350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/33/image_11052026_22_33_44_30350.jpg
2026-05-11 22:35:03.888202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/33/image_11052026_22_33_44_30350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/33/image_11052026_22_33_44_30350.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9376227855682373 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904785"],"photo_id":"1416904785","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf518b34cc05b6ecff8c712aa15a822b.jpg","text":"TemporaryFile(/tmp/multipartBody4554946457756529997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531765092,"filename":"image_11052026_22_33_44_30350.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904785"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904785"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.87095022201538 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:36:03.289535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/33/image_11052026_22_34_14_29195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/33/image_11052026_22_34_14_29195.jpg
2026-05-11 22:36:03.455474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/35/image_11052026_22_35_43_29348.jpg', '/home/pi/Desktop/images/11052026/22/33/image_11052026_22_34_14_29195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/35/image_11052026_22_35_43_29348.jpg
/home/pi/Desktop/images/11052026/22/33/image_11052026_22_34_14_29195.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904786"],"photo_id":"1416904786","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d216f0e84d7979222bd0365d4fe3c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3251627190554522906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531824421,"filename":"image_11052026_22_34_14_29195.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904786"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904786"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.85701870918274 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904787","1416904788"],"photo_ids_order":["1416904787","1416904788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7db5bbc726642e4277009dda33c77451.jpg","text":"TemporaryFile(/tmp/multipartBody3602470791415944752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531824838,"filename":"image_11052026_22_35_43_29348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2fd87deb5727498baafbb311c668c5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7858514649884842195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531824838,"filename":"image_11052026_22_34_14_29195.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904788","file0":"1416904787"},"map_files_photo_id_array":[{"photo_id":"1416904788","filename":"file1"},{"photo_id":"1416904787","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904787":["hashtag1","hashtag2"]},{"1416904788":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904787, 1416904788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.849141836166382 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:37:04.130555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/36/image_11052026_22_37_14_29350.jpg', '/home/pi/Desktop/images/11052026/22/35/image_11052026_22_36_14_30371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/36/image_11052026_22_37_14_29350.jpg
/home/pi/Desktop/images/11052026/22/35/image_11052026_22_36_14_30371.jpg
2026-05-11 22:37:04.139008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/35/image_11052026_22_36_14_30371.jpg', '/home/pi/Desktop/images/11052026/22/36/image_11052026_22_37_14_29350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/35/image_11052026_22_36_14_30371.jpg
/home/pi/Desktop/images/11052026/22/36/image_11052026_22_37_14_29350.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9262974262237549 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904790","1416904789"],"photo_ids_order":["1416904789","1416904790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ab5fe609bc3bff709ed44dbbf34c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody5453258948775385649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531885877,"filename":"image_11052026_22_36_14_30371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7a7c4117bc1bec03afa62d26698bb535.jpg","text":"TemporaryFile(/tmp/multipartBody343288792864391481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531885877,"filename":"image_11052026_22_37_14_29350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904790","file0":"1416904789"},"map_files_photo_id_array":[{"photo_id":"1416904790","filename":"file1"},{"photo_id":"1416904789","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904790":["hashtag1","hashtag2"]},{"1416904789":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904790, 1416904789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.129544973373413 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:38:03.437983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/26/image_08052026_09_27_05_30314.jpg', '/home/pi/Desktop/images/08052026/09/27/image_08052026_09_27_36_30380.jpg', '/home/pi/Desktop/images/08052026/09/27/image_08052026_09_28_05_29223.jpg', '/home/pi/Desktop/images/08052026/09/28/image_08052026_09_28_35_30256.jpg', '/home/pi/Desktop/images/08052026/09/28/image_08052026_09_29_06_30312.jpg', '/home/pi/Desktop/images/08052026/09/30/image_08052026_09_30_35_30349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/26/image_08052026_09_27_05_30314.jpg
/home/pi/Desktop/images/08052026/09/27/image_08052026_09_27_36_30380.jpg
/home/pi/Desktop/images/08052026/09/27/image_08052026_09_28_05_29223.jpg
/home/pi/Desktop/images/08052026/09/28/image_08052026_09_28_35_30256.jpg
/home/pi/Desktop/images/08052026/09/28/image_08052026_09_29_06_30312.jpg
/home/pi/Desktop/images/08052026/09/30/image_08052026_09_30_35_30349.jpg
2026-05-11 22:38:03.568172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/30/image_08052026_10_31_05_30209.jpg', '/home/pi/Desktop/images/08052026/10/29/image_08052026_10_30_05_29194.jpg', '/home/pi/Desktop/images/08052026/10/29/image_08052026_10_29_36_30421.jpg', '/home/pi/Desktop/images/08052026/10/28/image_08052026_10_29_05_30266.jpg', '/home/pi/Desktop/images/08052026/10/28/image_08052026_10_28_35_29382.jpg', '/home/pi/Desktop/images/08052026/10/27/image_08052026_10_28_06_30262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/30/image_08052026_10_31_05_30209.jpg
/home/pi/Desktop/images/08052026/10/29/image_08052026_10_30_05_29194.jpg
/home/pi/Desktop/images/08052026/10/29/image_08052026_10_29_36_30421.jpg
/home/pi/Desktop/images/08052026/10/28/image_08052026_10_29_05_30266.jpg
/home/pi/Desktop/images/08052026/10/28/image_08052026_10_28_35_29382.jpg
/home/pi/Desktop/images/08052026/10/27/image_08052026_10_28_06_30262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904799","1416904792","1416904801","1416904804","1416904794","1416904796"],"photo_ids_order":["1416904792","1416904794","1416904796","1416904799","1416904801","1416904804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c61ed28d0fa2defec1187d623775891.jpg","text":"TemporaryFile(/tmp/multipartBody8321198661841880812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_28_35_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/17b2c8d3bcc5a8d1cd23ff2cb2186c64.jpg","text":"TemporaryFile(/tmp/multipartBody9206423643515304745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_27_05_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1ca5f398768889b52a8f9fabf1be42b7.jpg","text":"TemporaryFile(/tmp/multipartBody8840656032074648669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_29_06_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46dfa8e2de0961808942e0e61eb03924.jpg","text":"TemporaryFile(/tmp/multipartBody9070075925237251060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_30_35_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/463642c5e4f860caa53b1b44ddd732f0.jpg","text":"TemporaryFile(/tmp/multipartBody1981875896040680243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_27_36_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6cab9e2551028828bc15136c06fe2935.jpg","text":"TemporaryFile(/tmp/multipartBody2573379799389134116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531945600,"filename":"image_08052026_09_28_05_29223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904796","file1":"1416904794","file0":"1416904792","file4":"1416904801","file5":"1416904804","file3":"1416904799"},"map_files_photo_id_array":[{"photo_id":"1416904804","filename":"file5"},{"photo_id":"1416904796","filename":"file2"},{"photo_id":"1416904801","filename":"file4"},{"photo_id":"1416904794","filename":"file1"},{"photo_id":"1416904792","filename":"file0"},{"photo_id":"1416904799","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904799":["hashtag1","hashtag2"]},{"1416904792":["hashtag1","hashtag2"]},{"1416904801":["hashtag1","hashtag2"]},{"1416904804":["hashtag1","hashtag2"]},{"1416904794":["hashtag1","hashtag2"]},{"1416904796":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904799, 1416904792, 1416904801, 1416904804, 1416904794, 1416904796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6865611076355 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904800","1416904793","1416904805","1416904795","1416904797","1416904803"],"photo_ids_order":["1416904793","1416904795","1416904797","1416904800","1416904803","1416904805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9cf38bd30f494e9791f746b82ffabdc3.jpg","text":"TemporaryFile(/tmp/multipartBody1602395594465693950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_29_05_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/133cadd68966504deb13da97907609b1.jpg","text":"TemporaryFile(/tmp/multipartBody6497950327970166229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_31_05_30209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8c11d184f73d0c7624fd0e1f2e3c3f67.jpg","text":"TemporaryFile(/tmp/multipartBody5826103606775502498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_28_06_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2705c4993b4c7975e0e54a750eade136.jpg","text":"TemporaryFile(/tmp/multipartBody5428268546047294966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_30_05_29194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aeae721a5b0cee46cf5ebbaba6527c69.jpg","text":"TemporaryFile(/tmp/multipartBody1626181680831041180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_29_36_30421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8fc77549ee2d082522d45c53559e97bc.jpg","text":"TemporaryFile(/tmp/multipartBody6376387462765575889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778531946574,"filename":"image_08052026_10_28_35_29382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416904797","file1":"1416904795","file0":"1416904793","file4":"1416904803","file5":"1416904805","file3":"1416904800"},"map_files_photo_id_array":[{"photo_id":"1416904805","filename":"file5"},{"photo_id":"1416904797","filename":"file2"},{"photo_id":"1416904803","filename":"file4"},{"photo_id":"1416904795","filename":"file1"},{"photo_id":"1416904793","filename":"file0"},{"photo_id":"1416904800","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904800":["hashtag1","hashtag2"]},{"1416904793":["hashtag1","hashtag2"]},{"1416904805":["hashtag1","hashtag2"]},{"1416904795":["hashtag1","hashtag2"]},{"1416904797":["hashtag1","hashtag2"]},{"1416904803":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904800, 1416904793, 1416904805, 1416904795, 1416904797, 1416904803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14425301551819 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:39:04.324781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/37/image_11052026_22_38_14_30308.jpg', '/home/pi/Desktop/images/11052026/22/37/image_11052026_22_37_44_30365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/37/image_11052026_22_38_14_30308.jpg
/home/pi/Desktop/images/11052026/22/37/image_11052026_22_37_44_30365.jpg
2026-05-11 22:39:04.496679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/37/image_11052026_22_37_44_30365.jpg', '/home/pi/Desktop/images/11052026/22/37/image_11052026_22_38_14_30308.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/37/image_11052026_22_37_44_30365.jpg
/home/pi/Desktop/images/11052026/22/37/image_11052026_22_38_14_30308.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3454480171203613 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904811","1416904810"],"photo_ids_order":["1416904810","1416904811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7f00431892f4d27d4dfb7ac89d002ac.jpg","text":"TemporaryFile(/tmp/multipartBody5580804314836965092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532005990,"filename":"image_11052026_22_37_44_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e562d4c896ac1628e6147e57f28a2128.jpg","text":"TemporaryFile(/tmp/multipartBody5501440953422394956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532005990,"filename":"image_11052026_22_38_14_30308.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416904811","file0":"1416904810"},"map_files_photo_id_array":[{"photo_id":"1416904811","filename":"file1"},{"photo_id":"1416904810","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416904811":["hashtag1","hashtag2"]},{"1416904810":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416904811, 1416904810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.547025203704834 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:40:03.470582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/38/image_11052026_22_38_44_29250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/38/image_11052026_22_38_44_29250.jpg
2026-05-11 22:40:03.519713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/38/image_11052026_22_38_44_29250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/38/image_11052026_22_38_44_29250.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904814"],"photo_id":"1416904814","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/816ea6a69221e0e38ba356c0aa7af3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7918802122665329812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532064768,"filename":"image_11052026_22_38_44_29250.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904814"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904814"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904813"],"photo_id":"1416904813","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e93ccb3408e9ba95f32db380a329b89f.jpg","text":"TemporaryFile(/tmp/multipartBody8694681074141961579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532064618,"filename":"image_11052026_22_38_44_29250.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416904813"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416904813"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.371812582015991 secondes ---
uploaded 1 photos
time to upload: 15.458756923675537 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:41:04.482154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/26/image_08052026_10_27_05_29284.jpg', '/home/pi/Desktop/images/08052026/10/20/image_08052026_10_20_36_30373.jpg', '/home/pi/Desktop/images/08052026/10/19/image_08052026_10_20_05_30150.jpg', '/home/pi/Desktop/images/08052026/10/18/image_08052026_10_19_05_29223.jpg', '/home/pi/Desktop/images/08052026/10/18/image_08052026_10_18_36_30318.jpg', '/home/pi/Desktop/images/08052026/10/17/image_08052026_10_18_05_30202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/26/image_08052026_10_27_05_29284.jpg
/home/pi/Desktop/images/08052026/10/20/image_08052026_10_20_36_30373.jpg
/home/pi/Desktop/images/08052026/10/19/image_08052026_10_20_05_30150.jpg
/home/pi/Desktop/images/08052026/10/18/image_08052026_10_19_05_29223.jpg
/home/pi/Desktop/images/08052026/10/18/image_08052026_10_18_36_30318.jpg
/home/pi/Desktop/images/08052026/10/17/image_08052026_10_18_05_30202.jpg
2026-05-11 22:41:04.603224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/30/image_08052026_09_31_06_30329.jpg', '/home/pi/Desktop/images/08052026/09/31/image_08052026_09_31_35_29236.jpg', '/home/pi/Desktop/images/08052026/09/33/image_08052026_09_33_35_30280.jpg', '/home/pi/Desktop/images/08052026/09/33/image_08052026_09_34_05_30198.jpg', '/home/pi/Desktop/images/08052026/09/34/image_08052026_09_34_36_30393.jpg', '/home/pi/Desktop/images/08052026/09/34/image_08052026_09_35_05_29253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/30/image_08052026_09_31_06_30329.jpg
/home/pi/Desktop/images/08052026/09/31/image_08052026_09_31_35_29236.jpg
/home/pi/Desktop/images/08052026/09/33/image_08052026_09_33_35_30280.jpg
/home/pi/Desktop/images/08052026/09/33/image_08052026_09_34_05_30198.jpg
/home/pi/Desktop/images/08052026/09/34/image_08052026_09_34_36_30393.jpg
/home/pi/Desktop/images/08052026/09/34/image_08052026_09_35_05_29253.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.3245065212249756 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416904997","1416905000","1416905003","1416905006","1416904998","1416905004"],"photo_ids_order":["1416904997","1416904998","1416905000","1416905003","1416905004","1416905006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c56b81edddafc8fa97884c4a81039e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1253539588664069575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_27_05_29284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e1c363f1a761415aa82294283dffc00.jpg","text":"TemporaryFile(/tmp/multipartBody8188040525018792421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_20_05_30150.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea8aeee8a610ac0b2d09b225d91f19aa.jpg","text":"TemporaryFile(/tmp/multipartBody759237113692972432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_19_05_29223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b68b2361ba4580fb2a7775c47afa528.jpg","text":"TemporaryFile(/tmp/multipartBody7934644110212750884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_18_05_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3b1b500b8c85a3836c1fc919c42a4675.jpg","text":"TemporaryFile(/tmp/multipartBody3140046519629451306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_20_36_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/504c1cfc543e1a72d79af6d2112153e9.jpg","text":"TemporaryFile(/tmp/multipartBody6411644975059689991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532127995,"filename":"image_08052026_10_18_36_30318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905000","file1":"1416904998","file0":"1416904997","file4":"1416905004","file5":"1416905006","file3":"1416905003"},"map_files_photo_id_array":[{"photo_id":"1416905006","filename":"file5"},{"photo_id":"1416905000","filename":"file2"},{"photo_id":"1416905004","filename":"file4"},{"photo_id":"1416904998","filename":"file1"},{"photo_id":"1416904997","filename":"file0"},{"photo_id":"1416905003","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416904997":["hashtag1","hashtag2"]},{"1416905000":["hashtag1","hashtag2"]},{"1416905003":["hashtag1","hashtag2"]},{"1416905006":["hashtag1","hashtag2"]},{"1416904998":["hashtag1","hashtag2"]},{"1416905004":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416904997, 1416905000, 1416905003, 1416905006, 1416904998, 1416905004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.77919960021973 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:42:03.301273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/30/image_08052026_09_31_06_30329.jpg', '/home/pi/Desktop/images/08052026/09/31/image_08052026_09_31_35_29236.jpg', '/home/pi/Desktop/images/08052026/09/33/image_08052026_09_33_35_30280.jpg', '/home/pi/Desktop/images/08052026/09/33/image_08052026_09_34_05_30198.jpg', '/home/pi/Desktop/images/08052026/09/34/image_08052026_09_34_36_30393.jpg', '/home/pi/Desktop/images/08052026/09/34/image_08052026_09_35_05_29253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/30/image_08052026_09_31_06_30329.jpg
/home/pi/Desktop/images/08052026/09/31/image_08052026_09_31_35_29236.jpg
/home/pi/Desktop/images/08052026/09/33/image_08052026_09_33_35_30280.jpg
/home/pi/Desktop/images/08052026/09/33/image_08052026_09_34_05_30198.jpg
/home/pi/Desktop/images/08052026/09/34/image_08052026_09_34_36_30393.jpg
/home/pi/Desktop/images/08052026/09/34/image_08052026_09_35_05_29253.jpg
2026-05-11 22:42:03.513819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/13/image_08052026_10_14_05_30182.jpg', '/home/pi/Desktop/images/08052026/10/12/image_08052026_10_12_36_30335.jpg', '/home/pi/Desktop/images/08052026/10/11/image_08052026_10_12_05_30256.jpg', '/home/pi/Desktop/images/08052026/10/11/image_08052026_10_11_35_30259.jpg', '/home/pi/Desktop/images/08052026/10/10/image_08052026_10_11_05_29297.jpg', '/home/pi/Desktop/images/08052026/10/10/image_08052026_10_10_36_30352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/13/image_08052026_10_14_05_30182.jpg
/home/pi/Desktop/images/08052026/10/12/image_08052026_10_12_36_30335.jpg
/home/pi/Desktop/images/08052026/10/11/image_08052026_10_12_05_30256.jpg
/home/pi/Desktop/images/08052026/10/11/image_08052026_10_11_35_30259.jpg
/home/pi/Desktop/images/08052026/10/10/image_08052026_10_11_05_29297.jpg
/home/pi/Desktop/images/08052026/10/10/image_08052026_10_10_36_30352.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905036","1416905024","1416905020","1416905008","1416905028","1416905022"],"photo_ids_order":["1416905008","1416905020","1416905022","1416905024","1416905028","1416905036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3676ab3c17f26f7524c9671f9e4d760.jpg","text":"TemporaryFile(/tmp/multipartBody7367211003184289352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_35_05_29253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5547fdb4cc6a3af151f8be3a6e9ef9e.jpg","text":"TemporaryFile(/tmp/multipartBody4785842424263059833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_34_05_30198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bbf0a900fb77f079d3fe75085776da3.jpg","text":"TemporaryFile(/tmp/multipartBody2499646129282964836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_31_35_29236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3c68b606af344c9ebd924d86d2e8ebec.jpg","text":"TemporaryFile(/tmp/multipartBody1028354276874284898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_31_06_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d20f65ed6f92cd0d3f437b8b4e4572f5.jpg","text":"TemporaryFile(/tmp/multipartBody6277984701994230078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_34_36_30393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b54cbd653a6014d4cfcd7f51eae350b9.jpg","text":"TemporaryFile(/tmp/multipartBody6236627211912412315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186381,"filename":"image_08052026_09_33_35_30280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905022","file1":"1416905020","file0":"1416905008","file4":"1416905028","file5":"1416905036","file3":"1416905024"},"map_files_photo_id_array":[{"photo_id":"1416905036","filename":"file5"},{"photo_id":"1416905022","filename":"file2"},{"photo_id":"1416905028","filename":"file4"},{"photo_id":"1416905020","filename":"file1"},{"photo_id":"1416905008","filename":"file0"},{"photo_id":"1416905024","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905036":["hashtag1","hashtag2"]},{"1416905024":["hashtag1","hashtag2"]},{"1416905020":["hashtag1","hashtag2"]},{"1416905008":["hashtag1","hashtag2"]},{"1416905028":["hashtag1","hashtag2"]},{"1416905022":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905036, 1416905024, 1416905020, 1416905008, 1416905028, 1416905022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03133416175842 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905027","1416905021","1416905009","1416905035","1416905023","1416905029"],"photo_ids_order":["1416905009","1416905021","1416905023","1416905027","1416905029","1416905035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7573fd8ba1c216559b49bc42abc232ba.jpg","text":"TemporaryFile(/tmp/multipartBody4037234991585785129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_11_35_30259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0a0e4fad34ce950e704d1c28950c550.jpg","text":"TemporaryFile(/tmp/multipartBody6098241206895930293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_12_36_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b34f0689eba3eea96f9ca1d3853d86b.jpg","text":"TemporaryFile(/tmp/multipartBody3537658573895748944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_14_05_30182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5f0c466305ca3d0a0aa97ba9408cdc04.jpg","text":"TemporaryFile(/tmp/multipartBody5553067014524286191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_10_36_30352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a490bcdaf519d6da0bf9405e5a770199.jpg","text":"TemporaryFile(/tmp/multipartBody7852984290458340159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_12_05_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3d197bc8ee956ef410916779369a9bd8.jpg","text":"TemporaryFile(/tmp/multipartBody2864613263551424360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532186774,"filename":"image_08052026_10_11_05_29297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905023","file1":"1416905021","file0":"1416905009","file4":"1416905029","file5":"1416905035","file3":"1416905027"},"map_files_photo_id_array":[{"photo_id":"1416905035","filename":"file5"},{"photo_id":"1416905023","filename":"file2"},{"photo_id":"1416905029","filename":"file4"},{"photo_id":"1416905021","filename":"file1"},{"photo_id":"1416905009","filename":"file0"},{"photo_id":"1416905027","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905027":["hashtag1","hashtag2"]},{"1416905021":["hashtag1","hashtag2"]},{"1416905009":["hashtag1","hashtag2"]},{"1416905035":["hashtag1","hashtag2"]},{"1416905023":["hashtag1","hashtag2"]},{"1416905029":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905027, 1416905021, 1416905009, 1416905035, 1416905023, 1416905029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.54883074760437 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:43:04.395225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/42/image_11052026_22_43_13_29361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/42/image_11052026_22_43_13_29361.jpg
2026-05-11 22:43:04.793075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/42/image_11052026_22_43_13_29361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/42/image_11052026_22_43_13_29361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905062"],"photo_id":"1416905062","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0cdead04e21e8a38c545c6e788422fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5558470826604178178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532245559,"filename":"image_11052026_22_43_13_29361.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416905062"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416905062"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.12877368927002 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905063"],"photo_id":"1416905063","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e9f18c9bf012667e9b3d2999f8deedfa.jpg","text":"TemporaryFile(/tmp/multipartBody5619446904893954339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532246912,"filename":"image_11052026_22_43_13_29361.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416905063"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416905063"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.984108209609985 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:44:03.277257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/10/09/image_08052026_10_10_05_30269.jpg', '/home/pi/Desktop/images/08052026/10/06/image_08052026_10_07_05_30145.jpg', '/home/pi/Desktop/images/08052026/10/06/image_08052026_10_06_35_30285.jpg', '/home/pi/Desktop/images/08052026/10/05/image_08052026_10_05_36_30367.jpg', '/home/pi/Desktop/images/08052026/10/02/image_08052026_10_03_05_30238.jpg', '/home/pi/Desktop/images/08052026/09/55/image_08052026_09_55_35_30179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/10/09/image_08052026_10_10_05_30269.jpg
/home/pi/Desktop/images/08052026/10/06/image_08052026_10_07_05_30145.jpg
/home/pi/Desktop/images/08052026/10/06/image_08052026_10_06_35_30285.jpg
/home/pi/Desktop/images/08052026/10/05/image_08052026_10_05_36_30367.jpg
/home/pi/Desktop/images/08052026/10/02/image_08052026_10_03_05_30238.jpg
/home/pi/Desktop/images/08052026/09/55/image_08052026_09_55_35_30179.jpg
2026-05-11 22:44:03.455554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/35/image_08052026_09_36_06_30235.jpg', '/home/pi/Desktop/images/08052026/09/37/image_08052026_09_37_36_30373.jpg', '/home/pi/Desktop/images/08052026/09/38/image_08052026_09_38_35_30402.jpg', '/home/pi/Desktop/images/08052026/09/38/image_08052026_09_39_06_30236.jpg', '/home/pi/Desktop/images/08052026/09/39/image_08052026_09_39_35_29331.jpg', '/home/pi/Desktop/images/08052026/09/39/image_08052026_09_40_05_30396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/35/image_08052026_09_36_06_30235.jpg
/home/pi/Desktop/images/08052026/09/37/image_08052026_09_37_36_30373.jpg
/home/pi/Desktop/images/08052026/09/38/image_08052026_09_38_35_30402.jpg
/home/pi/Desktop/images/08052026/09/38/image_08052026_09_39_06_30236.jpg
/home/pi/Desktop/images/08052026/09/39/image_08052026_09_39_35_29331.jpg
/home/pi/Desktop/images/08052026/09/39/image_08052026_09_40_05_30396.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.078598976135254 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905071","1416905068","1416905077","1416905073","1416905067","1416905075"],"photo_ids_order":["1416905067","1416905068","1416905071","1416905073","1416905075","1416905077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ce6bbc62620f8c09f373d3f92d0705e.jpg","text":"TemporaryFile(/tmp/multipartBody5139949699752472562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_10_06_35_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8d5d776c5c051793899960cbb3f6c7df.jpg","text":"TemporaryFile(/tmp/multipartBody3990415028992654970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_10_07_05_30145.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e5ee91df419a19610315782c8db520e.jpg","text":"TemporaryFile(/tmp/multipartBody713149120212399654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_09_55_35_30179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d3e227966c0ffd0f91a07d6582b9ef11.jpg","text":"TemporaryFile(/tmp/multipartBody8423284801574327286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_10_05_36_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e82ac5406c2842e6b68683686599c890.jpg","text":"TemporaryFile(/tmp/multipartBody2804397236075191544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_10_10_05_30269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81d7093175327d29feb55007fee6d6ae.jpg","text":"TemporaryFile(/tmp/multipartBody4161464611700322498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532306231,"filename":"image_08052026_10_03_05_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905071","file1":"1416905068","file0":"1416905067","file4":"1416905075","file5":"1416905077","file3":"1416905073"},"map_files_photo_id_array":[{"photo_id":"1416905077","filename":"file5"},{"photo_id":"1416905071","filename":"file2"},{"photo_id":"1416905075","filename":"file4"},{"photo_id":"1416905068","filename":"file1"},{"photo_id":"1416905067","filename":"file0"},{"photo_id":"1416905073","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905071":["hashtag1","hashtag2"]},{"1416905068":["hashtag1","hashtag2"]},{"1416905077":["hashtag1","hashtag2"]},{"1416905073":["hashtag1","hashtag2"]},{"1416905067":["hashtag1","hashtag2"]},{"1416905075":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905071, 1416905068, 1416905077, 1416905073, 1416905067, 1416905075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.81108331680298 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:45:04.127415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/35/image_08052026_09_36_06_30235.jpg', '/home/pi/Desktop/images/08052026/09/37/image_08052026_09_37_36_30373.jpg', '/home/pi/Desktop/images/08052026/09/38/image_08052026_09_38_35_30402.jpg', '/home/pi/Desktop/images/08052026/09/38/image_08052026_09_39_06_30236.jpg', '/home/pi/Desktop/images/08052026/09/39/image_08052026_09_39_35_29331.jpg', '/home/pi/Desktop/images/08052026/09/39/image_08052026_09_40_05_30396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/35/image_08052026_09_36_06_30235.jpg
/home/pi/Desktop/images/08052026/09/37/image_08052026_09_37_36_30373.jpg
/home/pi/Desktop/images/08052026/09/38/image_08052026_09_38_35_30402.jpg
/home/pi/Desktop/images/08052026/09/38/image_08052026_09_39_06_30236.jpg
/home/pi/Desktop/images/08052026/09/39/image_08052026_09_39_35_29331.jpg
/home/pi/Desktop/images/08052026/09/39/image_08052026_09_40_05_30396.jpg
2026-05-11 22:45:04.180651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/54/image_08052026_09_54_36_30417.jpg', '/home/pi/Desktop/images/08052026/09/53/image_08052026_09_53_35_29302.jpg', '/home/pi/Desktop/images/08052026/09/50/image_08052026_09_51_05_30260.jpg', '/home/pi/Desktop/images/08052026/09/50/image_08052026_09_50_35_30258.jpg', '/home/pi/Desktop/images/08052026/09/49/image_08052026_09_50_05_29218.jpg', '/home/pi/Desktop/images/08052026/09/49/image_08052026_09_49_36_30411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/54/image_08052026_09_54_36_30417.jpg
/home/pi/Desktop/images/08052026/09/53/image_08052026_09_53_35_29302.jpg
/home/pi/Desktop/images/08052026/09/50/image_08052026_09_51_05_30260.jpg
/home/pi/Desktop/images/08052026/09/50/image_08052026_09_50_35_30258.jpg
/home/pi/Desktop/images/08052026/09/49/image_08052026_09_50_05_29218.jpg
/home/pi/Desktop/images/08052026/09/49/image_08052026_09_49_36_30411.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.2481236457824707 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905082","1416905093","1416905087","1416905081","1416905090","1416905084"],"photo_ids_order":["1416905081","1416905082","1416905084","1416905087","1416905090","1416905093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ee8a6e2dd7d0ff17b86e8e4b9128baa.jpg","text":"TemporaryFile(/tmp/multipartBody2224643220813577102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_37_36_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62e754af855d7277090eaa9f6cf3acf6.jpg","text":"TemporaryFile(/tmp/multipartBody1513381027068651432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_40_05_30396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a30401709673fa9637edd7ac9607db6c.jpg","text":"TemporaryFile(/tmp/multipartBody6296100703328893600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_39_06_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac73c7ece5e3d940cc467abf606eeb71.jpg","text":"TemporaryFile(/tmp/multipartBody3437090188278780049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_36_06_30235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/190795a009cc5b4a7cb87d02187e14df.jpg","text":"TemporaryFile(/tmp/multipartBody2717211991638327678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_39_35_29331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2cf57c0a570fae4d4179150140832d30.jpg","text":"TemporaryFile(/tmp/multipartBody2306351058608903801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532367290,"filename":"image_08052026_09_38_35_30402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905084","file1":"1416905082","file0":"1416905081","file4":"1416905090","file5":"1416905093","file3":"1416905087"},"map_files_photo_id_array":[{"photo_id":"1416905093","filename":"file5"},{"photo_id":"1416905084","filename":"file2"},{"photo_id":"1416905090","filename":"file4"},{"photo_id":"1416905082","filename":"file1"},{"photo_id":"1416905081","filename":"file0"},{"photo_id":"1416905087","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905082":["hashtag1","hashtag2"]},{"1416905093":["hashtag1","hashtag2"]},{"1416905087":["hashtag1","hashtag2"]},{"1416905081":["hashtag1","hashtag2"]},{"1416905090":["hashtag1","hashtag2"]},{"1416905084":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905082, 1416905093, 1416905087, 1416905081, 1416905090, 1416905084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60087275505066 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:46:04.135364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/54/image_08052026_09_54_36_30417.jpg', '/home/pi/Desktop/images/08052026/09/53/image_08052026_09_53_35_29302.jpg', '/home/pi/Desktop/images/08052026/09/50/image_08052026_09_51_05_30260.jpg', '/home/pi/Desktop/images/08052026/09/50/image_08052026_09_50_35_30258.jpg', '/home/pi/Desktop/images/08052026/09/49/image_08052026_09_50_05_29218.jpg', '/home/pi/Desktop/images/08052026/09/49/image_08052026_09_49_36_30411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/54/image_08052026_09_54_36_30417.jpg
/home/pi/Desktop/images/08052026/09/53/image_08052026_09_53_35_29302.jpg
/home/pi/Desktop/images/08052026/09/50/image_08052026_09_51_05_30260.jpg
/home/pi/Desktop/images/08052026/09/50/image_08052026_09_50_35_30258.jpg
/home/pi/Desktop/images/08052026/09/49/image_08052026_09_50_05_29218.jpg
/home/pi/Desktop/images/08052026/09/49/image_08052026_09_49_36_30411.jpg
2026-05-11 22:46:04.178184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
  port_id : 31053680
  datou_current_id : 4380055
in upload_from_sqlite, uploading in 31053680
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/09/40/image_08052026_09_40_36_30386.jpg', '/home/pi/Desktop/images/08052026/09/40/image_08052026_09_41_05_29256.jpg', '/home/pi/Desktop/images/08052026/09/45/image_08052026_09_46_06_30344.jpg', '/home/pi/Desktop/images/08052026/09/46/image_08052026_09_46_35_29209.jpg', '/home/pi/Desktop/images/08052026/09/46/image_08052026_09_47_05_30237.jpg', '/home/pi/Desktop/images/08052026/09/47/image_08052026_09_47_36_30368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380055&datou=0
/home/pi/Desktop/images/08052026/09/40/image_08052026_09_40_36_30386.jpg
/home/pi/Desktop/images/08052026/09/40/image_08052026_09_41_05_29256.jpg
/home/pi/Desktop/images/08052026/09/45/image_08052026_09_46_06_30344.jpg
/home/pi/Desktop/images/08052026/09/46/image_08052026_09_46_35_29209.jpg
/home/pi/Desktop/images/08052026/09/46/image_08052026_09_47_05_30237.jpg
/home/pi/Desktop/images/08052026/09/47/image_08052026_09_47_36_30368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905108","1416905098","1416905102","1416905104","1416905100","1416905106"],"photo_ids_order":["1416905098","1416905100","1416905102","1416905104","1416905106","1416905108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40166876a13586c80ccd41060c77683e.jpg","text":"TemporaryFile(/tmp/multipartBody1123305362488075616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_49_36_30411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8f9165f1bf9f015c1cf83c11f5b1ef81.jpg","text":"TemporaryFile(/tmp/multipartBody6508900256734139705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_54_36_30417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fe3959fee12e764fea6a69abc5664f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4374134808654288892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_51_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/862511c921c9eeb159490fb37f430f61.jpg","text":"TemporaryFile(/tmp/multipartBody6581118711082325845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_50_35_30258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc9ffb56fb7ea4fdd08ab96de9907ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5554546412905691616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_53_35_29302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/98efea80cc73e035dc72553542395b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7939469808758203552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532426519,"filename":"image_08052026_09_50_05_29218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905102","file1":"1416905100","file0":"1416905098","file4":"1416905106","file5":"1416905108","file3":"1416905104"},"map_files_photo_id_array":[{"photo_id":"1416905108","filename":"file5"},{"photo_id":"1416905102","filename":"file2"},{"photo_id":"1416905106","filename":"file4"},{"photo_id":"1416905100","filename":"file1"},{"photo_id":"1416905098","filename":"file0"},{"photo_id":"1416905104","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905108":["hashtag1","hashtag2"]},{"1416905098":["hashtag1","hashtag2"]},{"1416905102":["hashtag1","hashtag2"]},{"1416905104":["hashtag1","hashtag2"]},{"1416905100":["hashtag1","hashtag2"]},{"1416905106":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905108, 1416905098, 1416905102, 1416905104, 1416905100, 1416905106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.339040994644165 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905105","1416905107","1416905101","1416905109","1416905103","1416905099"],"photo_ids_order":["1416905099","1416905101","1416905103","1416905105","1416905107","1416905109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/13efe886a4ff98491bb780f0c0e4c110.jpg","text":"TemporaryFile(/tmp/multipartBody6920915719986126389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_46_35_29209.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/223b4382d8775d862e22b7451e3a2b33.jpg","text":"TemporaryFile(/tmp/multipartBody6863949891780900627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_47_05_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d78a23d7b12eb345a7b89a4623337770.jpg","text":"TemporaryFile(/tmp/multipartBody4243673207627938795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_41_05_29256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9651c0ec0cda85ebe8785de87ddd5e85.jpg","text":"TemporaryFile(/tmp/multipartBody5822196105406221303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_47_36_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/920d3693ce92ce23a942052eaf96304c.jpg","text":"TemporaryFile(/tmp/multipartBody553552078465938144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_46_06_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c7dd59b23e34c84fa9172cd697f7912b.jpg","text":"TemporaryFile(/tmp/multipartBody7259926252198613896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532427448,"filename":"image_08052026_09_40_36_30386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905103","file1":"1416905101","file0":"1416905099","file4":"1416905107","file5":"1416905109","file3":"1416905105"},"map_files_photo_id_array":[{"photo_id":"1416905109","filename":"file5"},{"photo_id":"1416905103","filename":"file2"},{"photo_id":"1416905107","filename":"file4"},{"photo_id":"1416905101","filename":"file1"},{"photo_id":"1416905099","filename":"file0"},{"photo_id":"1416905105","filename":"file3"}],"portfolio_id":31053680,"hashtag_by_photo_ids":[{"1416905105":["hashtag1","hashtag2"]},{"1416905107":["hashtag1","hashtag2"]},{"1416905101":["hashtag1","hashtag2"]},{"1416905109":["hashtag1","hashtag2"]},{"1416905103":["hashtag1","hashtag2"]},{"1416905099":["hashtag1","hashtag2"]}],"comms":"Portfolio 31053680 used, photo_id : ArrayBuffer(1416905105, 1416905107, 1416905101, 1416905109, 1416905103, 1416905099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.260494232177734 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:47:04.821923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_09052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 31054828, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778532485000}
4310
4380104
4310
  port_id : 31054828
  datou_current_id : 4380104
in upload_from_sqlite, uploading in 31054828
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/57/image_09052026_23_58_04_29156.jpg', '/home/pi/Desktop/images/09052026/23/57/image_09052026_23_57_35_30331.jpg', '/home/pi/Desktop/images/09052026/23/56/image_09052026_23_57_05_30263.jpg', '/home/pi/Desktop/images/09052026/23/54/image_09052026_23_55_05_30325.jpg', '/home/pi/Desktop/images/09052026/23/54/image_09052026_23_54_34_29239.jpg', '/home/pi/Desktop/images/09052026/23/53/image_09052026_23_54_05_30367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380104&datou=0
/home/pi/Desktop/images/09052026/23/57/image_09052026_23_58_04_29156.jpg
/home/pi/Desktop/images/09052026/23/57/image_09052026_23_57_35_30331.jpg
/home/pi/Desktop/images/09052026/23/56/image_09052026_23_57_05_30263.jpg
/home/pi/Desktop/images/09052026/23/54/image_09052026_23_55_05_30325.jpg
/home/pi/Desktop/images/09052026/23/54/image_09052026_23_54_34_29239.jpg
/home/pi/Desktop/images/09052026/23/53/image_09052026_23_54_05_30367.jpg
2026-05-11 22:47:04.976010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_09052026
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 0, 'actiontaken': ['Admin Wild Card !'], 'error': 'Name is duplicate, please modify the portfolio name', 'updated_at': 1778532486040}
error with portfolio, creating one with hour/min
Maybe name is duplicate : test_valcor_dechet_0325_48MP_09052026
{'portfolio_id': 31054829, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1778532486000}
4310
4380105
4310
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08052026/23/59/image_09052026_00_00_05_29359.jpg', '/home/pi/Desktop/images/09052026/00/01/image_09052026_00_02_05_30423.jpg', '/home/pi/Desktop/images/09052026/00/02/image_09052026_00_02_36_30273.jpg', '/home/pi/Desktop/images/09052026/00/02/image_09052026_00_03_05_29270.jpg', '/home/pi/Desktop/images/09052026/00/03/image_09052026_00_03_35_30282.jpg', '/home/pi/Desktop/images/09052026/00/03/image_09052026_00_04_06_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/08052026/23/59/image_09052026_00_00_05_29359.jpg
/home/pi/Desktop/images/09052026/00/01/image_09052026_00_02_05_30423.jpg
/home/pi/Desktop/images/09052026/00/02/image_09052026_00_02_36_30273.jpg
/home/pi/Desktop/images/09052026/00/02/image_09052026_00_03_05_29270.jpg
/home/pi/Desktop/images/09052026/00/03/image_09052026_00_03_35_30282.jpg
/home/pi/Desktop/images/09052026/00/03/image_09052026_00_04_06_30293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905111","1416905120","1416905117","1416905119","1416905113","1416905115"],"photo_ids_order":["1416905111","1416905113","1416905115","1416905117","1416905119","1416905120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6bddd7b68ecab9683d35f932dc458e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3846775967336051391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_00_05_29359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd77665cf96f16350c4f46b6b29c2a56.jpg","text":"TemporaryFile(/tmp/multipartBody1882184259737318267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_04_06_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7cf33a508d2e1d8fa01263d8df572458.jpg","text":"TemporaryFile(/tmp/multipartBody3996505898106969427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_03_05_29270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bea1053c7556161556dc23b2bb9fb65f.jpg","text":"TemporaryFile(/tmp/multipartBody182600728754925392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_03_35_30282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3f4777049e7602fccfe3c74d136bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody446251636908012289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_02_05_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3454305103e47a4a5cf65796d44fef48.jpg","text":"TemporaryFile(/tmp/multipartBody6496793757049677214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532491473,"filename":"image_09052026_00_02_36_30273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905115","file1":"1416905113","file0":"1416905111","file4":"1416905119","file5":"1416905120","file3":"1416905117"},"map_files_photo_id_array":[{"photo_id":"1416905120","filename":"file5"},{"photo_id":"1416905115","filename":"file2"},{"photo_id":"1416905119","filename":"file4"},{"photo_id":"1416905113","filename":"file1"},{"photo_id":"1416905111","filename":"file0"},{"photo_id":"1416905117","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905111":["hashtag1","hashtag2"]},{"1416905120":["hashtag1","hashtag2"]},{"1416905117":["hashtag1","hashtag2"]},{"1416905119":["hashtag1","hashtag2"]},{"1416905113":["hashtag1","hashtag2"]},{"1416905115":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905111, 1416905120, 1416905117, 1416905119, 1416905113, 1416905115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.34488916397095 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905114","1416905116","1416905110","1416905121","1416905118","1416905112"],"photo_ids_order":["1416905110","1416905112","1416905114","1416905116","1416905118","1416905121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e8aa51ccbc06e1b833197cfcb8a8654.jpg","text":"TemporaryFile(/tmp/multipartBody3056536944924781596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_57_05_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/213f88c3258b5f20b03548d4e3d18334.jpg","text":"TemporaryFile(/tmp/multipartBody2674993607686064075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_55_05_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7f369ca0b6268d44f28d209fae5cedec.jpg","text":"TemporaryFile(/tmp/multipartBody5513789664704369017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_58_04_29156.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a5fc3b186382cbcb24270bab4369a228.jpg","text":"TemporaryFile(/tmp/multipartBody5314684666681310246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_54_05_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0bb20676506ea7008a744ba034d0ebc1.jpg","text":"TemporaryFile(/tmp/multipartBody4279295271977933154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_54_34_29239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/faeed1537468aef9fd5ebed444ec4626.jpg","text":"TemporaryFile(/tmp/multipartBody5920329281999368215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532490208,"filename":"image_09052026_23_57_35_30331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905114","file1":"1416905112","file0":"1416905110","file4":"1416905118","file5":"1416905121","file3":"1416905116"},"map_files_photo_id_array":[{"photo_id":"1416905121","filename":"file5"},{"photo_id":"1416905114","filename":"file2"},{"photo_id":"1416905118","filename":"file4"},{"photo_id":"1416905112","filename":"file1"},{"photo_id":"1416905110","filename":"file0"},{"photo_id":"1416905116","filename":"file3"}],"portfolio_id":31054828,"hashtag_by_photo_ids":[{"1416905114":["hashtag1","hashtag2"]},{"1416905116":["hashtag1","hashtag2"]},{"1416905110":["hashtag1","hashtag2"]},{"1416905121":["hashtag1","hashtag2"]},{"1416905118":["hashtag1","hashtag2"]},{"1416905112":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054828 used, photo_id : ArrayBuffer(1416905114, 1416905116, 1416905110, 1416905121, 1416905118, 1416905112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.34593605995178 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:48:03.807381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/04/image_09052026_00_04_35_29177.jpg', '/home/pi/Desktop/images/09052026/00/04/image_09052026_00_05_05_30281.jpg', '/home/pi/Desktop/images/09052026/00/05/image_09052026_00_05_35_30346.jpg', '/home/pi/Desktop/images/09052026/00/05/image_09052026_00_06_06_30405.jpg', '/home/pi/Desktop/images/09052026/00/09/image_09052026_00_09_35_29233.jpg', '/home/pi/Desktop/images/09052026/00/10/image_09052026_00_10_35_30304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/04/image_09052026_00_04_35_29177.jpg
/home/pi/Desktop/images/09052026/00/04/image_09052026_00_05_05_30281.jpg
/home/pi/Desktop/images/09052026/00/05/image_09052026_00_05_35_30346.jpg
/home/pi/Desktop/images/09052026/00/05/image_09052026_00_06_06_30405.jpg
/home/pi/Desktop/images/09052026/00/09/image_09052026_00_09_35_29233.jpg
/home/pi/Desktop/images/09052026/00/10/image_09052026_00_10_35_30304.jpg
2026-05-11 22:48:03.841399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/49/image_09052026_23_50_05_30339.jpg', '/home/pi/Desktop/images/09052026/23/47/image_09052026_23_47_34_29301.jpg', '/home/pi/Desktop/images/09052026/23/46/image_09052026_23_46_35_30170.jpg', '/home/pi/Desktop/images/09052026/23/43/image_09052026_23_44_04_29311.jpg', '/home/pi/Desktop/images/09052026/23/42/image_09052026_23_43_05_30267.jpg', '/home/pi/Desktop/images/09052026/23/32/image_09052026_23_33_04_29097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/23/49/image_09052026_23_50_05_30339.jpg
/home/pi/Desktop/images/09052026/23/47/image_09052026_23_47_34_29301.jpg
/home/pi/Desktop/images/09052026/23/46/image_09052026_23_46_35_30170.jpg
/home/pi/Desktop/images/09052026/23/43/image_09052026_23_44_04_29311.jpg
/home/pi/Desktop/images/09052026/23/42/image_09052026_23_43_05_30267.jpg
/home/pi/Desktop/images/09052026/23/32/image_09052026_23_33_04_29097.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.123988389968872 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905123","1416905132","1416905129","1416905122","1416905131","1416905125"],"photo_ids_order":["1416905122","1416905123","1416905125","1416905129","1416905131","1416905132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/22c7cee22dbebabb3054bdd14f9da0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1230145498817106913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_05_05_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21f2fddd39177fe2991c81b0eb3a1260.jpg","text":"TemporaryFile(/tmp/multipartBody7459515779863225158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_10_35_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/52033313f8cb6e45c6bb626fefd4d6ab.jpg","text":"TemporaryFile(/tmp/multipartBody3003613273528649985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_06_06_30405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7b4d4859ea370128ec5f6c5cb7ad215.jpg","text":"TemporaryFile(/tmp/multipartBody4796059147655976077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_04_35_29177.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c83661efd98b8203cd360cf925fd20fe.jpg","text":"TemporaryFile(/tmp/multipartBody4269295272436781881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_09_35_29233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bc04728dc630fc34db3cc960398173ef.jpg","text":"TemporaryFile(/tmp/multipartBody4544665251715997773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532546836,"filename":"image_09052026_00_05_35_30346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905125","file1":"1416905123","file0":"1416905122","file4":"1416905131","file5":"1416905132","file3":"1416905129"},"map_files_photo_id_array":[{"photo_id":"1416905132","filename":"file5"},{"photo_id":"1416905125","filename":"file2"},{"photo_id":"1416905131","filename":"file4"},{"photo_id":"1416905123","filename":"file1"},{"photo_id":"1416905122","filename":"file0"},{"photo_id":"1416905129","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905123":["hashtag1","hashtag2"]},{"1416905132":["hashtag1","hashtag2"]},{"1416905129":["hashtag1","hashtag2"]},{"1416905122":["hashtag1","hashtag2"]},{"1416905131":["hashtag1","hashtag2"]},{"1416905125":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905123, 1416905132, 1416905129, 1416905122, 1416905131, 1416905125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.74353551864624 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:49:04.198766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/11/image_09052026_00_11_35_30370.jpg', '/home/pi/Desktop/images/09052026/00/12/image_09052026_00_13_05_30210.jpg', '/home/pi/Desktop/images/09052026/00/13/image_09052026_00_14_06_30359.jpg', '/home/pi/Desktop/images/09052026/00/15/image_09052026_00_15_35_29269.jpg', '/home/pi/Desktop/images/09052026/00/15/image_09052026_00_16_05_30327.jpg', '/home/pi/Desktop/images/09052026/00/18/image_09052026_00_18_36_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/11/image_09052026_00_11_35_30370.jpg
/home/pi/Desktop/images/09052026/00/12/image_09052026_00_13_05_30210.jpg
/home/pi/Desktop/images/09052026/00/13/image_09052026_00_14_06_30359.jpg
/home/pi/Desktop/images/09052026/00/15/image_09052026_00_15_35_29269.jpg
/home/pi/Desktop/images/09052026/00/15/image_09052026_00_16_05_30327.jpg
/home/pi/Desktop/images/09052026/00/18/image_09052026_00_18_36_30225.jpg
2026-05-11 22:49:04.340492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/49/image_09052026_23_50_05_30339.jpg', '/home/pi/Desktop/images/09052026/23/47/image_09052026_23_47_34_29301.jpg', '/home/pi/Desktop/images/09052026/23/46/image_09052026_23_46_35_30170.jpg', '/home/pi/Desktop/images/09052026/23/43/image_09052026_23_44_04_29311.jpg', '/home/pi/Desktop/images/09052026/23/42/image_09052026_23_43_05_30267.jpg', '/home/pi/Desktop/images/09052026/23/32/image_09052026_23_33_04_29097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/23/49/image_09052026_23_50_05_30339.jpg
/home/pi/Desktop/images/09052026/23/47/image_09052026_23_47_34_29301.jpg
/home/pi/Desktop/images/09052026/23/46/image_09052026_23_46_35_30170.jpg
/home/pi/Desktop/images/09052026/23/43/image_09052026_23_44_04_29311.jpg
/home/pi/Desktop/images/09052026/23/42/image_09052026_23_43_05_30267.jpg
/home/pi/Desktop/images/09052026/23/32/image_09052026_23_33_04_29097.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.509603977203369 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905138","1416905140","1416905134","1416905133","1416905142","1416905136"],"photo_ids_order":["1416905133","1416905134","1416905136","1416905138","1416905140","1416905142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d80c383346681f7c7905195b8d0b3f83.jpg","text":"TemporaryFile(/tmp/multipartBody441745287401006518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_44_04_29311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/612975a4726920ac34a3108282576034.jpg","text":"TemporaryFile(/tmp/multipartBody2687981479082278021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_43_05_30267.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e82d72e4394e062147a1e205950910b.jpg","text":"TemporaryFile(/tmp/multipartBody1117937772863265151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_47_34_29301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/92e886e19db8cda9c35b11d611edcdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2044995039690349470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_50_05_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/638824207e269659d3af57996cf40b5a.jpg","text":"TemporaryFile(/tmp/multipartBody3229169851529091710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_33_04_29097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b33b271e306b65da4f257ba06b84fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody6998427616337276004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532607543,"filename":"image_09052026_23_46_35_30170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905136","file1":"1416905134","file0":"1416905133","file4":"1416905140","file5":"1416905142","file3":"1416905138"},"map_files_photo_id_array":[{"photo_id":"1416905142","filename":"file5"},{"photo_id":"1416905136","filename":"file2"},{"photo_id":"1416905140","filename":"file4"},{"photo_id":"1416905134","filename":"file1"},{"photo_id":"1416905133","filename":"file0"},{"photo_id":"1416905138","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905138":["hashtag1","hashtag2"]},{"1416905140":["hashtag1","hashtag2"]},{"1416905134":["hashtag1","hashtag2"]},{"1416905133":["hashtag1","hashtag2"]},{"1416905142":["hashtag1","hashtag2"]},{"1416905136":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905138, 1416905140, 1416905134, 1416905133, 1416905142, 1416905136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.480693101882935 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:50:03.939590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/31/image_09052026_23_31_34_30314.jpg', '/home/pi/Desktop/images/09052026/23/30/image_09052026_23_31_04_29216.jpg', '/home/pi/Desktop/images/09052026/23/28/image_09052026_23_28_35_30266.jpg', '/home/pi/Desktop/images/09052026/23/27/image_09052026_23_28_04_30309.jpg', '/home/pi/Desktop/images/09052026/23/27/image_09052026_23_27_34_29199.jpg', '/home/pi/Desktop/images/09052026/23/26/image_09052026_23_27_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/23/31/image_09052026_23_31_34_30314.jpg
/home/pi/Desktop/images/09052026/23/30/image_09052026_23_31_04_29216.jpg
/home/pi/Desktop/images/09052026/23/28/image_09052026_23_28_35_30266.jpg
/home/pi/Desktop/images/09052026/23/27/image_09052026_23_28_04_30309.jpg
/home/pi/Desktop/images/09052026/23/27/image_09052026_23_27_34_29199.jpg
/home/pi/Desktop/images/09052026/23/26/image_09052026_23_27_05_30363.jpg
2026-05-11 22:50:04.028144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/11/image_09052026_00_11_35_30370.jpg', '/home/pi/Desktop/images/09052026/00/12/image_09052026_00_13_05_30210.jpg', '/home/pi/Desktop/images/09052026/00/13/image_09052026_00_14_06_30359.jpg', '/home/pi/Desktop/images/09052026/00/15/image_09052026_00_15_35_29269.jpg', '/home/pi/Desktop/images/09052026/00/15/image_09052026_00_16_05_30327.jpg', '/home/pi/Desktop/images/09052026/00/18/image_09052026_00_18_36_30225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/11/image_09052026_00_11_35_30370.jpg
/home/pi/Desktop/images/09052026/00/12/image_09052026_00_13_05_30210.jpg
/home/pi/Desktop/images/09052026/00/13/image_09052026_00_14_06_30359.jpg
/home/pi/Desktop/images/09052026/00/15/image_09052026_00_15_35_29269.jpg
/home/pi/Desktop/images/09052026/00/15/image_09052026_00_16_05_30327.jpg
/home/pi/Desktop/images/09052026/00/18/image_09052026_00_18_36_30225.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905150","1416905144","1416905152","1416905146","1416905154","1416905148"],"photo_ids_order":["1416905144","1416905146","1416905148","1416905150","1416905152","1416905154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74b30f446301b235cb1fba92d75acc5e.jpg","text":"TemporaryFile(/tmp/multipartBody3186034163539297411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_15_35_29269.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee895af3f4305e9c420e1766278a07c7.jpg","text":"TemporaryFile(/tmp/multipartBody1086218547726776653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_11_35_30370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ecf9dbbac037795f9adad04e543ec82d.jpg","text":"TemporaryFile(/tmp/multipartBody5348551598694622064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_16_05_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1d8cf2ae6d6f550f1199da72d871196.jpg","text":"TemporaryFile(/tmp/multipartBody4406554280163054349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_13_05_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93c6df98759dc6621743427dcba6b1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5990960507084922877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_18_36_30225.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55d7ae96cbfb1963ad0c30a62fbb2fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1983781280208264929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667240,"filename":"image_09052026_00_14_06_30359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905148","file1":"1416905146","file0":"1416905144","file4":"1416905152","file5":"1416905154","file3":"1416905150"},"map_files_photo_id_array":[{"photo_id":"1416905154","filename":"file5"},{"photo_id":"1416905148","filename":"file2"},{"photo_id":"1416905152","filename":"file4"},{"photo_id":"1416905146","filename":"file1"},{"photo_id":"1416905144","filename":"file0"},{"photo_id":"1416905150","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905150":["hashtag1","hashtag2"]},{"1416905144":["hashtag1","hashtag2"]},{"1416905152":["hashtag1","hashtag2"]},{"1416905146":["hashtag1","hashtag2"]},{"1416905154":["hashtag1","hashtag2"]},{"1416905148":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905150, 1416905144, 1416905152, 1416905146, 1416905154, 1416905148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.267905950546265 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905153","1416905147","1416905155","1416905149","1416905151","1416905145"],"photo_ids_order":["1416905145","1416905147","1416905149","1416905151","1416905153","1416905155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/02298aab03ecde55858fc5b939a57e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7704275172253750907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_27_34_29199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c094aa3ea13de09f4160aed49a5c8839.jpg","text":"TemporaryFile(/tmp/multipartBody1206131332557208364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_31_04_29216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/53b504e198c3f3b00becf864c11722d8.jpg","text":"TemporaryFile(/tmp/multipartBody6683715098438219054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_27_05_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3955bee751cb65c8351d9a32b561110.jpg","text":"TemporaryFile(/tmp/multipartBody1649077532303169370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_28_35_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eb2e1f84a1ba5aec1fbca1b59cd37748.jpg","text":"TemporaryFile(/tmp/multipartBody902264592700498333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_28_04_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a16cf6558f91a3909c27006df2462995.jpg","text":"TemporaryFile(/tmp/multipartBody4680921011900935117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532667511,"filename":"image_09052026_23_31_34_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905149","file1":"1416905147","file0":"1416905145","file4":"1416905153","file5":"1416905155","file3":"1416905151"},"map_files_photo_id_array":[{"photo_id":"1416905155","filename":"file5"},{"photo_id":"1416905149","filename":"file2"},{"photo_id":"1416905153","filename":"file4"},{"photo_id":"1416905147","filename":"file1"},{"photo_id":"1416905145","filename":"file0"},{"photo_id":"1416905151","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905153":["hashtag1","hashtag2"]},{"1416905147":["hashtag1","hashtag2"]},{"1416905155":["hashtag1","hashtag2"]},{"1416905149":["hashtag1","hashtag2"]},{"1416905151":["hashtag1","hashtag2"]},{"1416905145":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905153, 1416905147, 1416905155, 1416905149, 1416905151, 1416905145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23813486099243 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:51:03.813222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/18/image_09052026_00_19_05_29178.jpg', '/home/pi/Desktop/images/09052026/00/19/image_09052026_00_19_35_30350.jpg', '/home/pi/Desktop/images/09052026/00/19/image_09052026_00_20_06_30391.jpg', '/home/pi/Desktop/images/09052026/00/20/image_09052026_00_21_05_30234.jpg', '/home/pi/Desktop/images/09052026/00/21/image_09052026_00_21_35_30174.jpg', '/home/pi/Desktop/images/09052026/00/21/image_09052026_00_22_06_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/18/image_09052026_00_19_05_29178.jpg
/home/pi/Desktop/images/09052026/00/19/image_09052026_00_19_35_30350.jpg
/home/pi/Desktop/images/09052026/00/19/image_09052026_00_20_06_30391.jpg
/home/pi/Desktop/images/09052026/00/20/image_09052026_00_21_05_30234.jpg
/home/pi/Desktop/images/09052026/00/21/image_09052026_00_21_35_30174.jpg
/home/pi/Desktop/images/09052026/00/21/image_09052026_00_22_06_30346.jpg
2026-05-11 22:51:04.098436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/24/image_09052026_23_25_05_30315.jpg', '/home/pi/Desktop/images/09052026/23/24/image_09052026_23_24_34_30230.jpg', '/home/pi/Desktop/images/09052026/23/23/image_09052026_23_23_35_30279.jpg', '/home/pi/Desktop/images/09052026/23/17/image_09052026_23_18_05_30442.jpg', '/home/pi/Desktop/images/09052026/23/15/image_09052026_23_15_34_30288.jpg', '/home/pi/Desktop/images/09052026/23/14/image_09052026_23_14_35_30274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/23/24/image_09052026_23_25_05_30315.jpg
/home/pi/Desktop/images/09052026/23/24/image_09052026_23_24_34_30230.jpg
/home/pi/Desktop/images/09052026/23/23/image_09052026_23_23_35_30279.jpg
/home/pi/Desktop/images/09052026/23/17/image_09052026_23_18_05_30442.jpg
/home/pi/Desktop/images/09052026/23/15/image_09052026_23_15_34_30288.jpg
/home/pi/Desktop/images/09052026/23/14/image_09052026_23_14_35_30274.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.8237721920013428 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905165","1416905159","1416905161","1416905163","1416905157","1416905156"],"photo_ids_order":["1416905156","1416905157","1416905159","1416905161","1416905163","1416905165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c4718e689a6e0a044d326cb8543890cf.jpg","text":"TemporaryFile(/tmp/multipartBody1742348611731632598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_22_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8685cf18f1da74f8018b287fcd40fe1c.jpg","text":"TemporaryFile(/tmp/multipartBody5060908827199771311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_20_06_30391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a5d16cf9278de4164a659a5d7c82522.jpg","text":"TemporaryFile(/tmp/multipartBody5048576005689302082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_21_05_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/88aeb0c71e8c7aa7186d50c873c036ba.jpg","text":"TemporaryFile(/tmp/multipartBody3954163426432453833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_21_35_30174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f54c0efb24575b3246d939efb56ec885.jpg","text":"TemporaryFile(/tmp/multipartBody4967894198650239727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_19_35_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/198509c2959e999966688698b958358c.jpg","text":"TemporaryFile(/tmp/multipartBody1015490877756922367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532726427,"filename":"image_09052026_00_19_05_29178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905159","file1":"1416905157","file0":"1416905156","file4":"1416905163","file5":"1416905165","file3":"1416905161"},"map_files_photo_id_array":[{"photo_id":"1416905165","filename":"file5"},{"photo_id":"1416905159","filename":"file2"},{"photo_id":"1416905163","filename":"file4"},{"photo_id":"1416905157","filename":"file1"},{"photo_id":"1416905156","filename":"file0"},{"photo_id":"1416905161","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905165":["hashtag1","hashtag2"]},{"1416905159":["hashtag1","hashtag2"]},{"1416905161":["hashtag1","hashtag2"]},{"1416905163":["hashtag1","hashtag2"]},{"1416905157":["hashtag1","hashtag2"]},{"1416905156":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905165, 1416905159, 1416905161, 1416905163, 1416905157, 1416905156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44934153556824 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:52:02.907636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/22/image_09052026_00_22_35_29133.jpg', '/home/pi/Desktop/images/09052026/00/22/image_09052026_00_23_05_30222.jpg', '/home/pi/Desktop/images/09052026/00/23/image_09052026_00_23_35_30273.jpg', '/home/pi/Desktop/images/09052026/00/23/image_09052026_00_24_06_30401.jpg', '/home/pi/Desktop/images/09052026/00/24/image_09052026_00_24_35_29186.jpg', '/home/pi/Desktop/images/09052026/00/26/image_09052026_00_27_05_30232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/22/image_09052026_00_22_35_29133.jpg
/home/pi/Desktop/images/09052026/00/22/image_09052026_00_23_05_30222.jpg
/home/pi/Desktop/images/09052026/00/23/image_09052026_00_23_35_30273.jpg
/home/pi/Desktop/images/09052026/00/23/image_09052026_00_24_06_30401.jpg
/home/pi/Desktop/images/09052026/00/24/image_09052026_00_24_35_29186.jpg
/home/pi/Desktop/images/09052026/00/26/image_09052026_00_27_05_30232.jpg
2026-05-11 22:52:03.229071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/51/image_11052026_22_52_14_30341.jpg', '/home/pi/Desktop/images/11052026/22/39/image_11052026_22_39_44_30361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/51/image_11052026_22_52_14_30341.jpg
/home/pi/Desktop/images/11052026/22/39/image_11052026_22_39_44_30361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905513","1416905511"],"photo_ids_order":["1416905511","1416905513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cc84a5d9475c65127c8e369c95253be5.jpg","text":"TemporaryFile(/tmp/multipartBody6325782249700426670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532784772,"filename":"image_11052026_22_39_44_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f15990fa57a2fecee155255b622a0a6.jpg","text":"TemporaryFile(/tmp/multipartBody6631161307012895754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532784772,"filename":"image_11052026_22_52_14_30341.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416905513","file0":"1416905511"},"map_files_photo_id_array":[{"photo_id":"1416905513","filename":"file1"},{"photo_id":"1416905511","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416905513":["hashtag1","hashtag2"]},{"1416905511":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416905513, 1416905511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.78802490234375 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905534","1416905512","1416905515","1416905532","1416905529","1416905514"],"photo_ids_order":["1416905512","1416905514","1416905515","1416905529","1416905532","1416905534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c6d69e60c26e9a7c544bddb929c5936.jpg","text":"TemporaryFile(/tmp/multipartBody129126604676563007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_27_05_30232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34c2cfe13b19485eceb830b1ce387722.jpg","text":"TemporaryFile(/tmp/multipartBody2002529209181457968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_22_35_29133.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0815b3f727efb24e2c05528418eec2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2483614444854234824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_23_35_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6627e58d4a7747e09abf8b46f35cdd79.jpg","text":"TemporaryFile(/tmp/multipartBody3729572746810749316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_24_35_29186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57ddcb45f0bce293cd4263b774747d74.jpg","text":"TemporaryFile(/tmp/multipartBody1876768030912036720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_24_06_30401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8cbd36ac99cfea73645bfc51bd53daed.jpg","text":"TemporaryFile(/tmp/multipartBody6542721048127267109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532785444,"filename":"image_09052026_00_23_05_30222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905515","file1":"1416905514","file0":"1416905512","file4":"1416905532","file5":"1416905534","file3":"1416905529"},"map_files_photo_id_array":[{"photo_id":"1416905534","filename":"file5"},{"photo_id":"1416905515","filename":"file2"},{"photo_id":"1416905532","filename":"file4"},{"photo_id":"1416905514","filename":"file1"},{"photo_id":"1416905512","filename":"file0"},{"photo_id":"1416905529","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905534":["hashtag1","hashtag2"]},{"1416905512":["hashtag1","hashtag2"]},{"1416905515":["hashtag1","hashtag2"]},{"1416905532":["hashtag1","hashtag2"]},{"1416905529":["hashtag1","hashtag2"]},{"1416905514":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905534, 1416905512, 1416905515, 1416905532, 1416905529, 1416905514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.164204359054565 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:53:03.557115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/23/24/image_09052026_23_25_05_30315.jpg', '/home/pi/Desktop/images/09052026/23/24/image_09052026_23_24_34_30230.jpg', '/home/pi/Desktop/images/09052026/23/23/image_09052026_23_23_35_30279.jpg', '/home/pi/Desktop/images/09052026/23/17/image_09052026_23_18_05_30442.jpg', '/home/pi/Desktop/images/09052026/23/15/image_09052026_23_15_34_30288.jpg', '/home/pi/Desktop/images/09052026/23/14/image_09052026_23_14_35_30274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/23/24/image_09052026_23_25_05_30315.jpg
/home/pi/Desktop/images/09052026/23/24/image_09052026_23_24_34_30230.jpg
/home/pi/Desktop/images/09052026/23/23/image_09052026_23_23_35_30279.jpg
/home/pi/Desktop/images/09052026/23/17/image_09052026_23_18_05_30442.jpg
/home/pi/Desktop/images/09052026/23/15/image_09052026_23_15_34_30288.jpg
/home/pi/Desktop/images/09052026/23/14/image_09052026_23_14_35_30274.jpg
2026-05-11 22:53:03.951041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/27/image_09052026_00_27_35_30326.jpg', '/home/pi/Desktop/images/09052026/00/29/image_09052026_00_29_35_29250.jpg', '/home/pi/Desktop/images/09052026/00/29/image_09052026_00_30_05_30327.jpg', '/home/pi/Desktop/images/09052026/00/30/image_09052026_00_31_06_30330.jpg', '/home/pi/Desktop/images/09052026/00/31/image_09052026_00_31_35_29289.jpg', '/home/pi/Desktop/images/09052026/00/31/image_09052026_00_32_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/27/image_09052026_00_27_35_30326.jpg
/home/pi/Desktop/images/09052026/00/29/image_09052026_00_29_35_29250.jpg
/home/pi/Desktop/images/09052026/00/29/image_09052026_00_30_05_30327.jpg
/home/pi/Desktop/images/09052026/00/30/image_09052026_00_31_06_30330.jpg
/home/pi/Desktop/images/09052026/00/31/image_09052026_00_31_35_29289.jpg
/home/pi/Desktop/images/09052026/00/31/image_09052026_00_32_05_30363.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.88126277923584 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905561","1416905548","1416905550","1416905547","1416905607","1416905552"],"photo_ids_order":["1416905547","1416905548","1416905550","1416905552","1416905561","1416905607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c98de9e6300d0fe396c23e957490ae81.jpg","text":"TemporaryFile(/tmp/multipartBody6218766281737779382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_15_34_30288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6549180250f4eb4fab16754caeab2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody2304236840748565249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_24_34_30230.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b1ab211ab64a775fd32265814469bf97.jpg","text":"TemporaryFile(/tmp/multipartBody5741140096210440206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_23_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dd0780c48dd58ea2ad87d68ec53f1da3.jpg","text":"TemporaryFile(/tmp/multipartBody956626389285309305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_25_05_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d8939a58bd5239e509dccb3b124deff.jpg","text":"TemporaryFile(/tmp/multipartBody4618493195949552544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_14_35_30274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6948ff7be02f85b7091f431b4adefded.jpg","text":"TemporaryFile(/tmp/multipartBody4686365165469796049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532846144,"filename":"image_09052026_23_18_05_30442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905550","file1":"1416905548","file0":"1416905547","file4":"1416905561","file5":"1416905607","file3":"1416905552"},"map_files_photo_id_array":[{"photo_id":"1416905607","filename":"file5"},{"photo_id":"1416905550","filename":"file2"},{"photo_id":"1416905561","filename":"file4"},{"photo_id":"1416905548","filename":"file1"},{"photo_id":"1416905547","filename":"file0"},{"photo_id":"1416905552","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905561":["hashtag1","hashtag2"]},{"1416905548":["hashtag1","hashtag2"]},{"1416905550":["hashtag1","hashtag2"]},{"1416905547":["hashtag1","hashtag2"]},{"1416905607":["hashtag1","hashtag2"]},{"1416905552":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905561, 1416905548, 1416905550, 1416905547, 1416905607, 1416905552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.994192123413086 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:54:04.285735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/52/image_11052026_22_52_44_30383.jpg', '/home/pi/Desktop/images/11052026/22/52/image_11052026_22_53_14_29337.jpg', '/home/pi/Desktop/images/11052026/22/53/image_11052026_22_53_44_30452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/52/image_11052026_22_52_44_30383.jpg
/home/pi/Desktop/images/11052026/22/52/image_11052026_22_53_14_29337.jpg
/home/pi/Desktop/images/11052026/22/53/image_11052026_22_53_44_30452.jpg
2026-05-11 22:54:04.315204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/53/image_11052026_22_53_44_30452.jpg', '/home/pi/Desktop/images/11052026/22/52/image_11052026_22_53_14_29337.jpg', '/home/pi/Desktop/images/11052026/22/52/image_11052026_22_52_44_30383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/53/image_11052026_22_53_44_30452.jpg
/home/pi/Desktop/images/11052026/22/52/image_11052026_22_53_14_29337.jpg
/home/pi/Desktop/images/11052026/22/52/image_11052026_22_52_44_30383.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8198332786560059 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905623","1416905622","1416905625"],"photo_ids_order":["1416905622","1416905623","1416905625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3fa221e7c48fb0a11d0f34ff02ccd837.jpg","text":"TemporaryFile(/tmp/multipartBody5478730177915714266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532906346,"filename":"image_11052026_22_53_14_29337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/be50b32bc2bb74cd8624386489fe6e79.jpg","text":"TemporaryFile(/tmp/multipartBody5846663955608799540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532906346,"filename":"image_11052026_22_52_44_30383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b538ec974e9e98d0bcaf63b7a108311d.jpg","text":"TemporaryFile(/tmp/multipartBody4136795927696366552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532906346,"filename":"image_11052026_22_53_44_30452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905625","file1":"1416905623","file0":"1416905622"},"map_files_photo_id_array":[{"photo_id":"1416905625","filename":"file2"},{"photo_id":"1416905623","filename":"file1"},{"photo_id":"1416905622","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416905623":["hashtag1","hashtag2"]},{"1416905622":["hashtag1","hashtag2"]},{"1416905625":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416905623, 1416905622, 1416905625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.196969985961914 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:55:04.004189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/54/image_11052026_22_54_44_30203.jpg', '/home/pi/Desktop/images/11052026/22/54/image_11052026_22_55_14_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/54/image_11052026_22_54_44_30203.jpg
/home/pi/Desktop/images/11052026/22/54/image_11052026_22_55_14_30255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905627","1416905628"],"photo_ids_order":["1416905627","1416905628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae5a4701e24360e0fc00a17f1eafe356.jpg","text":"TemporaryFile(/tmp/multipartBody2711418358005292731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532983307,"filename":"image_11052026_22_54_44_30203.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a70a60f4f8d359496fd7cbf0a0702616.jpg","text":"TemporaryFile(/tmp/multipartBody1421260306212972217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778532983307,"filename":"image_11052026_22_55_14_30255.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416905628","file0":"1416905627"},"map_files_photo_id_array":[{"photo_id":"1416905628","filename":"file1"},{"photo_id":"1416905627","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416905627":["hashtag1","hashtag2"]},{"1416905628":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416905627, 1416905628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 37.67053413391113 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:56:03.594314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/27/image_09052026_00_27_35_30326.jpg', '/home/pi/Desktop/images/09052026/00/29/image_09052026_00_29_35_29250.jpg', '/home/pi/Desktop/images/09052026/00/29/image_09052026_00_30_05_30327.jpg', '/home/pi/Desktop/images/09052026/00/30/image_09052026_00_31_06_30330.jpg', '/home/pi/Desktop/images/09052026/00/31/image_09052026_00_31_35_29289.jpg', '/home/pi/Desktop/images/09052026/00/31/image_09052026_00_32_05_30363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/27/image_09052026_00_27_35_30326.jpg
/home/pi/Desktop/images/09052026/00/29/image_09052026_00_29_35_29250.jpg
/home/pi/Desktop/images/09052026/00/29/image_09052026_00_30_05_30327.jpg
/home/pi/Desktop/images/09052026/00/30/image_09052026_00_31_06_30330.jpg
/home/pi/Desktop/images/09052026/00/31/image_09052026_00_31_35_29289.jpg
/home/pi/Desktop/images/09052026/00/31/image_09052026_00_32_05_30363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416905633","1416905630","1416905632","1416905629","1416905634","1416905631"],"photo_ids_order":["1416905629","1416905630","1416905631","1416905632","1416905633","1416905634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a2271c1bd8100f200d854fb83364455b.jpg","text":"TemporaryFile(/tmp/multipartBody744729483619341927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_31_35_29289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cf14e59cf37bfbfd8564a58429954c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2710708476276544971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_29_35_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d4c4cbbdeec6298f072eab08660d2083.jpg","text":"TemporaryFile(/tmp/multipartBody1394790398876142794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_31_06_30330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a56ed735884f330fe1fdf66685e9473f.jpg","text":"TemporaryFile(/tmp/multipartBody2452837368154237667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_27_35_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ed59cce94e017de0932b2dc06ea9d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3521748210748711853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_32_05_30363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/122d8169b630994400358a28945efa28.jpg","text":"TemporaryFile(/tmp/multipartBody3406787334408341041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533026246,"filename":"image_09052026_00_30_05_30327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416905631","file1":"1416905630","file0":"1416905629","file4":"1416905633","file5":"1416905634","file3":"1416905632"},"map_files_photo_id_array":[{"photo_id":"1416905634","filename":"file5"},{"photo_id":"1416905631","filename":"file2"},{"photo_id":"1416905633","filename":"file4"},{"photo_id":"1416905630","filename":"file1"},{"photo_id":"1416905629","filename":"file0"},{"photo_id":"1416905632","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416905633":["hashtag1","hashtag2"]},{"1416905630":["hashtag1","hashtag2"]},{"1416905632":["hashtag1","hashtag2"]},{"1416905629":["hashtag1","hashtag2"]},{"1416905634":["hashtag1","hashtag2"]},{"1416905631":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416905633, 1416905630, 1416905632, 1416905629, 1416905634, 1416905631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.123565912246704 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:57:04.120554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/55/image_11052026_22_55_44_30244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/55/image_11052026_22_55_44_30244.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8046503067016602 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:58:03.837792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/55/image_11052026_22_55_44_30244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/55/image_11052026_22_55_44_30244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906131"],"photo_id":"1416906131","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7701d9f0e6444034ecdb7acee5aa836e.jpg","text":"TemporaryFile(/tmp/multipartBody7015218964437327180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533144882,"filename":"image_11052026_22_55_44_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906131"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906131"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.165969371795654 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 22:59:04.665224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/32/image_09052026_00_32_36_30379.jpg', '/home/pi/Desktop/images/09052026/00/32/image_09052026_00_33_05_29096.jpg', '/home/pi/Desktop/images/09052026/00/33/image_09052026_00_33_35_30305.jpg', '/home/pi/Desktop/images/09052026/00/33/image_09052026_00_34_06_30373.jpg', '/home/pi/Desktop/images/09052026/00/35/image_09052026_00_36_06_30397.jpg', '/home/pi/Desktop/images/09052026/00/37/image_09052026_00_37_35_29301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/32/image_09052026_00_32_36_30379.jpg
/home/pi/Desktop/images/09052026/00/32/image_09052026_00_33_05_29096.jpg
/home/pi/Desktop/images/09052026/00/33/image_09052026_00_33_35_30305.jpg
/home/pi/Desktop/images/09052026/00/33/image_09052026_00_34_06_30373.jpg
/home/pi/Desktop/images/09052026/00/35/image_09052026_00_36_06_30397.jpg
/home/pi/Desktop/images/09052026/00/37/image_09052026_00_37_35_29301.jpg
2026-05-11 22:59:04.694964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/22/59/image_09052026_22_59_34_30293.jpg', '/home/pi/Desktop/images/09052026/22/58/image_09052026_22_58_35_30199.jpg', '/home/pi/Desktop/images/09052026/22/57/image_09052026_22_58_05_30499.jpg', '/home/pi/Desktop/images/09052026/22/57/image_09052026_22_57_34_29305.jpg', '/home/pi/Desktop/images/09052026/22/56/image_09052026_22_56_35_30317.jpg', '/home/pi/Desktop/images/09052026/22/54/image_09052026_22_54_34_30254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/22/59/image_09052026_22_59_34_30293.jpg
/home/pi/Desktop/images/09052026/22/58/image_09052026_22_58_35_30199.jpg
/home/pi/Desktop/images/09052026/22/57/image_09052026_22_58_05_30499.jpg
/home/pi/Desktop/images/09052026/22/57/image_09052026_22_57_34_29305.jpg
/home/pi/Desktop/images/09052026/22/56/image_09052026_22_56_35_30317.jpg
/home/pi/Desktop/images/09052026/22/54/image_09052026_22_54_34_30254.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906192","1416906186","1416906189","1416906183","1416906197","1416906194"],"photo_ids_order":["1416906183","1416906186","1416906189","1416906192","1416906194","1416906197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ae8aa76a2825e4b82666737c2a3ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody1775615453043958291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_57_34_29305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9c3650beb28dfd39bd62a9cda59e4aba.jpg","text":"TemporaryFile(/tmp/multipartBody9013207893784407786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_58_35_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b52fd4e5cb37ecd2f48b7aeed6e6453a.jpg","text":"TemporaryFile(/tmp/multipartBody3678550610907678288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_58_05_30499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e27362a3f6b6f734f4a90260c1d827c9.jpg","text":"TemporaryFile(/tmp/multipartBody1999441689013851001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_59_34_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1fb1eb904c2be741352cd3a8070ba652.jpg","text":"TemporaryFile(/tmp/multipartBody4605653459352684835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_54_34_30254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7deae88b2d2225a641539419f3662bdc.jpg","text":"TemporaryFile(/tmp/multipartBody1859116060240384020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533207869,"filename":"image_09052026_22_56_35_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906189","file1":"1416906186","file0":"1416906183","file4":"1416906194","file5":"1416906197","file3":"1416906192"},"map_files_photo_id_array":[{"photo_id":"1416906197","filename":"file5"},{"photo_id":"1416906189","filename":"file2"},{"photo_id":"1416906194","filename":"file4"},{"photo_id":"1416906186","filename":"file1"},{"photo_id":"1416906183","filename":"file0"},{"photo_id":"1416906192","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906192":["hashtag1","hashtag2"]},{"1416906186":["hashtag1","hashtag2"]},{"1416906189":["hashtag1","hashtag2"]},{"1416906183":["hashtag1","hashtag2"]},{"1416906197":["hashtag1","hashtag2"]},{"1416906194":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906192, 1416906186, 1416906189, 1416906183, 1416906197, 1416906194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02504920959473 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906184","1416906195","1416906198","1416906191","1416906188","1416906193"],"photo_ids_order":["1416906184","1416906188","1416906191","1416906193","1416906195","1416906198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9b86f32d685aaa3f349e7298e09a00d4.jpg","text":"TemporaryFile(/tmp/multipartBody4608485906442376559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_32_36_30379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da0d74ec700f84eda7422d224e5afdf4.jpg","text":"TemporaryFile(/tmp/multipartBody1683461894306004987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_36_06_30397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c734d634a846694933dbe79d8f6e2308.jpg","text":"TemporaryFile(/tmp/multipartBody8862141648492626662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_37_35_29301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c97e8eea967c2c85924e9a0065ad893.jpg","text":"TemporaryFile(/tmp/multipartBody7765313796967584899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_33_35_30305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0db02121a682a1e54d6193579c0c9e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1988753614417001191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_33_05_29096.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/51dfc4c67285b7a6e865bea42ab905c2.jpg","text":"TemporaryFile(/tmp/multipartBody6640625320006766262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533208217,"filename":"image_09052026_00_34_06_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906191","file1":"1416906188","file0":"1416906184","file4":"1416906195","file5":"1416906198","file3":"1416906193"},"map_files_photo_id_array":[{"photo_id":"1416906198","filename":"file5"},{"photo_id":"1416906191","filename":"file2"},{"photo_id":"1416906195","filename":"file4"},{"photo_id":"1416906188","filename":"file1"},{"photo_id":"1416906184","filename":"file0"},{"photo_id":"1416906193","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906184":["hashtag1","hashtag2"]},{"1416906195":["hashtag1","hashtag2"]},{"1416906198":["hashtag1","hashtag2"]},{"1416906191":["hashtag1","hashtag2"]},{"1416906188":["hashtag1","hashtag2"]},{"1416906193":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906184, 1416906195, 1416906198, 1416906191, 1416906188, 1416906193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2885046005249 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:00:03.587710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/55/image_11052026_22_56_13_29243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/55/image_11052026_22_56_13_29243.jpg
2026-05-11 23:00:03.694260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/55/image_11052026_22_56_13_29243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/55/image_11052026_22_56_13_29243.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8487565517425537 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906201"],"photo_id":"1416906201","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42bc9be0f23cccc59aa9cdb5d99af6bf.jpg","text":"TemporaryFile(/tmp/multipartBody3423738857525076829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533264825,"filename":"image_11052026_22_56_13_29243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906201"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906201"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.613914251327515 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:01:04.549902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/59/image_11052026_22_59_44_30325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/59/image_11052026_22_59_44_30325.jpg
2026-05-11 23:01:04.671027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/59/image_11052026_22_59_44_30325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/59/image_11052026_22_59_44_30325.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8773946762084961 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906202"],"photo_id":"1416906202","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/525dbf18765633a91b34d421dbb9a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7954968977288341181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533325813,"filename":"image_11052026_22_59_44_30325.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906202"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906202"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.70261836051941 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:02:03.666167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/22/42/image_09052026_22_42_35_30304.jpg', '/home/pi/Desktop/images/09052026/22/37/image_09052026_22_37_34_30179.jpg', '/home/pi/Desktop/images/09052026/22/36/image_09052026_22_36_35_30275.jpg', '/home/pi/Desktop/images/09052026/22/35/image_09052026_22_36_05_30369.jpg', '/home/pi/Desktop/images/09052026/22/35/image_09052026_22_35_34_30301.jpg', '/home/pi/Desktop/images/09052026/22/33/image_09052026_22_34_05_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/22/42/image_09052026_22_42_35_30304.jpg
/home/pi/Desktop/images/09052026/22/37/image_09052026_22_37_34_30179.jpg
/home/pi/Desktop/images/09052026/22/36/image_09052026_22_36_35_30275.jpg
/home/pi/Desktop/images/09052026/22/35/image_09052026_22_36_05_30369.jpg
/home/pi/Desktop/images/09052026/22/35/image_09052026_22_35_34_30301.jpg
/home/pi/Desktop/images/09052026/22/33/image_09052026_22_34_05_30324.jpg
2026-05-11 23:02:03.763030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/38/image_09052026_00_39_06_30341.jpg', '/home/pi/Desktop/images/09052026/00/39/image_09052026_00_39_35_29182.jpg', '/home/pi/Desktop/images/09052026/00/44/image_09052026_00_45_05_30208.jpg', '/home/pi/Desktop/images/09052026/00/46/image_09052026_00_47_06_30318.jpg', '/home/pi/Desktop/images/09052026/00/47/image_09052026_00_47_35_29250.jpg', '/home/pi/Desktop/images/09052026/00/48/image_09052026_00_48_36_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/38/image_09052026_00_39_06_30341.jpg
/home/pi/Desktop/images/09052026/00/39/image_09052026_00_39_35_29182.jpg
/home/pi/Desktop/images/09052026/00/44/image_09052026_00_45_05_30208.jpg
/home/pi/Desktop/images/09052026/00/46/image_09052026_00_47_06_30318.jpg
/home/pi/Desktop/images/09052026/00/47/image_09052026_00_47_35_29250.jpg
/home/pi/Desktop/images/09052026/00/48/image_09052026_00_48_36_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906574","1416906568","1416906576","1416906570","1416906578","1416906572"],"photo_ids_order":["1416906568","1416906570","1416906572","1416906574","1416906576","1416906578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2e028bcd19470308e3c644e4f1528e6.jpg","text":"TemporaryFile(/tmp/multipartBody1275538811962052865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_36_05_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8dbec0b6e62978746aa1fd302ab97f59.jpg","text":"TemporaryFile(/tmp/multipartBody7316661044445371970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_42_35_30304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e471eb78b0fbfaee18995e4c91fce363.jpg","text":"TemporaryFile(/tmp/multipartBody1704109714960409255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_35_34_30301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b9e55922412dde1a2d422685fa997ad.jpg","text":"TemporaryFile(/tmp/multipartBody7436623399859828205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_37_34_30179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87c890001c4d4d8bdb155da1942a474b.jpg","text":"TemporaryFile(/tmp/multipartBody6746967214834840328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_34_05_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b09faf7581f909ef0d09c78abdd5547.jpg","text":"TemporaryFile(/tmp/multipartBody649053064928081807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386698,"filename":"image_09052026_22_36_35_30275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906572","file1":"1416906570","file0":"1416906568","file4":"1416906576","file5":"1416906578","file3":"1416906574"},"map_files_photo_id_array":[{"photo_id":"1416906578","filename":"file5"},{"photo_id":"1416906572","filename":"file2"},{"photo_id":"1416906576","filename":"file4"},{"photo_id":"1416906570","filename":"file1"},{"photo_id":"1416906568","filename":"file0"},{"photo_id":"1416906574","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906574":["hashtag1","hashtag2"]},{"1416906568":["hashtag1","hashtag2"]},{"1416906576":["hashtag1","hashtag2"]},{"1416906570":["hashtag1","hashtag2"]},{"1416906578":["hashtag1","hashtag2"]},{"1416906572":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906574, 1416906568, 1416906576, 1416906570, 1416906578, 1416906572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.664021730422974 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906571","1416906577","1416906579","1416906573","1416906575","1416906569"],"photo_ids_order":["1416906569","1416906571","1416906573","1416906575","1416906577","1416906579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d231cf82538c0c7fe3e28b4921bd7566.jpg","text":"TemporaryFile(/tmp/multipartBody1109148369043293386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_39_35_29182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4bc170bda0734c8305504d77e80c14cb.jpg","text":"TemporaryFile(/tmp/multipartBody2393686887468867509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_47_35_29250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2c998019ac81f565e3a06f6be13af85e.jpg","text":"TemporaryFile(/tmp/multipartBody4289849721984977449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_48_36_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5cb66c765222d4da8c4db834c6df803d.jpg","text":"TemporaryFile(/tmp/multipartBody5342442998263159910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_45_05_30208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2a5b404c974c36cbf797cdc2fc75b88e.jpg","text":"TemporaryFile(/tmp/multipartBody345638458759016031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_47_06_30318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c91b91b9c1f1bb71bee6b36c7c29f696.jpg","text":"TemporaryFile(/tmp/multipartBody2331125560731614675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533386948,"filename":"image_09052026_00_39_06_30341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906573","file1":"1416906571","file0":"1416906569","file4":"1416906577","file5":"1416906579","file3":"1416906575"},"map_files_photo_id_array":[{"photo_id":"1416906579","filename":"file5"},{"photo_id":"1416906573","filename":"file2"},{"photo_id":"1416906577","filename":"file4"},{"photo_id":"1416906571","filename":"file1"},{"photo_id":"1416906569","filename":"file0"},{"photo_id":"1416906575","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906571":["hashtag1","hashtag2"]},{"1416906577":["hashtag1","hashtag2"]},{"1416906579":["hashtag1","hashtag2"]},{"1416906573":["hashtag1","hashtag2"]},{"1416906575":["hashtag1","hashtag2"]},{"1416906569":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906571, 1416906577, 1416906579, 1416906573, 1416906575, 1416906569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14122247695923 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:03:04.589448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/22/33/image_09052026_22_33_34_30286.jpg', '/home/pi/Desktop/images/09052026/22/29/image_09052026_22_30_05_30299.jpg', '/home/pi/Desktop/images/09052026/22/27/image_09052026_22_28_05_30365.jpg', '/home/pi/Desktop/images/09052026/22/26/image_09052026_22_27_04_29140.jpg', '/home/pi/Desktop/images/09052026/22/24/image_09052026_22_25_05_30397.jpg', '/home/pi/Desktop/images/09052026/22/24/image_09052026_22_24_34_30154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/22/33/image_09052026_22_33_34_30286.jpg
/home/pi/Desktop/images/09052026/22/29/image_09052026_22_30_05_30299.jpg
/home/pi/Desktop/images/09052026/22/27/image_09052026_22_28_05_30365.jpg
/home/pi/Desktop/images/09052026/22/26/image_09052026_22_27_04_29140.jpg
/home/pi/Desktop/images/09052026/22/24/image_09052026_22_25_05_30397.jpg
/home/pi/Desktop/images/09052026/22/24/image_09052026_22_24_34_30154.jpg
2026-05-11 23:03:04.855535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/48/image_09052026_00_49_05_29214.jpg', '/home/pi/Desktop/images/09052026/00/49/image_09052026_00_50_06_30352.jpg', '/home/pi/Desktop/images/09052026/00/50/image_09052026_00_51_05_30187.jpg', '/home/pi/Desktop/images/09052026/00/51/image_09052026_00_51_35_30307.jpg', '/home/pi/Desktop/images/09052026/00/51/image_09052026_00_52_06_30286.jpg', '/home/pi/Desktop/images/09052026/00/52/image_09052026_00_52_35_29242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/48/image_09052026_00_49_05_29214.jpg
/home/pi/Desktop/images/09052026/00/49/image_09052026_00_50_06_30352.jpg
/home/pi/Desktop/images/09052026/00/50/image_09052026_00_51_05_30187.jpg
/home/pi/Desktop/images/09052026/00/51/image_09052026_00_51_35_30307.jpg
/home/pi/Desktop/images/09052026/00/51/image_09052026_00_52_06_30286.jpg
/home/pi/Desktop/images/09052026/00/52/image_09052026_00_52_35_29242.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.1160929203033447 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906589","1416906580","1416906583","1416906585","1416906587","1416906581"],"photo_ids_order":["1416906580","1416906581","1416906583","1416906585","1416906587","1416906589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bbb1495df4372b0385989a4295fb8be4.jpg","text":"TemporaryFile(/tmp/multipartBody8492392117017520768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_52_35_29242.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84b39f0454cd29e670fa94d03a223908.jpg","text":"TemporaryFile(/tmp/multipartBody3321188144935458163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_49_05_29214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab88cf900a199b5f1730434d90c630c8.jpg","text":"TemporaryFile(/tmp/multipartBody8445512388328856501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_51_05_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/87e35be73629a5f2ced38ccaa6be2b91.jpg","text":"TemporaryFile(/tmp/multipartBody2539567525456703195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_51_35_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3a7e525f083d9fbdb5c7a05bc1f8f17c.jpg","text":"TemporaryFile(/tmp/multipartBody5815484058292828817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_52_06_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d822684836272f0e4eb7b370951184a.jpg","text":"TemporaryFile(/tmp/multipartBody2705714819649977300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533448094,"filename":"image_09052026_00_50_06_30352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906583","file1":"1416906581","file0":"1416906580","file4":"1416906587","file5":"1416906589","file3":"1416906585"},"map_files_photo_id_array":[{"photo_id":"1416906589","filename":"file5"},{"photo_id":"1416906583","filename":"file2"},{"photo_id":"1416906587","filename":"file4"},{"photo_id":"1416906581","filename":"file1"},{"photo_id":"1416906580","filename":"file0"},{"photo_id":"1416906585","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906589":["hashtag1","hashtag2"]},{"1416906580":["hashtag1","hashtag2"]},{"1416906583":["hashtag1","hashtag2"]},{"1416906585":["hashtag1","hashtag2"]},{"1416906587":["hashtag1","hashtag2"]},{"1416906581":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906589, 1416906580, 1416906583, 1416906585, 1416906587, 1416906581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52730965614319 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:04:03.746023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/22/33/image_09052026_22_33_34_30286.jpg', '/home/pi/Desktop/images/09052026/22/29/image_09052026_22_30_05_30299.jpg', '/home/pi/Desktop/images/09052026/22/27/image_09052026_22_28_05_30365.jpg', '/home/pi/Desktop/images/09052026/22/26/image_09052026_22_27_04_29140.jpg', '/home/pi/Desktop/images/09052026/22/24/image_09052026_22_25_05_30397.jpg', '/home/pi/Desktop/images/09052026/22/24/image_09052026_22_24_34_30154.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/22/33/image_09052026_22_33_34_30286.jpg
/home/pi/Desktop/images/09052026/22/29/image_09052026_22_30_05_30299.jpg
/home/pi/Desktop/images/09052026/22/27/image_09052026_22_28_05_30365.jpg
/home/pi/Desktop/images/09052026/22/26/image_09052026_22_27_04_29140.jpg
/home/pi/Desktop/images/09052026/22/24/image_09052026_22_25_05_30397.jpg
/home/pi/Desktop/images/09052026/22/24/image_09052026_22_24_34_30154.jpg
2026-05-11 23:04:04.056766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/52/image_09052026_00_53_05_30194.jpg', '/home/pi/Desktop/images/09052026/00/53/image_09052026_00_53_35_30252.jpg', '/home/pi/Desktop/images/09052026/00/53/image_09052026_00_54_06_30319.jpg', '/home/pi/Desktop/images/09052026/00/54/image_09052026_00_55_05_30206.jpg', '/home/pi/Desktop/images/09052026/00/55/image_09052026_00_56_06_30299.jpg', '/home/pi/Desktop/images/09052026/00/59/image_09052026_00_59_35_29211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/52/image_09052026_00_53_05_30194.jpg
/home/pi/Desktop/images/09052026/00/53/image_09052026_00_53_35_30252.jpg
/home/pi/Desktop/images/09052026/00/53/image_09052026_00_54_06_30319.jpg
/home/pi/Desktop/images/09052026/00/54/image_09052026_00_55_05_30206.jpg
/home/pi/Desktop/images/09052026/00/55/image_09052026_00_56_06_30299.jpg
/home/pi/Desktop/images/09052026/00/59/image_09052026_00_59_35_29211.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906595","1416906597","1416906601","1416906591","1416906593","1416906599"],"photo_ids_order":["1416906591","1416906593","1416906595","1416906597","1416906599","1416906601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/62e7f19b3bf3f2f52d593beb7225b7c0.jpg","text":"TemporaryFile(/tmp/multipartBody900096574485252066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_28_05_30365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2943926f50c465cad1f308bb3416683.jpg","text":"TemporaryFile(/tmp/multipartBody9125521567319191029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_27_04_29140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e8041367cc1ceabbec69a5b516e3eda4.jpg","text":"TemporaryFile(/tmp/multipartBody8647451052541427493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_24_34_30154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5bf2e23d9db02462a4ac17a240fb9ea3.jpg","text":"TemporaryFile(/tmp/multipartBody73722181745254477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_33_34_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ded9297214968ced232db29ef0ccc0be.jpg","text":"TemporaryFile(/tmp/multipartBody2213665406985615315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_30_05_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8614c1a8a064ce4cf74732ea315d635.jpg","text":"TemporaryFile(/tmp/multipartBody4369777822690167032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506076,"filename":"image_09052026_22_25_05_30397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906595","file1":"1416906593","file0":"1416906591","file4":"1416906599","file5":"1416906601","file3":"1416906597"},"map_files_photo_id_array":[{"photo_id":"1416906601","filename":"file5"},{"photo_id":"1416906595","filename":"file2"},{"photo_id":"1416906599","filename":"file4"},{"photo_id":"1416906593","filename":"file1"},{"photo_id":"1416906591","filename":"file0"},{"photo_id":"1416906597","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906595":["hashtag1","hashtag2"]},{"1416906597":["hashtag1","hashtag2"]},{"1416906601":["hashtag1","hashtag2"]},{"1416906591":["hashtag1","hashtag2"]},{"1416906593":["hashtag1","hashtag2"]},{"1416906599":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906595, 1416906597, 1416906601, 1416906591, 1416906593, 1416906599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.421142578125 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906602","1416906592","1416906594","1416906600","1416906596","1416906598"],"photo_ids_order":["1416906592","1416906594","1416906596","1416906598","1416906600","1416906602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af98359a92e1a26a29d1ba004702f7c0.jpg","text":"TemporaryFile(/tmp/multipartBody558551087766727031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_59_35_29211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b96f2fe066999089f40e8bb3bac9a049.jpg","text":"TemporaryFile(/tmp/multipartBody1660231278663456554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_53_05_30194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df74ef00a4f471d0d71b9a7f654e2e94.jpg","text":"TemporaryFile(/tmp/multipartBody4373796021625038940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_53_35_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fb0fbb93dd672623f54c0878b1a94cb9.jpg","text":"TemporaryFile(/tmp/multipartBody9037134393758010784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_56_06_30299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0903b66bfb95e036f779fac56ed915e3.jpg","text":"TemporaryFile(/tmp/multipartBody4219458932442628091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_54_06_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2af1a973f0a8467cbe1fb5bdea6671a.jpg","text":"TemporaryFile(/tmp/multipartBody1232981225565432975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533506859,"filename":"image_09052026_00_55_05_30206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906596","file1":"1416906594","file0":"1416906592","file4":"1416906600","file5":"1416906602","file3":"1416906598"},"map_files_photo_id_array":[{"photo_id":"1416906602","filename":"file5"},{"photo_id":"1416906596","filename":"file2"},{"photo_id":"1416906600","filename":"file4"},{"photo_id":"1416906594","filename":"file1"},{"photo_id":"1416906592","filename":"file0"},{"photo_id":"1416906598","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906602":["hashtag1","hashtag2"]},{"1416906592":["hashtag1","hashtag2"]},{"1416906594":["hashtag1","hashtag2"]},{"1416906600":["hashtag1","hashtag2"]},{"1416906596":["hashtag1","hashtag2"]},{"1416906598":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906602, 1416906592, 1416906594, 1416906600, 1416906596, 1416906598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.016754150390625 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:05:04.246599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/22/21/image_09052026_22_22_04_29243.jpg', '/home/pi/Desktop/images/09052026/22/21/image_09052026_22_21_35_30418.jpg', '/home/pi/Desktop/images/09052026/22/17/image_09052026_22_17_34_29245.jpg', '/home/pi/Desktop/images/09052026/22/16/image_09052026_22_17_05_30211.jpg', '/home/pi/Desktop/images/09052026/22/09/image_09052026_22_09_34_29310.jpg', '/home/pi/Desktop/images/09052026/22/04/image_09052026_22_04_34_29278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/22/21/image_09052026_22_22_04_29243.jpg
/home/pi/Desktop/images/09052026/22/21/image_09052026_22_21_35_30418.jpg
/home/pi/Desktop/images/09052026/22/17/image_09052026_22_17_34_29245.jpg
/home/pi/Desktop/images/09052026/22/16/image_09052026_22_17_05_30211.jpg
/home/pi/Desktop/images/09052026/22/09/image_09052026_22_09_34_29310.jpg
/home/pi/Desktop/images/09052026/22/04/image_09052026_22_04_34_29278.jpg
2026-05-11 23:05:04.599242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/59/image_09052026_01_00_05_30315.jpg', '/home/pi/Desktop/images/09052026/01/00/image_09052026_01_00_35_30275.jpg', '/home/pi/Desktop/images/09052026/01/05/image_09052026_01_06_06_30465.jpg', '/home/pi/Desktop/images/09052026/01/06/image_09052026_01_06_35_29226.jpg', '/home/pi/Desktop/images/09052026/01/07/image_09052026_01_07_36_30344.jpg', '/home/pi/Desktop/images/09052026/01/07/image_09052026_01_08_05_29367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/59/image_09052026_01_00_05_30315.jpg
/home/pi/Desktop/images/09052026/01/00/image_09052026_01_00_35_30275.jpg
/home/pi/Desktop/images/09052026/01/05/image_09052026_01_06_06_30465.jpg
/home/pi/Desktop/images/09052026/01/06/image_09052026_01_06_35_29226.jpg
/home/pi/Desktop/images/09052026/01/07/image_09052026_01_07_36_30344.jpg
/home/pi/Desktop/images/09052026/01/07/image_09052026_01_08_05_29367.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.622622489929199 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906616","1416906613","1416906603","1416906611","1416906605","1416906608"],"photo_ids_order":["1416906603","1416906605","1416906608","1416906611","1416906613","1416906616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ff34a2e44bfae2d146403e137119c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4463073463851737361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_04_34_29278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b3108e2b98d5e6177ab875bc79a67cf8.jpg","text":"TemporaryFile(/tmp/multipartBody6524991099284148844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_09_34_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3cfca3b2252eaeb1cec595fa58606304.jpg","text":"TemporaryFile(/tmp/multipartBody5730214801298140193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_22_04_29243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/74d5f94bf5602de562b6489bcc751afd.jpg","text":"TemporaryFile(/tmp/multipartBody7157957231714947629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_17_05_30211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7b11da2a5b3ab4d7233cbcfd022971de.jpg","text":"TemporaryFile(/tmp/multipartBody4218176505757155136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_21_35_30418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e3131186d5cd9d4f37c5defac534b96a.jpg","text":"TemporaryFile(/tmp/multipartBody6048226443543319933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533567646,"filename":"image_09052026_22_17_34_29245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906608","file1":"1416906605","file0":"1416906603","file4":"1416906613","file5":"1416906616","file3":"1416906611"},"map_files_photo_id_array":[{"photo_id":"1416906616","filename":"file5"},{"photo_id":"1416906608","filename":"file2"},{"photo_id":"1416906613","filename":"file4"},{"photo_id":"1416906605","filename":"file1"},{"photo_id":"1416906603","filename":"file0"},{"photo_id":"1416906611","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906616":["hashtag1","hashtag2"]},{"1416906613":["hashtag1","hashtag2"]},{"1416906603":["hashtag1","hashtag2"]},{"1416906611":["hashtag1","hashtag2"]},{"1416906605":["hashtag1","hashtag2"]},{"1416906608":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906616, 1416906613, 1416906603, 1416906611, 1416906605, 1416906608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.539247274398804 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:06:03.510853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/58/image_09052026_21_58_34_30276.jpg', '/home/pi/Desktop/images/09052026/21/56/image_09052026_21_57_05_30244.jpg', '/home/pi/Desktop/images/09052026/21/55/image_09052026_21_56_04_29219.jpg', '/home/pi/Desktop/images/09052026/21/54/image_09052026_21_55_05_30361.jpg', '/home/pi/Desktop/images/09052026/21/51/image_09052026_21_52_05_30405.jpg', '/home/pi/Desktop/images/09052026/21/51/image_09052026_21_51_34_29333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/58/image_09052026_21_58_34_30276.jpg
/home/pi/Desktop/images/09052026/21/56/image_09052026_21_57_05_30244.jpg
/home/pi/Desktop/images/09052026/21/55/image_09052026_21_56_04_29219.jpg
/home/pi/Desktop/images/09052026/21/54/image_09052026_21_55_05_30361.jpg
/home/pi/Desktop/images/09052026/21/51/image_09052026_21_52_05_30405.jpg
/home/pi/Desktop/images/09052026/21/51/image_09052026_21_51_34_29333.jpg
2026-05-11 23:06:03.596857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/00/59/image_09052026_01_00_05_30315.jpg', '/home/pi/Desktop/images/09052026/01/00/image_09052026_01_00_35_30275.jpg', '/home/pi/Desktop/images/09052026/01/05/image_09052026_01_06_06_30465.jpg', '/home/pi/Desktop/images/09052026/01/06/image_09052026_01_06_35_29226.jpg', '/home/pi/Desktop/images/09052026/01/07/image_09052026_01_07_36_30344.jpg', '/home/pi/Desktop/images/09052026/01/07/image_09052026_01_08_05_29367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/00/59/image_09052026_01_00_05_30315.jpg
/home/pi/Desktop/images/09052026/01/00/image_09052026_01_00_35_30275.jpg
/home/pi/Desktop/images/09052026/01/05/image_09052026_01_06_06_30465.jpg
/home/pi/Desktop/images/09052026/01/06/image_09052026_01_06_35_29226.jpg
/home/pi/Desktop/images/09052026/01/07/image_09052026_01_07_36_30344.jpg
/home/pi/Desktop/images/09052026/01/07/image_09052026_01_08_05_29367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906622","1416906631","1416906624","1416906626","1416906629","1416906620"],"photo_ids_order":["1416906620","1416906622","1416906624","1416906626","1416906629","1416906631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b9df45f762bf963e26a384b61214cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7338998856557134539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_00_35_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d092fc05b9e6dea10dfda12c454f66d3.jpg","text":"TemporaryFile(/tmp/multipartBody6107132142686626056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_08_05_29367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/211f83795bad1707e7acfcffdef8e826.jpg","text":"TemporaryFile(/tmp/multipartBody6912797748255690835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_06_06_30465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/28857d1bf7cc8cc2f6c6249ca045edd6.jpg","text":"TemporaryFile(/tmp/multipartBody8513179624983069374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_06_35_29226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/56dfd24a29fe6bf4fa3472788617ee67.jpg","text":"TemporaryFile(/tmp/multipartBody7208528811461114606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_07_36_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a43658b9bc6ae46d7a8cb765feb56e72.jpg","text":"TemporaryFile(/tmp/multipartBody4895749001431221653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533625855,"filename":"image_09052026_01_00_05_30315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906624","file1":"1416906622","file0":"1416906620","file4":"1416906629","file5":"1416906631","file3":"1416906626"},"map_files_photo_id_array":[{"photo_id":"1416906631","filename":"file5"},{"photo_id":"1416906624","filename":"file2"},{"photo_id":"1416906629","filename":"file4"},{"photo_id":"1416906622","filename":"file1"},{"photo_id":"1416906620","filename":"file0"},{"photo_id":"1416906626","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906622":["hashtag1","hashtag2"]},{"1416906631":["hashtag1","hashtag2"]},{"1416906624":["hashtag1","hashtag2"]},{"1416906626":["hashtag1","hashtag2"]},{"1416906629":["hashtag1","hashtag2"]},{"1416906620":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906622, 1416906631, 1416906624, 1416906626, 1416906629, 1416906620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75924324989319 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906628","1416906625","1416906630","1416906627","1416906621","1416906623"],"photo_ids_order":["1416906621","1416906623","1416906625","1416906627","1416906628","1416906630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/95c1e03a9bf01f4cbf36f25a79c1fa31.jpg","text":"TemporaryFile(/tmp/multipartBody5885172015152397660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_52_05_30405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/901761513a4710271e6857ced2ce040c.jpg","text":"TemporaryFile(/tmp/multipartBody8361818894001606385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_56_04_29219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/865b551c14d45f1af226d7c3fdd70ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3452697441503235646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_51_34_29333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/90210ad095d570268b1f66ae6c7e4062.jpg","text":"TemporaryFile(/tmp/multipartBody4374470155613409184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_55_05_30361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df0872d4607ef4197de40d56466de98c.jpg","text":"TemporaryFile(/tmp/multipartBody2358022475558473685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_58_34_30276.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a9b2ca5423ed36947f4a3fbfe2752ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5643691472851836617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533626652,"filename":"image_09052026_21_57_05_30244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906625","file1":"1416906623","file0":"1416906621","file4":"1416906628","file5":"1416906630","file3":"1416906627"},"map_files_photo_id_array":[{"photo_id":"1416906630","filename":"file5"},{"photo_id":"1416906625","filename":"file2"},{"photo_id":"1416906628","filename":"file4"},{"photo_id":"1416906623","filename":"file1"},{"photo_id":"1416906621","filename":"file0"},{"photo_id":"1416906627","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906628":["hashtag1","hashtag2"]},{"1416906625":["hashtag1","hashtag2"]},{"1416906630":["hashtag1","hashtag2"]},{"1416906627":["hashtag1","hashtag2"]},{"1416906621":["hashtag1","hashtag2"]},{"1416906623":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906628, 1416906625, 1416906630, 1416906627, 1416906621, 1416906623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06252098083496 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:07:04.306607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/50/image_09052026_21_51_05_30171.jpg', '/home/pi/Desktop/images/09052026/21/49/image_09052026_21_50_05_30324.jpg', '/home/pi/Desktop/images/09052026/21/49/image_09052026_21_49_34_30279.jpg', '/home/pi/Desktop/images/09052026/21/45/image_09052026_21_45_34_30284.jpg', '/home/pi/Desktop/images/09052026/21/44/image_09052026_21_44_35_30300.jpg', '/home/pi/Desktop/images/09052026/21/43/image_09052026_21_43_34_29220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/50/image_09052026_21_51_05_30171.jpg
/home/pi/Desktop/images/09052026/21/49/image_09052026_21_50_05_30324.jpg
/home/pi/Desktop/images/09052026/21/49/image_09052026_21_49_34_30279.jpg
/home/pi/Desktop/images/09052026/21/45/image_09052026_21_45_34_30284.jpg
/home/pi/Desktop/images/09052026/21/44/image_09052026_21_44_35_30300.jpg
/home/pi/Desktop/images/09052026/21/43/image_09052026_21_43_34_29220.jpg
2026-05-11 23:07:04.697279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/08/image_09052026_01_08_35_30329.jpg', '/home/pi/Desktop/images/09052026/01/08/image_09052026_01_09_06_30234.jpg', '/home/pi/Desktop/images/09052026/01/09/image_09052026_01_09_35_29284.jpg', '/home/pi/Desktop/images/09052026/01/09/image_09052026_01_10_05_30281.jpg', '/home/pi/Desktop/images/09052026/01/10/image_09052026_01_10_35_30206.jpg', '/home/pi/Desktop/images/09052026/01/10/image_09052026_01_11_06_30309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/08/image_09052026_01_08_35_30329.jpg
/home/pi/Desktop/images/09052026/01/08/image_09052026_01_09_06_30234.jpg
/home/pi/Desktop/images/09052026/01/09/image_09052026_01_09_35_29284.jpg
/home/pi/Desktop/images/09052026/01/09/image_09052026_01_10_05_30281.jpg
/home/pi/Desktop/images/09052026/01/10/image_09052026_01_10_35_30206.jpg
/home/pi/Desktop/images/09052026/01/10/image_09052026_01_11_06_30309.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.844956159591675 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906637","1416906639","1416906633","1416906641","1416906632","1416906635"],"photo_ids_order":["1416906632","1416906633","1416906635","1416906637","1416906639","1416906641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f4351b34be99eabc571beb3f97a1cde.jpg","text":"TemporaryFile(/tmp/multipartBody4623888555917266001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_45_34_30284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3ad7728bef610d22ad97d9c44dc1466b.jpg","text":"TemporaryFile(/tmp/multipartBody716044717794902966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_44_35_30300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a79c942ad1ce75508caf0841ccc0a453.jpg","text":"TemporaryFile(/tmp/multipartBody8054710949993152262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_50_05_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b50a872b61663453484d830d117ce600.jpg","text":"TemporaryFile(/tmp/multipartBody731966792463746799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_43_34_29220.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/784509235a1e6487006dc24bb6ee045a.jpg","text":"TemporaryFile(/tmp/multipartBody7744666665604983939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_51_05_30171.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2b7cec8f95a25d4984a5b9edad05fba4.jpg","text":"TemporaryFile(/tmp/multipartBody7017840475079682182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533687704,"filename":"image_09052026_21_49_34_30279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906635","file1":"1416906633","file0":"1416906632","file4":"1416906639","file5":"1416906641","file3":"1416906637"},"map_files_photo_id_array":[{"photo_id":"1416906641","filename":"file5"},{"photo_id":"1416906635","filename":"file2"},{"photo_id":"1416906639","filename":"file4"},{"photo_id":"1416906633","filename":"file1"},{"photo_id":"1416906632","filename":"file0"},{"photo_id":"1416906637","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906637":["hashtag1","hashtag2"]},{"1416906639":["hashtag1","hashtag2"]},{"1416906633":["hashtag1","hashtag2"]},{"1416906641":["hashtag1","hashtag2"]},{"1416906632":["hashtag1","hashtag2"]},{"1416906635":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906637, 1416906639, 1416906633, 1416906641, 1416906632, 1416906635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76651120185852 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:08:04.005047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/22/59/image_11052026_23_00_14_29249.jpg', '/home/pi/Desktop/images/11052026/23/06/image_11052026_23_07_14_29335.jpg', '/home/pi/Desktop/images/11052026/23/07/image_11052026_23_07_44_30344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/22/59/image_11052026_23_00_14_29249.jpg
/home/pi/Desktop/images/11052026/23/06/image_11052026_23_07_14_29335.jpg
/home/pi/Desktop/images/11052026/23/07/image_11052026_23_07_44_30344.jpg
2026-05-11 23:08:04.011995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/07/image_11052026_23_07_44_30344.jpg', '/home/pi/Desktop/images/11052026/23/06/image_11052026_23_07_14_29335.jpg', '/home/pi/Desktop/images/11052026/22/59/image_11052026_23_00_14_29249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/07/image_11052026_23_07_44_30344.jpg
/home/pi/Desktop/images/11052026/23/06/image_11052026_23_07_14_29335.jpg
/home/pi/Desktop/images/11052026/22/59/image_11052026_23_00_14_29249.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906643","1416906645","1416906647"],"photo_ids_order":["1416906643","1416906645","1416906647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5ddacb25a40436db0bfc369a87c34b99.jpg","text":"TemporaryFile(/tmp/multipartBody1076196125540990961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533745930,"filename":"image_11052026_23_07_44_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7dc3938fdfaaeae3a7a37af20a0ff9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1015289414316862500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533745930,"filename":"image_11052026_23_07_14_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/403406a118376722524743d096babbea.jpg","text":"TemporaryFile(/tmp/multipartBody387868196677997867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533745930,"filename":"image_11052026_23_00_14_29249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906647","file1":"1416906645","file0":"1416906643"},"map_files_photo_id_array":[{"photo_id":"1416906647","filename":"file2"},{"photo_id":"1416906645","filename":"file1"},{"photo_id":"1416906643","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906643":["hashtag1","hashtag2"]},{"1416906645":["hashtag1","hashtag2"]},{"1416906647":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906643, 1416906645, 1416906647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.38838219642639 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906646","1416906648","1416906644"],"photo_ids_order":["1416906644","1416906646","1416906648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/799ae14751e5cd7b0936ffa7b9c962ca.jpg","text":"TemporaryFile(/tmp/multipartBody5550959036603126289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533746091,"filename":"image_11052026_23_07_14_29335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f5fdb1ee06fe05e960eebc37fee64dbb.jpg","text":"TemporaryFile(/tmp/multipartBody8889446403196254847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533746091,"filename":"image_11052026_23_07_44_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/55296e962cffb9f937d46a7a3f25a2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4238735136800601022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533746091,"filename":"image_11052026_23_00_14_29249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906648","file1":"1416906646","file0":"1416906644"},"map_files_photo_id_array":[{"photo_id":"1416906648","filename":"file2"},{"photo_id":"1416906646","filename":"file1"},{"photo_id":"1416906644","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906646":["hashtag1","hashtag2"]},{"1416906648":["hashtag1","hashtag2"]},{"1416906644":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906646, 1416906648, 1416906644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.016188144683838 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:09:04.350510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/42/image_09052026_21_43_05_30165.jpg', '/home/pi/Desktop/images/09052026/21/40/image_09052026_21_40_35_30204.jpg', '/home/pi/Desktop/images/09052026/21/38/image_09052026_21_39_04_29211.jpg', '/home/pi/Desktop/images/09052026/21/37/image_09052026_21_38_05_30290.jpg', '/home/pi/Desktop/images/09052026/21/35/image_09052026_21_35_34_30373.jpg', '/home/pi/Desktop/images/09052026/21/33/image_09052026_21_33_34_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/42/image_09052026_21_43_05_30165.jpg
/home/pi/Desktop/images/09052026/21/40/image_09052026_21_40_35_30204.jpg
/home/pi/Desktop/images/09052026/21/38/image_09052026_21_39_04_29211.jpg
/home/pi/Desktop/images/09052026/21/37/image_09052026_21_38_05_30290.jpg
/home/pi/Desktop/images/09052026/21/35/image_09052026_21_35_34_30373.jpg
/home/pi/Desktop/images/09052026/21/33/image_09052026_21_33_34_30255.jpg
2026-05-11 23:09:04.533952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/08/image_09052026_01_08_35_30329.jpg', '/home/pi/Desktop/images/09052026/01/08/image_09052026_01_09_06_30234.jpg', '/home/pi/Desktop/images/09052026/01/09/image_09052026_01_09_35_29284.jpg', '/home/pi/Desktop/images/09052026/01/09/image_09052026_01_10_05_30281.jpg', '/home/pi/Desktop/images/09052026/01/10/image_09052026_01_10_35_30206.jpg', '/home/pi/Desktop/images/09052026/01/10/image_09052026_01_11_06_30309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/08/image_09052026_01_08_35_30329.jpg
/home/pi/Desktop/images/09052026/01/08/image_09052026_01_09_06_30234.jpg
/home/pi/Desktop/images/09052026/01/09/image_09052026_01_09_35_29284.jpg
/home/pi/Desktop/images/09052026/01/09/image_09052026_01_10_05_30281.jpg
/home/pi/Desktop/images/09052026/01/10/image_09052026_01_10_35_30206.jpg
/home/pi/Desktop/images/09052026/01/10/image_09052026_01_11_06_30309.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9524881839752197 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906652","1416906649","1416906658","1416906654","1416906656","1416906650"],"photo_ids_order":["1416906649","1416906650","1416906652","1416906654","1416906656","1416906658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfa989126030c2c88bcb20e980784850.jpg","text":"TemporaryFile(/tmp/multipartBody5517952205792131380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_09_35_29284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1b468bafa189cbf12d4824403db218f0.jpg","text":"TemporaryFile(/tmp/multipartBody4812654752022201856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_08_35_30329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c3edfbade9ae85869d7068869697a67.jpg","text":"TemporaryFile(/tmp/multipartBody6745051270439177916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_11_06_30309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/59bea7aa893abe335929ab981d68d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5098613282263462984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_10_05_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5d35148cbeda064d39b687b5db0816a6.jpg","text":"TemporaryFile(/tmp/multipartBody5924663101168582329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_10_35_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0f87003cfb81f52b6245d44f79d0ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody8735664250283629014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533807613,"filename":"image_09052026_01_09_06_30234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906652","file1":"1416906650","file0":"1416906649","file4":"1416906656","file5":"1416906658","file3":"1416906654"},"map_files_photo_id_array":[{"photo_id":"1416906658","filename":"file5"},{"photo_id":"1416906652","filename":"file2"},{"photo_id":"1416906656","filename":"file4"},{"photo_id":"1416906650","filename":"file1"},{"photo_id":"1416906649","filename":"file0"},{"photo_id":"1416906654","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906652":["hashtag1","hashtag2"]},{"1416906649":["hashtag1","hashtag2"]},{"1416906658":["hashtag1","hashtag2"]},{"1416906654":["hashtag1","hashtag2"]},{"1416906656":["hashtag1","hashtag2"]},{"1416906650":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906652, 1416906649, 1416906658, 1416906654, 1416906656, 1416906650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5871262550354 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:10:03.374322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/08/image_11052026_23_08_44_29327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/08/image_11052026_23_08_44_29327.jpg
2026-05-11 23:10:03.442234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/08/image_11052026_23_08_44_29327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/08/image_11052026_23_08_44_29327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906660"],"photo_id":"1416906660","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2413f5465d9b08c17a8753c7ad2d1b72.jpg","text":"TemporaryFile(/tmp/multipartBody5734570655976141684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533864676,"filename":"image_11052026_23_08_44_29327.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906660"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906660"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.23482370376587 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906661"],"photo_id":"1416906661","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e6f1b96ca8d762725194875ed445b6df.jpg","text":"TemporaryFile(/tmp/multipartBody6456976945416514732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533864718,"filename":"image_11052026_23_08_44_29327.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906661"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906661"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.720081567764282 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:11:04.260350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/42/image_09052026_21_43_05_30165.jpg', '/home/pi/Desktop/images/09052026/21/40/image_09052026_21_40_35_30204.jpg', '/home/pi/Desktop/images/09052026/21/38/image_09052026_21_39_04_29211.jpg', '/home/pi/Desktop/images/09052026/21/37/image_09052026_21_38_05_30290.jpg', '/home/pi/Desktop/images/09052026/21/35/image_09052026_21_35_34_30373.jpg', '/home/pi/Desktop/images/09052026/21/33/image_09052026_21_33_34_30255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/42/image_09052026_21_43_05_30165.jpg
/home/pi/Desktop/images/09052026/21/40/image_09052026_21_40_35_30204.jpg
/home/pi/Desktop/images/09052026/21/38/image_09052026_21_39_04_29211.jpg
/home/pi/Desktop/images/09052026/21/37/image_09052026_21_38_05_30290.jpg
/home/pi/Desktop/images/09052026/21/35/image_09052026_21_35_34_30373.jpg
/home/pi/Desktop/images/09052026/21/33/image_09052026_21_33_34_30255.jpg
2026-05-11 23:11:04.353127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/11/image_09052026_01_11_35_29108.jpg', '/home/pi/Desktop/images/09052026/01/11/image_09052026_01_12_05_30206.jpg', '/home/pi/Desktop/images/09052026/01/12/image_09052026_01_12_35_30327.jpg', '/home/pi/Desktop/images/09052026/01/12/image_09052026_01_13_06_30295.jpg', '/home/pi/Desktop/images/09052026/01/13/image_09052026_01_13_35_29181.jpg', '/home/pi/Desktop/images/09052026/01/13/image_09052026_01_14_05_30223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/11/image_09052026_01_11_35_29108.jpg
/home/pi/Desktop/images/09052026/01/11/image_09052026_01_12_05_30206.jpg
/home/pi/Desktop/images/09052026/01/12/image_09052026_01_12_35_30327.jpg
/home/pi/Desktop/images/09052026/01/12/image_09052026_01_13_06_30295.jpg
/home/pi/Desktop/images/09052026/01/13/image_09052026_01_13_35_29181.jpg
/home/pi/Desktop/images/09052026/01/13/image_09052026_01_14_05_30223.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.840312957763672 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906667","1416906663","1416906669","1416906662","1416906671","1416906665"],"photo_ids_order":["1416906662","1416906663","1416906665","1416906667","1416906669","1416906671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b7fff1f248896c9f84fe1394403b9d57.jpg","text":"TemporaryFile(/tmp/multipartBody393795402816766122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_38_05_30290.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/617141acfe20e93e04c13059561f5bae.jpg","text":"TemporaryFile(/tmp/multipartBody2709067939619155126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_40_35_30204.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/364c0a992ede74ffa56ab72db20fca50.jpg","text":"TemporaryFile(/tmp/multipartBody4740383590022055046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_35_34_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/562d2f2a793526f897dfdffb1e6f5890.jpg","text":"TemporaryFile(/tmp/multipartBody1583523586123523250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_43_05_30165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/777c30e8ab6f4dfc3bd2929b21e31125.jpg","text":"TemporaryFile(/tmp/multipartBody6295781948921274550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_33_34_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/af93bddf945c1b2bf8dfa14f11908c1e.jpg","text":"TemporaryFile(/tmp/multipartBody8257155919197407673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533927564,"filename":"image_09052026_21_39_04_29211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906665","file1":"1416906663","file0":"1416906662","file4":"1416906669","file5":"1416906671","file3":"1416906667"},"map_files_photo_id_array":[{"photo_id":"1416906671","filename":"file5"},{"photo_id":"1416906665","filename":"file2"},{"photo_id":"1416906669","filename":"file4"},{"photo_id":"1416906663","filename":"file1"},{"photo_id":"1416906662","filename":"file0"},{"photo_id":"1416906667","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906667":["hashtag1","hashtag2"]},{"1416906663":["hashtag1","hashtag2"]},{"1416906669":["hashtag1","hashtag2"]},{"1416906662":["hashtag1","hashtag2"]},{"1416906671":["hashtag1","hashtag2"]},{"1416906665":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906667, 1416906663, 1416906669, 1416906662, 1416906671, 1416906665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97482657432556 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:12:03.199581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/11/image_09052026_01_11_35_29108.jpg', '/home/pi/Desktop/images/09052026/01/11/image_09052026_01_12_05_30206.jpg', '/home/pi/Desktop/images/09052026/01/12/image_09052026_01_12_35_30327.jpg', '/home/pi/Desktop/images/09052026/01/12/image_09052026_01_13_06_30295.jpg', '/home/pi/Desktop/images/09052026/01/13/image_09052026_01_13_35_29181.jpg', '/home/pi/Desktop/images/09052026/01/13/image_09052026_01_14_05_30223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/11/image_09052026_01_11_35_29108.jpg
/home/pi/Desktop/images/09052026/01/11/image_09052026_01_12_05_30206.jpg
/home/pi/Desktop/images/09052026/01/12/image_09052026_01_12_35_30327.jpg
/home/pi/Desktop/images/09052026/01/12/image_09052026_01_13_06_30295.jpg
/home/pi/Desktop/images/09052026/01/13/image_09052026_01_13_35_29181.jpg
/home/pi/Desktop/images/09052026/01/13/image_09052026_01_14_05_30223.jpg
2026-05-11 23:12:03.214505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/29/image_09052026_21_30_05_30380.jpg', '/home/pi/Desktop/images/09052026/21/26/image_09052026_21_26_34_30367.jpg', '/home/pi/Desktop/images/09052026/21/22/image_09052026_21_23_05_30425.jpg', '/home/pi/Desktop/images/09052026/21/18/image_09052026_21_18_34_29214.jpg', '/home/pi/Desktop/images/09052026/21/17/image_09052026_21_18_05_30369.jpg', '/home/pi/Desktop/images/09052026/21/16/image_09052026_21_17_04_29184.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/29/image_09052026_21_30_05_30380.jpg
/home/pi/Desktop/images/09052026/21/26/image_09052026_21_26_34_30367.jpg
/home/pi/Desktop/images/09052026/21/22/image_09052026_21_23_05_30425.jpg
/home/pi/Desktop/images/09052026/21/18/image_09052026_21_18_34_29214.jpg
/home/pi/Desktop/images/09052026/21/17/image_09052026_21_18_05_30369.jpg
/home/pi/Desktop/images/09052026/21/16/image_09052026_21_17_04_29184.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906679","1416906673","1416906676","1416906681","1416906684","1416906687"],"photo_ids_order":["1416906673","1416906676","1416906679","1416906681","1416906684","1416906687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/94afe13dc9d8dd2a7489e63e1deec222.jpg","text":"TemporaryFile(/tmp/multipartBody3965037562927792272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_23_05_30425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3d6e4e1a41e5814d05839d566704462.jpg","text":"TemporaryFile(/tmp/multipartBody6200374298455701047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_30_05_30380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2422c9edf21a37e88f369fd261d3c463.jpg","text":"TemporaryFile(/tmp/multipartBody6674205793467656078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_26_34_30367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0d0d45010e00a919952252f1811a2486.jpg","text":"TemporaryFile(/tmp/multipartBody2558047648091299628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_18_34_29214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ad2189e04953fecce5e5af0a2e9e888.jpg","text":"TemporaryFile(/tmp/multipartBody667306605129570902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_18_05_30369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7cd4cb1667c53f059013acc9ab0c1c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2660620829781807020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533985852,"filename":"image_09052026_21_17_04_29184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906679","file1":"1416906676","file0":"1416906673","file4":"1416906684","file5":"1416906687","file3":"1416906681"},"map_files_photo_id_array":[{"photo_id":"1416906687","filename":"file5"},{"photo_id":"1416906679","filename":"file2"},{"photo_id":"1416906684","filename":"file4"},{"photo_id":"1416906676","filename":"file1"},{"photo_id":"1416906673","filename":"file0"},{"photo_id":"1416906681","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906679":["hashtag1","hashtag2"]},{"1416906673":["hashtag1","hashtag2"]},{"1416906676":["hashtag1","hashtag2"]},{"1416906681":["hashtag1","hashtag2"]},{"1416906684":["hashtag1","hashtag2"]},{"1416906687":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906679, 1416906673, 1416906676, 1416906681, 1416906684, 1416906687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.879143953323364 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906685","1416906688","1416906680","1416906674","1416906677","1416906682"],"photo_ids_order":["1416906674","1416906677","1416906680","1416906682","1416906685","1416906688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/254efd1ba23736b473d558a9030620d7.jpg","text":"TemporaryFile(/tmp/multipartBody7404607298808923366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_13_35_29181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c5faf755b84d0380ab55a98425e761a1.jpg","text":"TemporaryFile(/tmp/multipartBody1466339278334805871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_14_05_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8d8dadcd8910b858ddcfa7d9e0c53cd.jpg","text":"TemporaryFile(/tmp/multipartBody6462500480523283419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_12_35_30327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/09e931a8d2350c8e2fea5fef1bef2abd.jpg","text":"TemporaryFile(/tmp/multipartBody4068698194179633050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_11_35_29108.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/091a6462b505271f83399a3e00433bcd.jpg","text":"TemporaryFile(/tmp/multipartBody622493218269218859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_12_05_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/177320666c3c123e242794c6186c4316.jpg","text":"TemporaryFile(/tmp/multipartBody7074201846357867281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778533986125,"filename":"image_09052026_01_13_06_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906680","file1":"1416906677","file0":"1416906674","file4":"1416906685","file5":"1416906688","file3":"1416906682"},"map_files_photo_id_array":[{"photo_id":"1416906688","filename":"file5"},{"photo_id":"1416906680","filename":"file2"},{"photo_id":"1416906685","filename":"file4"},{"photo_id":"1416906677","filename":"file1"},{"photo_id":"1416906674","filename":"file0"},{"photo_id":"1416906682","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906685":["hashtag1","hashtag2"]},{"1416906688":["hashtag1","hashtag2"]},{"1416906680":["hashtag1","hashtag2"]},{"1416906674":["hashtag1","hashtag2"]},{"1416906677":["hashtag1","hashtag2"]},{"1416906682":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906685, 1416906688, 1416906680, 1416906674, 1416906677, 1416906682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63937330245972 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:13:03.895739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg', '/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg', '/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg', '/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg
/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg
/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.jpg
2026-05-11 23:13:03.903270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/16/image_09052026_21_16_35_30302.jpg', '/home/pi/Desktop/images/09052026/21/15/image_09052026_21_16_05_30421.jpg', '/home/pi/Desktop/images/09052026/21/15/image_09052026_21_15_34_29193.jpg', '/home/pi/Desktop/images/09052026/21/14/image_09052026_21_15_05_30212.jpg', '/home/pi/Desktop/images/09052026/21/14/image_09052026_21_14_35_30301.jpg', '/home/pi/Desktop/images/09052026/21/12/image_09052026_21_13_05_30278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/16/image_09052026_21_16_35_30302.jpg
/home/pi/Desktop/images/09052026/21/15/image_09052026_21_16_05_30421.jpg
/home/pi/Desktop/images/09052026/21/15/image_09052026_21_15_34_29193.jpg
/home/pi/Desktop/images/09052026/21/14/image_09052026_21_15_05_30212.jpg
/home/pi/Desktop/images/09052026/21/14/image_09052026_21_14_35_30301.jpg
/home/pi/Desktop/images/09052026/21/12/image_09052026_21_13_05_30278.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.557762384414673 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906691","1416906694","1416906696","1416906700","1416906692","1416906698"],"photo_ids_order":["1416906691","1416906692","1416906694","1416906696","1416906698","1416906700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec598c8fe06452fbfe37119875501e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6657763779690231503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_16_35_30302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa9ffaee9569293d769255570c0d4d42.jpg","text":"TemporaryFile(/tmp/multipartBody5167897297410947790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_15_34_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b876da573524a164a443c360a57e442e.jpg","text":"TemporaryFile(/tmp/multipartBody9116143357681839757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_15_05_30212.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1aed0fcfebd5d96e5fdf09e11fea1883.jpg","text":"TemporaryFile(/tmp/multipartBody7538969271225899665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_13_05_30278.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2b54b8106aa53a0ac3c5b49fcc1c961.jpg","text":"TemporaryFile(/tmp/multipartBody2519802007126480621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_16_05_30421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c86827e836bd3f6d876b0e5c2f11530b.jpg","text":"TemporaryFile(/tmp/multipartBody3141213285113720287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534047019,"filename":"image_09052026_21_14_35_30301.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906694","file1":"1416906692","file0":"1416906691","file4":"1416906698","file5":"1416906700","file3":"1416906696"},"map_files_photo_id_array":[{"photo_id":"1416906700","filename":"file5"},{"photo_id":"1416906694","filename":"file2"},{"photo_id":"1416906698","filename":"file4"},{"photo_id":"1416906692","filename":"file1"},{"photo_id":"1416906691","filename":"file0"},{"photo_id":"1416906696","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906691":["hashtag1","hashtag2"]},{"1416906694":["hashtag1","hashtag2"]},{"1416906696":["hashtag1","hashtag2"]},{"1416906700":["hashtag1","hashtag2"]},{"1416906692":["hashtag1","hashtag2"]},{"1416906698":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906691, 1416906694, 1416906696, 1416906700, 1416906692, 1416906698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11069202423096 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:14:03.846395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/08/image_11052026_23_09_14_30360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/08/image_11052026_23_09_14_30360.jpg
2026-05-11 23:14:03.929085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/08/image_11052026_23_09_14_30360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/08/image_11052026_23_09_14_30360.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906703"],"photo_id":"1416906703","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b0d7b1e4f9eafee6fe16389e0e519776.jpg","text":"TemporaryFile(/tmp/multipartBody1725815257783112566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534105086,"filename":"image_11052026_23_09_14_30360.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906703"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906703"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.120526790618896 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906702"],"photo_id":"1416906702","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65beff654ac3f9f9574f7f05046243d8.jpg","text":"TemporaryFile(/tmp/multipartBody8499215381906706596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534104999,"filename":"image_11052026_23_09_14_30360.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906702"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906702"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.79340672492981 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:15:03.563463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/13/image_11052026_23_13_44_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/13/image_11052026_23_13_44_30245.jpg
2026-05-11 23:15:04.120799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/14/image_11052026_23_15_14_29273.jpg', '/home/pi/Desktop/images/11052026/23/14/image_11052026_23_14_44_30390.jpg', '/home/pi/Desktop/images/11052026/23/13/image_11052026_23_13_44_30245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/14/image_11052026_23_15_14_29273.jpg
/home/pi/Desktop/images/11052026/23/14/image_11052026_23_14_44_30390.jpg
/home/pi/Desktop/images/11052026/23/13/image_11052026_23_13_44_30245.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906706"],"photo_id":"1416906706","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e23f5db321449bbe67790481a8733db2.jpg","text":"TemporaryFile(/tmp/multipartBody3070281042150222690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534164862,"filename":"image_11052026_23_13_44_30245.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906706"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906706"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.007817268371582 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906709","1416906708","1416906707"],"photo_ids_order":["1416906707","1416906708","1416906709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3a8806e29568bca45c62b849dbfeeab.jpg","text":"TemporaryFile(/tmp/multipartBody4019492299129014404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534165593,"filename":"image_11052026_23_13_44_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5e209babeb33030bb0c7d7345b559f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7078055016418871162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534165593,"filename":"image_11052026_23_14_44_30390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6a2a8254ce9b9bd3faf5ca17f00199d.jpg","text":"TemporaryFile(/tmp/multipartBody6663917304638012145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534165593,"filename":"image_11052026_23_15_14_29273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906709","file1":"1416906708","file0":"1416906707"},"map_files_photo_id_array":[{"photo_id":"1416906709","filename":"file2"},{"photo_id":"1416906708","filename":"file1"},{"photo_id":"1416906707","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906709":["hashtag1","hashtag2"]},{"1416906708":["hashtag1","hashtag2"]},{"1416906707":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906709, 1416906708, 1416906707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.148338079452515 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:16:03.854668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/12/image_09052026_21_12_35_30275.jpg', '/home/pi/Desktop/images/09052026/21/11/image_09052026_21_12_04_29268.jpg', '/home/pi/Desktop/images/09052026/21/11/image_09052026_21_11_35_30419.jpg', '/home/pi/Desktop/images/09052026/21/10/image_09052026_21_11_05_30331.jpg', '/home/pi/Desktop/images/09052026/21/10/image_09052026_21_10_34_30199.jpg', '/home/pi/Desktop/images/09052026/21/09/image_09052026_21_10_04_29193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/12/image_09052026_21_12_35_30275.jpg
/home/pi/Desktop/images/09052026/21/11/image_09052026_21_12_04_29268.jpg
/home/pi/Desktop/images/09052026/21/11/image_09052026_21_11_35_30419.jpg
/home/pi/Desktop/images/09052026/21/10/image_09052026_21_11_05_30331.jpg
/home/pi/Desktop/images/09052026/21/10/image_09052026_21_10_34_30199.jpg
/home/pi/Desktop/images/09052026/21/09/image_09052026_21_10_04_29193.jpg
2026-05-11 23:16:03.979404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg', '/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg', '/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg', '/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg
/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg
/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4779152870178223 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906715","1416906711","1416906717","1416906719","1416906710","1416906713"],"photo_ids_order":["1416906710","1416906711","1416906713","1416906715","1416906717","1416906719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d46b8092ccab396f4f425541c303e036.jpg","text":"TemporaryFile(/tmp/multipartBody8964937405825219868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_11_05_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ea9ef5300823356da65f74fa928da2c4.jpg","text":"TemporaryFile(/tmp/multipartBody641192806690899276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_12_04_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f3e014d3ba9c14f8ceb5ad5e2660669b.jpg","text":"TemporaryFile(/tmp/multipartBody1183115129944575793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_10_34_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ae729883bbf036d647adf009ff9f14ee.jpg","text":"TemporaryFile(/tmp/multipartBody4890471716187348595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_10_04_29193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d653b41a4fe4e39e76ad21b1da863f43.jpg","text":"TemporaryFile(/tmp/multipartBody7342540880923704366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_12_35_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35289f80ebde7fd4e3bf2039de601692.jpg","text":"TemporaryFile(/tmp/multipartBody2131404177732642925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534226478,"filename":"image_09052026_21_11_35_30419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906713","file1":"1416906711","file0":"1416906710","file4":"1416906717","file5":"1416906719","file3":"1416906715"},"map_files_photo_id_array":[{"photo_id":"1416906719","filename":"file5"},{"photo_id":"1416906713","filename":"file2"},{"photo_id":"1416906717","filename":"file4"},{"photo_id":"1416906711","filename":"file1"},{"photo_id":"1416906710","filename":"file0"},{"photo_id":"1416906715","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906715":["hashtag1","hashtag2"]},{"1416906711":["hashtag1","hashtag2"]},{"1416906717":["hashtag1","hashtag2"]},{"1416906719":["hashtag1","hashtag2"]},{"1416906710":["hashtag1","hashtag2"]},{"1416906713":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906715, 1416906711, 1416906717, 1416906719, 1416906710, 1416906713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.340635538101196 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:17:04.014622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg', '/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg', '/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg', '/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg', '/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_14_35_30250.jpg
/home/pi/Desktop/images/09052026/01/14/image_09052026_01_15_06_30317.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_15_35_29208.jpg
/home/pi/Desktop/images/09052026/01/15/image_09052026_01_16_05_30319.jpg
/home/pi/Desktop/images/09052026/01/17/image_09052026_01_18_05_30270.jpg
/home/pi/Desktop/images/09052026/01/18/image_09052026_01_18_36_30253.jpg
2026-05-11 23:17:04.099020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/09/image_09052026_21_09_35_30268.jpg', '/home/pi/Desktop/images/09052026/21/08/image_09052026_21_09_05_30344.jpg', '/home/pi/Desktop/images/09052026/21/08/image_09052026_21_08_34_30140.jpg', '/home/pi/Desktop/images/09052026/21/07/image_09052026_21_08_04_29192.jpg', '/home/pi/Desktop/images/09052026/21/07/image_09052026_21_07_35_30423.jpg', '/home/pi/Desktop/images/09052026/21/06/image_09052026_21_07_04_30238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/09/image_09052026_21_09_35_30268.jpg
/home/pi/Desktop/images/09052026/21/08/image_09052026_21_09_05_30344.jpg
/home/pi/Desktop/images/09052026/21/08/image_09052026_21_08_34_30140.jpg
/home/pi/Desktop/images/09052026/21/07/image_09052026_21_08_04_29192.jpg
/home/pi/Desktop/images/09052026/21/07/image_09052026_21_07_35_30423.jpg
/home/pi/Desktop/images/09052026/21/06/image_09052026_21_07_04_30238.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.7541847229003906 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906721","1416906724","1416906726","1416906729","1416906722","1416906731"],"photo_ids_order":["1416906721","1416906722","1416906724","1416906726","1416906729","1416906731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c25b1bbb29395baa25e043d25c99548.jpg","text":"TemporaryFile(/tmp/multipartBody4804096864458951635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_14_35_30250.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42f5f2e7950d0e72599935c209100f50.jpg","text":"TemporaryFile(/tmp/multipartBody2291852666867068598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_15_35_29208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb5533cacc7562027e8c4be8aed8b29d.jpg","text":"TemporaryFile(/tmp/multipartBody1974792605646795017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_16_05_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8ab2a05e92f2bcd1eb28405b94fd6053.jpg","text":"TemporaryFile(/tmp/multipartBody7058434308190156630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_18_05_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fc1a12d7b80c25b98d84a11791f80aa.jpg","text":"TemporaryFile(/tmp/multipartBody2254116891091253685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_15_06_30317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/23b17e26f8231a60cb1097c0f99e2a66.jpg","text":"TemporaryFile(/tmp/multipartBody3680517892330365845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534287138,"filename":"image_09052026_01_18_36_30253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906724","file1":"1416906722","file0":"1416906721","file4":"1416906729","file5":"1416906731","file3":"1416906726"},"map_files_photo_id_array":[{"photo_id":"1416906731","filename":"file5"},{"photo_id":"1416906724","filename":"file2"},{"photo_id":"1416906729","filename":"file4"},{"photo_id":"1416906722","filename":"file1"},{"photo_id":"1416906721","filename":"file0"},{"photo_id":"1416906726","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906721":["hashtag1","hashtag2"]},{"1416906724":["hashtag1","hashtag2"]},{"1416906726":["hashtag1","hashtag2"]},{"1416906729":["hashtag1","hashtag2"]},{"1416906722":["hashtag1","hashtag2"]},{"1416906731":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906721, 1416906724, 1416906726, 1416906729, 1416906722, 1416906731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00453281402588 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:18:03.288686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/16/image_11052026_23_17_14_30289.jpg', '/home/pi/Desktop/images/11052026/23/15/image_11052026_23_15_44_30373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/16/image_11052026_23_17_14_30289.jpg
/home/pi/Desktop/images/11052026/23/15/image_11052026_23_15_44_30373.jpg
2026-05-11 23:18:03.469507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/15/image_11052026_23_15_44_30373.jpg', '/home/pi/Desktop/images/11052026/23/16/image_11052026_23_17_14_30289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/15/image_11052026_23_15_44_30373.jpg
/home/pi/Desktop/images/11052026/23/16/image_11052026_23_17_14_30289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906749","1416906746"],"photo_ids_order":["1416906746","1416906749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/588d4e6cad4b566c679adef0f6163b33.jpg","text":"TemporaryFile(/tmp/multipartBody7897870864519197454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534344770,"filename":"image_11052026_23_15_44_30373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/949aebc466a38a68f055eece29ccd801.jpg","text":"TemporaryFile(/tmp/multipartBody808845293590237526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534344770,"filename":"image_11052026_23_17_14_30289.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416906749","file0":"1416906746"},"map_files_photo_id_array":[{"photo_id":"1416906749","filename":"file1"},{"photo_id":"1416906746","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906749":["hashtag1","hashtag2"]},{"1416906746":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906749, 1416906746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.88421130180359 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906750","1416906747"],"photo_ids_order":["1416906747","1416906750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a5776b95e0b2bbe252b8f2da4e7feff.jpg","text":"TemporaryFile(/tmp/multipartBody6613533311145276601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534345136,"filename":"image_11052026_23_17_14_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8262fe10722e5dab4d6aadfdc30de23e.jpg","text":"TemporaryFile(/tmp/multipartBody4455444895927957972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534345136,"filename":"image_11052026_23_15_44_30373.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416906750","file0":"1416906747"},"map_files_photo_id_array":[{"photo_id":"1416906750","filename":"file1"},{"photo_id":"1416906747","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906750":["hashtag1","hashtag2"]},{"1416906747":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906750, 1416906747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.456146240234375 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:19:04.580985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/17/image_11052026_23_17_44_30384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/17/image_11052026_23_17_44_30384.jpg
2026-05-11 23:19:04.602390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/17/image_11052026_23_17_44_30384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/17/image_11052026_23_17_44_30384.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8687252998352051 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906783"],"photo_id":"1416906783","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26b92aa96ca211d920be8f780ff3d700.jpg","text":"TemporaryFile(/tmp/multipartBody8672276206199123117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534405727,"filename":"image_11052026_23_17_44_30384.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906783"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906783"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.550305366516113 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:20:02.944207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/18/image_11052026_23_18_44_30200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/18/image_11052026_23_18_44_30200.jpg
2026-05-11 23:20:03.032870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/18/image_11052026_23_18_44_30200.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/18/image_11052026_23_18_44_30200.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906791"],"photo_id":"1416906791","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/91dad991f8962319d5aac0406a7fc033.jpg","text":"TemporaryFile(/tmp/multipartBody6029375867306265654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534464181,"filename":"image_11052026_23_18_44_30200.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906791"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906791"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.44871711730957 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906790"],"photo_id":"1416906790","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e0bfba8feee6f6c91dbb987d83efb624.jpg","text":"TemporaryFile(/tmp/multipartBody6704005967466437011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534464163,"filename":"image_11052026_23_18_44_30200.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906790"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906790"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.725251197814941 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:21:04.072637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/09/image_09052026_21_09_35_30268.jpg', '/home/pi/Desktop/images/09052026/21/08/image_09052026_21_09_05_30344.jpg', '/home/pi/Desktop/images/09052026/21/08/image_09052026_21_08_34_30140.jpg', '/home/pi/Desktop/images/09052026/21/07/image_09052026_21_08_04_29192.jpg', '/home/pi/Desktop/images/09052026/21/07/image_09052026_21_07_35_30423.jpg', '/home/pi/Desktop/images/09052026/21/06/image_09052026_21_07_04_30238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/09/image_09052026_21_09_35_30268.jpg
/home/pi/Desktop/images/09052026/21/08/image_09052026_21_09_05_30344.jpg
/home/pi/Desktop/images/09052026/21/08/image_09052026_21_08_34_30140.jpg
/home/pi/Desktop/images/09052026/21/07/image_09052026_21_08_04_29192.jpg
/home/pi/Desktop/images/09052026/21/07/image_09052026_21_07_35_30423.jpg
/home/pi/Desktop/images/09052026/21/06/image_09052026_21_07_04_30238.jpg
2026-05-11 23:21:04.008462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/20/image_09052026_01_21_05_30260.jpg', '/home/pi/Desktop/images/09052026/01/21/image_09052026_01_21_35_30320.jpg', '/home/pi/Desktop/images/09052026/01/21/image_09052026_01_22_05_29418.jpg', '/home/pi/Desktop/images/09052026/01/23/image_09052026_01_23_36_30416.jpg', '/home/pi/Desktop/images/09052026/01/23/image_09052026_01_24_05_29273.jpg', '/home/pi/Desktop/images/09052026/01/24/image_09052026_01_24_35_30296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/20/image_09052026_01_21_05_30260.jpg
/home/pi/Desktop/images/09052026/01/21/image_09052026_01_21_35_30320.jpg
/home/pi/Desktop/images/09052026/01/21/image_09052026_01_22_05_29418.jpg
/home/pi/Desktop/images/09052026/01/23/image_09052026_01_23_36_30416.jpg
/home/pi/Desktop/images/09052026/01/23/image_09052026_01_24_05_29273.jpg
/home/pi/Desktop/images/09052026/01/24/image_09052026_01_24_35_30296.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.608543634414673 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906799","1416906793","1416906792","1416906795","1416906797","1416906801"],"photo_ids_order":["1416906792","1416906793","1416906795","1416906797","1416906799","1416906801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3251358f6c6e06445e460e540457ef76.jpg","text":"TemporaryFile(/tmp/multipartBody3788283475682471582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_07_35_30423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/84e5c0657bf3a18c269463ed1c8eeb2e.jpg","text":"TemporaryFile(/tmp/multipartBody347969022784550528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_09_05_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5de22c7979ba905e9469fdfb7ce2f42a.jpg","text":"TemporaryFile(/tmp/multipartBody4950141656071874803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_09_35_30268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef9a246acb113bd0f0a3765358dd1e77.jpg","text":"TemporaryFile(/tmp/multipartBody5031826378300364025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_08_34_30140.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83d7f01121536349713822066ab749f7.jpg","text":"TemporaryFile(/tmp/multipartBody443940455696543179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_08_04_29192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7e3e812ebde92d1ad8b0746913cb65bb.jpg","text":"TemporaryFile(/tmp/multipartBody1900040668698047878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534526754,"filename":"image_09052026_21_07_04_30238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906795","file1":"1416906793","file0":"1416906792","file4":"1416906799","file5":"1416906801","file3":"1416906797"},"map_files_photo_id_array":[{"photo_id":"1416906801","filename":"file5"},{"photo_id":"1416906795","filename":"file2"},{"photo_id":"1416906799","filename":"file4"},{"photo_id":"1416906793","filename":"file1"},{"photo_id":"1416906792","filename":"file0"},{"photo_id":"1416906797","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906799":["hashtag1","hashtag2"]},{"1416906793":["hashtag1","hashtag2"]},{"1416906792":["hashtag1","hashtag2"]},{"1416906795":["hashtag1","hashtag2"]},{"1416906797":["hashtag1","hashtag2"]},{"1416906801":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906799, 1416906793, 1416906792, 1416906795, 1416906797, 1416906801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.890711545944214 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:22:03.238199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/20/image_09052026_01_21_05_30260.jpg', '/home/pi/Desktop/images/09052026/01/21/image_09052026_01_21_35_30320.jpg', '/home/pi/Desktop/images/09052026/01/21/image_09052026_01_22_05_29418.jpg', '/home/pi/Desktop/images/09052026/01/23/image_09052026_01_23_36_30416.jpg', '/home/pi/Desktop/images/09052026/01/23/image_09052026_01_24_05_29273.jpg', '/home/pi/Desktop/images/09052026/01/24/image_09052026_01_24_35_30296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/20/image_09052026_01_21_05_30260.jpg
/home/pi/Desktop/images/09052026/01/21/image_09052026_01_21_35_30320.jpg
/home/pi/Desktop/images/09052026/01/21/image_09052026_01_22_05_29418.jpg
/home/pi/Desktop/images/09052026/01/23/image_09052026_01_23_36_30416.jpg
/home/pi/Desktop/images/09052026/01/23/image_09052026_01_24_05_29273.jpg
/home/pi/Desktop/images/09052026/01/24/image_09052026_01_24_35_30296.jpg
2026-05-11 23:22:03.420302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/06/image_09052026_21_06_34_30193.jpg', '/home/pi/Desktop/images/09052026/21/05/image_09052026_21_06_04_29155.jpg', '/home/pi/Desktop/images/09052026/21/05/image_09052026_21_05_35_30343.jpg', '/home/pi/Desktop/images/09052026/21/04/image_09052026_21_05_05_30375.jpg', '/home/pi/Desktop/images/09052026/21/04/image_09052026_21_04_34_29192.jpg', '/home/pi/Desktop/images/09052026/21/03/image_09052026_21_04_05_30246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/06/image_09052026_21_06_34_30193.jpg
/home/pi/Desktop/images/09052026/21/05/image_09052026_21_06_04_29155.jpg
/home/pi/Desktop/images/09052026/21/05/image_09052026_21_05_35_30343.jpg
/home/pi/Desktop/images/09052026/21/04/image_09052026_21_05_05_30375.jpg
/home/pi/Desktop/images/09052026/21/04/image_09052026_21_04_34_29192.jpg
/home/pi/Desktop/images/09052026/21/03/image_09052026_21_04_05_30246.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906829","1416906823","1416906805","1416906804","1416906821","1416906827"],"photo_ids_order":["1416906804","1416906805","1416906821","1416906823","1416906827","1416906829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/41eb8be2fdad8f03e4e6f9f226f53fab.jpg","text":"TemporaryFile(/tmp/multipartBody2238341722628419212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_04_05_30246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/671f2a1c128a1c6ffe6150e176ec9b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1998585358717364772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_05_05_30375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a80839b739a96e42446bcf3888cd34c0.jpg","text":"TemporaryFile(/tmp/multipartBody9118412676922905663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_06_04_29155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ee81effba15bd89615a74733527300cd.jpg","text":"TemporaryFile(/tmp/multipartBody27109266784561331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_06_34_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/841c290fb2cc3c6efcd09fa7d25dc3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3127931933843146581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_05_35_30343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7fbbb715c0e7e56aa16476d5a789b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3256152982200723171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586272,"filename":"image_09052026_21_04_34_29192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906821","file1":"1416906805","file0":"1416906804","file4":"1416906827","file5":"1416906829","file3":"1416906823"},"map_files_photo_id_array":[{"photo_id":"1416906829","filename":"file5"},{"photo_id":"1416906821","filename":"file2"},{"photo_id":"1416906827","filename":"file4"},{"photo_id":"1416906805","filename":"file1"},{"photo_id":"1416906804","filename":"file0"},{"photo_id":"1416906823","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906829":["hashtag1","hashtag2"]},{"1416906823":["hashtag1","hashtag2"]},{"1416906805":["hashtag1","hashtag2"]},{"1416906804":["hashtag1","hashtag2"]},{"1416906821":["hashtag1","hashtag2"]},{"1416906827":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906829, 1416906823, 1416906805, 1416906804, 1416906821, 1416906827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09223914146423 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906831","1416906828","1416906822","1416906824","1416906803","1416906806"],"photo_ids_order":["1416906803","1416906806","1416906822","1416906824","1416906828","1416906831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cfb9fc6ec92c3a5b2a461fdf19f07b7.jpg","text":"TemporaryFile(/tmp/multipartBody811050130183940804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_24_35_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6436d0f1289c08b3a89748cb1ef04977.jpg","text":"TemporaryFile(/tmp/multipartBody8825144442079061133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_24_05_29273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f8422a55e886f0c405cdde4a205391a0.jpg","text":"TemporaryFile(/tmp/multipartBody3886435160461785189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_22_05_29418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1c1eba89a6f7a7994fff57b88783476.jpg","text":"TemporaryFile(/tmp/multipartBody6109799409336693977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_23_36_30416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1a32b90914feb6ed598fe79c6877056a.jpg","text":"TemporaryFile(/tmp/multipartBody2684572217635315454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_21_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0e9464b30985e15e234146712706fabf.jpg","text":"TemporaryFile(/tmp/multipartBody2945644629669430130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534586018,"filename":"image_09052026_01_21_35_30320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906822","file1":"1416906806","file0":"1416906803","file4":"1416906828","file5":"1416906831","file3":"1416906824"},"map_files_photo_id_array":[{"photo_id":"1416906831","filename":"file5"},{"photo_id":"1416906822","filename":"file2"},{"photo_id":"1416906828","filename":"file4"},{"photo_id":"1416906806","filename":"file1"},{"photo_id":"1416906803","filename":"file0"},{"photo_id":"1416906824","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906831":["hashtag1","hashtag2"]},{"1416906828":["hashtag1","hashtag2"]},{"1416906822":["hashtag1","hashtag2"]},{"1416906824":["hashtag1","hashtag2"]},{"1416906803":["hashtag1","hashtag2"]},{"1416906806":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906831, 1416906828, 1416906822, 1416906824, 1416906803, 1416906806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59070801734924 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:23:03.929073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/25/image_09052026_01_25_35_29166.jpg', '/home/pi/Desktop/images/09052026/01/25/image_09052026_01_26_05_30284.jpg', '/home/pi/Desktop/images/09052026/01/26/image_09052026_01_27_06_30275.jpg', '/home/pi/Desktop/images/09052026/01/29/image_09052026_01_30_05_30286.jpg', '/home/pi/Desktop/images/09052026/01/30/image_09052026_01_31_06_30381.jpg', '/home/pi/Desktop/images/09052026/01/32/image_09052026_01_33_06_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/25/image_09052026_01_25_35_29166.jpg
/home/pi/Desktop/images/09052026/01/25/image_09052026_01_26_05_30284.jpg
/home/pi/Desktop/images/09052026/01/26/image_09052026_01_27_06_30275.jpg
/home/pi/Desktop/images/09052026/01/29/image_09052026_01_30_05_30286.jpg
/home/pi/Desktop/images/09052026/01/30/image_09052026_01_31_06_30381.jpg
/home/pi/Desktop/images/09052026/01/32/image_09052026_01_33_06_30293.jpg
2026-05-11 23:23:04.135480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/03/image_09052026_21_03_35_30245.jpg', '/home/pi/Desktop/images/09052026/21/02/image_09052026_21_03_05_30360.jpg', '/home/pi/Desktop/images/09052026/21/02/image_09052026_21_02_34_29194.jpg', '/home/pi/Desktop/images/09052026/21/01/image_09052026_21_01_35_30331.jpg', '/home/pi/Desktop/images/09052026/21/00/image_09052026_21_01_04_30279.jpg', '/home/pi/Desktop/images/09052026/21/00/image_09052026_21_00_34_29141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/03/image_09052026_21_03_35_30245.jpg
/home/pi/Desktop/images/09052026/21/02/image_09052026_21_03_05_30360.jpg
/home/pi/Desktop/images/09052026/21/02/image_09052026_21_02_34_29194.jpg
/home/pi/Desktop/images/09052026/21/01/image_09052026_21_01_35_30331.jpg
/home/pi/Desktop/images/09052026/21/00/image_09052026_21_01_04_30279.jpg
/home/pi/Desktop/images/09052026/21/00/image_09052026_21_00_34_29141.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4671311378479004 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906874","1416906868","1416906870","1416906864","1416906872","1416906866"],"photo_ids_order":["1416906864","1416906866","1416906868","1416906870","1416906872","1416906874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6f872d552bf167d30fdaa5c9c08ddcc8.jpg","text":"TemporaryFile(/tmp/multipartBody1954619352144993709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_33_06_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81737bf280afd496d418a2cd75419a2b.jpg","text":"TemporaryFile(/tmp/multipartBody677572452852594016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_27_06_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8161cc06fc94aaa14225ebee7238483f.jpg","text":"TemporaryFile(/tmp/multipartBody4202460760147537585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_30_05_30286.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5719ba8859589ee1d2bd41c5d91607e8.jpg","text":"TemporaryFile(/tmp/multipartBody3972202359897703822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_25_35_29166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/19eba0bf68448b8097f24447d47466ec.jpg","text":"TemporaryFile(/tmp/multipartBody7223129751679224662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_31_06_30381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e87b3eec37a2fa71e931be0880a91d31.jpg","text":"TemporaryFile(/tmp/multipartBody3769875036770102631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534647157,"filename":"image_09052026_01_26_05_30284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906868","file1":"1416906866","file0":"1416906864","file4":"1416906872","file5":"1416906874","file3":"1416906870"},"map_files_photo_id_array":[{"photo_id":"1416906874","filename":"file5"},{"photo_id":"1416906868","filename":"file2"},{"photo_id":"1416906872","filename":"file4"},{"photo_id":"1416906866","filename":"file1"},{"photo_id":"1416906864","filename":"file0"},{"photo_id":"1416906870","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906874":["hashtag1","hashtag2"]},{"1416906868":["hashtag1","hashtag2"]},{"1416906870":["hashtag1","hashtag2"]},{"1416906864":["hashtag1","hashtag2"]},{"1416906872":["hashtag1","hashtag2"]},{"1416906866":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906874, 1416906868, 1416906870, 1416906864, 1416906872, 1416906866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48996376991272 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:24:03.926851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/33/image_09052026_01_33_35_29181.jpg', '/home/pi/Desktop/images/09052026/01/33/image_09052026_01_34_05_30275.jpg', '/home/pi/Desktop/images/09052026/01/34/image_09052026_01_34_35_30266.jpg', '/home/pi/Desktop/images/09052026/01/35/image_09052026_01_35_35_29146.jpg', '/home/pi/Desktop/images/09052026/01/35/image_09052026_01_36_05_30243.jpg', '/home/pi/Desktop/images/09052026/01/36/image_09052026_01_36_35_30236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/33/image_09052026_01_33_35_29181.jpg
/home/pi/Desktop/images/09052026/01/33/image_09052026_01_34_05_30275.jpg
/home/pi/Desktop/images/09052026/01/34/image_09052026_01_34_35_30266.jpg
/home/pi/Desktop/images/09052026/01/35/image_09052026_01_35_35_29146.jpg
/home/pi/Desktop/images/09052026/01/35/image_09052026_01_36_05_30243.jpg
/home/pi/Desktop/images/09052026/01/36/image_09052026_01_36_35_30236.jpg
2026-05-11 23:24:04.114233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/21/03/image_09052026_21_03_35_30245.jpg', '/home/pi/Desktop/images/09052026/21/02/image_09052026_21_03_05_30360.jpg', '/home/pi/Desktop/images/09052026/21/02/image_09052026_21_02_34_29194.jpg', '/home/pi/Desktop/images/09052026/21/01/image_09052026_21_01_35_30331.jpg', '/home/pi/Desktop/images/09052026/21/00/image_09052026_21_01_04_30279.jpg', '/home/pi/Desktop/images/09052026/21/00/image_09052026_21_00_34_29141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/21/03/image_09052026_21_03_35_30245.jpg
/home/pi/Desktop/images/09052026/21/02/image_09052026_21_03_05_30360.jpg
/home/pi/Desktop/images/09052026/21/02/image_09052026_21_02_34_29194.jpg
/home/pi/Desktop/images/09052026/21/01/image_09052026_21_01_35_30331.jpg
/home/pi/Desktop/images/09052026/21/00/image_09052026_21_01_04_30279.jpg
/home/pi/Desktop/images/09052026/21/00/image_09052026_21_00_34_29141.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906877","1416906886","1416906882","1416906884","1416906878","1416906880"],"photo_ids_order":["1416906877","1416906878","1416906880","1416906882","1416906884","1416906886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4f88375d3130d6f3055401be39fdcad8.jpg","text":"TemporaryFile(/tmp/multipartBody3691435377301048090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_33_35_29181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/506052c7337959bdc7e024e171f1d786.jpg","text":"TemporaryFile(/tmp/multipartBody3391804907959628187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_36_35_30236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f1da8d3a54c2b60ce711f0086fbe77b3.jpg","text":"TemporaryFile(/tmp/multipartBody2500585419069135757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_35_35_29146.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab78fc6aaec82933338562751b6326d6.jpg","text":"TemporaryFile(/tmp/multipartBody2119342041826641308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_36_05_30243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/435d0ed802855541a82283cef5c0614b.jpg","text":"TemporaryFile(/tmp/multipartBody8125356488502211186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_34_05_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1c6119241d72f218a36d77689dd4a48d.jpg","text":"TemporaryFile(/tmp/multipartBody6834204418896395395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706897,"filename":"image_09052026_01_34_35_30266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906880","file1":"1416906878","file0":"1416906877","file4":"1416906884","file5":"1416906886","file3":"1416906882"},"map_files_photo_id_array":[{"photo_id":"1416906886","filename":"file5"},{"photo_id":"1416906880","filename":"file2"},{"photo_id":"1416906884","filename":"file4"},{"photo_id":"1416906878","filename":"file1"},{"photo_id":"1416906877","filename":"file0"},{"photo_id":"1416906882","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906877":["hashtag1","hashtag2"]},{"1416906886":["hashtag1","hashtag2"]},{"1416906882":["hashtag1","hashtag2"]},{"1416906884":["hashtag1","hashtag2"]},{"1416906878":["hashtag1","hashtag2"]},{"1416906880":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906877, 1416906886, 1416906882, 1416906884, 1416906878, 1416906880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88407611846924 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906883","1416906876","1416906885","1416906879","1416906887","1416906881"],"photo_ids_order":["1416906876","1416906879","1416906881","1416906883","1416906885","1416906887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7884c31f9bf623072b2539774c490c19.jpg","text":"TemporaryFile(/tmp/multipartBody7349707885379557234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_01_35_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0be97a1ee5fba7973facb2d79b717255.jpg","text":"TemporaryFile(/tmp/multipartBody1841865703370338313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_03_35_30245.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4c3ecb853096b23369a839bc002b8afd.jpg","text":"TemporaryFile(/tmp/multipartBody3325569722827863223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_01_04_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/40a0477dca68f39142041fa977ba6e02.jpg","text":"TemporaryFile(/tmp/multipartBody4091484899413030864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_03_05_30360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f80aacd75e8d4bfc1aa12da12a3166bb.jpg","text":"TemporaryFile(/tmp/multipartBody3602399118772172056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_00_34_29141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d66850dbd5ccc11bad8e676226f8a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8328895383623635967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534706674,"filename":"image_09052026_21_02_34_29194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906881","file1":"1416906879","file0":"1416906876","file4":"1416906885","file5":"1416906887","file3":"1416906883"},"map_files_photo_id_array":[{"photo_id":"1416906887","filename":"file5"},{"photo_id":"1416906881","filename":"file2"},{"photo_id":"1416906885","filename":"file4"},{"photo_id":"1416906879","filename":"file1"},{"photo_id":"1416906876","filename":"file0"},{"photo_id":"1416906883","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906883":["hashtag1","hashtag2"]},{"1416906876":["hashtag1","hashtag2"]},{"1416906885":["hashtag1","hashtag2"]},{"1416906879":["hashtag1","hashtag2"]},{"1416906887":["hashtag1","hashtag2"]},{"1416906881":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906883, 1416906876, 1416906885, 1416906879, 1416906887, 1416906881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.283613204956055 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:25:04.819594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/39/image_09052026_01_39_35_29234.jpg', '/home/pi/Desktop/images/09052026/01/39/image_09052026_01_40_05_30295.jpg', '/home/pi/Desktop/images/09052026/01/40/image_09052026_01_40_35_30193.jpg', '/home/pi/Desktop/images/09052026/01/41/image_09052026_01_41_35_29180.jpg', '/home/pi/Desktop/images/09052026/01/41/image_09052026_01_42_05_30219.jpg', '/home/pi/Desktop/images/09052026/01/42/image_09052026_01_42_36_30281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/39/image_09052026_01_39_35_29234.jpg
/home/pi/Desktop/images/09052026/01/39/image_09052026_01_40_05_30295.jpg
/home/pi/Desktop/images/09052026/01/40/image_09052026_01_40_35_30193.jpg
/home/pi/Desktop/images/09052026/01/41/image_09052026_01_41_35_29180.jpg
/home/pi/Desktop/images/09052026/01/41/image_09052026_01_42_05_30219.jpg
/home/pi/Desktop/images/09052026/01/42/image_09052026_01_42_36_30281.jpg
2026-05-11 23:25:04.886850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/58/image_09052026_20_58_34_30101.jpg', '/home/pi/Desktop/images/09052026/20/57/image_09052026_20_57_35_30216.jpg', '/home/pi/Desktop/images/09052026/20/56/image_09052026_20_57_05_30282.jpg', '/home/pi/Desktop/images/09052026/20/56/image_09052026_20_56_34_30155.jpg', '/home/pi/Desktop/images/09052026/20/55/image_09052026_20_56_04_29165.jpg', '/home/pi/Desktop/images/09052026/20/55/image_09052026_20_55_35_30189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/58/image_09052026_20_58_34_30101.jpg
/home/pi/Desktop/images/09052026/20/57/image_09052026_20_57_35_30216.jpg
/home/pi/Desktop/images/09052026/20/56/image_09052026_20_57_05_30282.jpg
/home/pi/Desktop/images/09052026/20/56/image_09052026_20_56_34_30155.jpg
/home/pi/Desktop/images/09052026/20/55/image_09052026_20_56_04_29165.jpg
/home/pi/Desktop/images/09052026/20/55/image_09052026_20_55_35_30189.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.095029354095459 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906891","1416906888","1416906897","1416906893","1416906895","1416906889"],"photo_ids_order":["1416906888","1416906889","1416906891","1416906893","1416906895","1416906897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/414baf3f822468251688ff9de0a32314.jpg","text":"TemporaryFile(/tmp/multipartBody4376155544992729294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_40_35_30193.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2beecb10c8c14f2344fa9670ffc883f.jpg","text":"TemporaryFile(/tmp/multipartBody1358408503534289426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_39_35_29234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fad139acdf3f274edd01dabfc0a41a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8711597366906526271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_42_36_30281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3bbb3c2e354d27a7b0eba9c9fb9c56b3.jpg","text":"TemporaryFile(/tmp/multipartBody4570629717899441054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_41_35_29180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4693f6e7ab5b9065e124f8c1f51200b7.jpg","text":"TemporaryFile(/tmp/multipartBody2659064008083751326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_42_05_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d8071a58f185ecf03c9cb61be70b54c8.jpg","text":"TemporaryFile(/tmp/multipartBody7029702470678936096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534767822,"filename":"image_09052026_01_40_05_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906891","file1":"1416906889","file0":"1416906888","file4":"1416906895","file5":"1416906897","file3":"1416906893"},"map_files_photo_id_array":[{"photo_id":"1416906897","filename":"file5"},{"photo_id":"1416906891","filename":"file2"},{"photo_id":"1416906895","filename":"file4"},{"photo_id":"1416906889","filename":"file1"},{"photo_id":"1416906888","filename":"file0"},{"photo_id":"1416906893","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906891":["hashtag1","hashtag2"]},{"1416906888":["hashtag1","hashtag2"]},{"1416906897":["hashtag1","hashtag2"]},{"1416906893":["hashtag1","hashtag2"]},{"1416906895":["hashtag1","hashtag2"]},{"1416906889":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906891, 1416906888, 1416906897, 1416906893, 1416906895, 1416906889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63581323623657 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:26:03.910848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/42/image_09052026_01_43_06_30289.jpg', '/home/pi/Desktop/images/09052026/01/43/image_09052026_01_44_05_30218.jpg', '/home/pi/Desktop/images/09052026/01/45/image_09052026_01_45_35_29334.jpg', '/home/pi/Desktop/images/09052026/01/51/image_09052026_01_51_35_30319.jpg', '/home/pi/Desktop/images/09052026/01/54/image_09052026_01_55_05_30313.jpg', '/home/pi/Desktop/images/09052026/01/55/image_09052026_01_55_35_30262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/42/image_09052026_01_43_06_30289.jpg
/home/pi/Desktop/images/09052026/01/43/image_09052026_01_44_05_30218.jpg
/home/pi/Desktop/images/09052026/01/45/image_09052026_01_45_35_29334.jpg
/home/pi/Desktop/images/09052026/01/51/image_09052026_01_51_35_30319.jpg
/home/pi/Desktop/images/09052026/01/54/image_09052026_01_55_05_30313.jpg
/home/pi/Desktop/images/09052026/01/55/image_09052026_01_55_35_30262.jpg
2026-05-11 23:26:04.007132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/58/image_09052026_20_58_34_30101.jpg', '/home/pi/Desktop/images/09052026/20/57/image_09052026_20_57_35_30216.jpg', '/home/pi/Desktop/images/09052026/20/56/image_09052026_20_57_05_30282.jpg', '/home/pi/Desktop/images/09052026/20/56/image_09052026_20_56_34_30155.jpg', '/home/pi/Desktop/images/09052026/20/55/image_09052026_20_56_04_29165.jpg', '/home/pi/Desktop/images/09052026/20/55/image_09052026_20_55_35_30189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/58/image_09052026_20_58_34_30101.jpg
/home/pi/Desktop/images/09052026/20/57/image_09052026_20_57_35_30216.jpg
/home/pi/Desktop/images/09052026/20/56/image_09052026_20_57_05_30282.jpg
/home/pi/Desktop/images/09052026/20/56/image_09052026_20_56_34_30155.jpg
/home/pi/Desktop/images/09052026/20/55/image_09052026_20_56_04_29165.jpg
/home/pi/Desktop/images/09052026/20/55/image_09052026_20_55_35_30189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906913","1416906907","1416906910","1416906900","1416906902","1416906905"],"photo_ids_order":["1416906900","1416906902","1416906905","1416906907","1416906910","1416906913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/fda7c125fecef774fba31a3e36206672.jpg","text":"TemporaryFile(/tmp/multipartBody4559269593603199050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_55_35_30189.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1d9eb67306e6d83e77ad7ea865588bb9.jpg","text":"TemporaryFile(/tmp/multipartBody8105694516820309835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_56_34_30155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a62ef0b65f2229cd908eab7cb0f962d0.jpg","text":"TemporaryFile(/tmp/multipartBody809788260176628417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_56_04_29165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f94104e7a73aab6b8343bd8346d4bfdd.jpg","text":"TemporaryFile(/tmp/multipartBody2388516989057682644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_58_34_30101.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b2e8571099710a33e5f865475a664749.jpg","text":"TemporaryFile(/tmp/multipartBody3575522328268447022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_57_35_30216.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1361177bd244aa896e11db37d34834f1.jpg","text":"TemporaryFile(/tmp/multipartBody2104824262894104707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826753,"filename":"image_09052026_20_57_05_30282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906905","file1":"1416906902","file0":"1416906900","file4":"1416906910","file5":"1416906913","file3":"1416906907"},"map_files_photo_id_array":[{"photo_id":"1416906913","filename":"file5"},{"photo_id":"1416906905","filename":"file2"},{"photo_id":"1416906910","filename":"file4"},{"photo_id":"1416906902","filename":"file1"},{"photo_id":"1416906900","filename":"file0"},{"photo_id":"1416906907","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906913":["hashtag1","hashtag2"]},{"1416906907":["hashtag1","hashtag2"]},{"1416906910":["hashtag1","hashtag2"]},{"1416906900":["hashtag1","hashtag2"]},{"1416906902":["hashtag1","hashtag2"]},{"1416906905":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906913, 1416906907, 1416906910, 1416906900, 1416906902, 1416906905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09490776062012 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906906","1416906909","1416906899","1416906903","1416906914","1416906911"],"photo_ids_order":["1416906899","1416906903","1416906906","1416906909","1416906911","1416906914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb1200537e497195ca45dce7c38ba9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1199627372230680603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_45_35_29334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8a90d2ec271bffbbc78d5985e0b2f152.jpg","text":"TemporaryFile(/tmp/multipartBody7581120927549251362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_51_35_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bd7c0abcefee9e29336508b239405636.jpg","text":"TemporaryFile(/tmp/multipartBody4078638310513957780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_43_06_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/181d7572bb6ba27389938ad3c13fa71f.jpg","text":"TemporaryFile(/tmp/multipartBody562201782162956969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_44_05_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef8867ff3aaf56ec33c3dc6955358808.jpg","text":"TemporaryFile(/tmp/multipartBody6770803544449324389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_55_35_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6a646bb8f9ae1510d84eecf168d25ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5368917287738225618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534826508,"filename":"image_09052026_01_55_05_30313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906906","file1":"1416906903","file0":"1416906899","file4":"1416906911","file5":"1416906914","file3":"1416906909"},"map_files_photo_id_array":[{"photo_id":"1416906914","filename":"file5"},{"photo_id":"1416906906","filename":"file2"},{"photo_id":"1416906911","filename":"file4"},{"photo_id":"1416906903","filename":"file1"},{"photo_id":"1416906899","filename":"file0"},{"photo_id":"1416906909","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906906":["hashtag1","hashtag2"]},{"1416906909":["hashtag1","hashtag2"]},{"1416906899":["hashtag1","hashtag2"]},{"1416906903":["hashtag1","hashtag2"]},{"1416906914":["hashtag1","hashtag2"]},{"1416906911":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906906, 1416906909, 1416906899, 1416906903, 1416906914, 1416906911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.073549032211304 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:27:04.522164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/26/image_11052026_23_27_14_30317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/26/image_11052026_23_27_14_30317.jpg
2026-05-11 23:27:04.658093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/26/image_11052026_23_27_14_30317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/26/image_11052026_23_27_14_30317.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7366786003112793 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906917"],"photo_id":"1416906917","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9ff85c6371f451d64044ea6b0763377.jpg","text":"TemporaryFile(/tmp/multipartBody101793929863327890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534885739,"filename":"image_11052026_23_27_14_30317.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906917"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906917"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.323592185974121 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:28:03.750293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/01/55/image_09052026_01_56_06_30328.jpg', '/home/pi/Desktop/images/09052026/01/57/image_09052026_01_57_35_30285.jpg', '/home/pi/Desktop/images/09052026/01/57/image_09052026_01_58_06_30326.jpg', '/home/pi/Desktop/images/09052026/01/58/image_09052026_01_58_35_29082.jpg', '/home/pi/Desktop/images/09052026/01/59/image_09052026_01_59_35_30249.jpg', '/home/pi/Desktop/images/09052026/01/59/image_09052026_02_00_06_30306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/01/55/image_09052026_01_56_06_30328.jpg
/home/pi/Desktop/images/09052026/01/57/image_09052026_01_57_35_30285.jpg
/home/pi/Desktop/images/09052026/01/57/image_09052026_01_58_06_30326.jpg
/home/pi/Desktop/images/09052026/01/58/image_09052026_01_58_35_29082.jpg
/home/pi/Desktop/images/09052026/01/59/image_09052026_01_59_35_30249.jpg
/home/pi/Desktop/images/09052026/01/59/image_09052026_02_00_06_30306.jpg
2026-05-11 23:28:03.755987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/54/image_09052026_20_55_05_30095.jpg', '/home/pi/Desktop/images/09052026/20/54/image_09052026_20_54_35_30030.jpg', '/home/pi/Desktop/images/09052026/20/53/image_09052026_20_54_05_30396.jpg', '/home/pi/Desktop/images/09052026/20/53/image_09052026_20_53_34_29411.jpg', '/home/pi/Desktop/images/09052026/20/52/image_09052026_20_53_05_30289.jpg', '/home/pi/Desktop/images/09052026/20/52/image_09052026_20_52_35_30324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/54/image_09052026_20_55_05_30095.jpg
/home/pi/Desktop/images/09052026/20/54/image_09052026_20_54_35_30030.jpg
/home/pi/Desktop/images/09052026/20/53/image_09052026_20_54_05_30396.jpg
/home/pi/Desktop/images/09052026/20/53/image_09052026_20_53_34_29411.jpg
/home/pi/Desktop/images/09052026/20/52/image_09052026_20_53_05_30289.jpg
/home/pi/Desktop/images/09052026/20/52/image_09052026_20_52_35_30324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906928","1416906922","1416906919","1416906924","1416906920","1416906926"],"photo_ids_order":["1416906919","1416906920","1416906922","1416906924","1416906926","1416906928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b82f224e8a3100ccdaacfd3478d24f21.jpg","text":"TemporaryFile(/tmp/multipartBody6414775297116180801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_02_00_06_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/81d78ea303a96eb806ecc9451a9f1b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4594829505197530279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_01_58_06_30326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1e6dd12406e99619728ea42867484564.jpg","text":"TemporaryFile(/tmp/multipartBody1842005748184788240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_01_56_06_30328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/70fe8e12595aa557348314446708c4d8.jpg","text":"TemporaryFile(/tmp/multipartBody3119322615655259435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_01_58_35_29082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67d8ca40f92335e1ec6a24757bcd8241.jpg","text":"TemporaryFile(/tmp/multipartBody8545492058438274949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_01_57_35_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4114d4226de89b40599a7c38c831272c.jpg","text":"TemporaryFile(/tmp/multipartBody6747611575594279834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946626,"filename":"image_09052026_01_59_35_30249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906922","file1":"1416906920","file0":"1416906919","file4":"1416906926","file5":"1416906928","file3":"1416906924"},"map_files_photo_id_array":[{"photo_id":"1416906928","filename":"file5"},{"photo_id":"1416906922","filename":"file2"},{"photo_id":"1416906926","filename":"file4"},{"photo_id":"1416906920","filename":"file1"},{"photo_id":"1416906919","filename":"file0"},{"photo_id":"1416906924","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906928":["hashtag1","hashtag2"]},{"1416906922":["hashtag1","hashtag2"]},{"1416906919":["hashtag1","hashtag2"]},{"1416906924":["hashtag1","hashtag2"]},{"1416906920":["hashtag1","hashtag2"]},{"1416906926":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906928, 1416906922, 1416906919, 1416906924, 1416906920, 1416906926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58283233642578 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906925","1416906918","1416906927","1416906921","1416906929","1416906923"],"photo_ids_order":["1416906918","1416906921","1416906923","1416906925","1416906927","1416906929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e33c0eeeddd92e6368ef8421ef2d1831.jpg","text":"TemporaryFile(/tmp/multipartBody5451012890781268276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_53_34_29411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3abb237e67f25d26dcc67f9436030910.jpg","text":"TemporaryFile(/tmp/multipartBody3813217813837906346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_55_05_30095.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1563f3b9c13f22322179d54d8145b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3143908942324961257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_53_05_30289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8b391ee132f5e093e57493f824eba39d.jpg","text":"TemporaryFile(/tmp/multipartBody8009039110545734500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_54_35_30030.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8533cfececb16995d4bdebfd266efafd.jpg","text":"TemporaryFile(/tmp/multipartBody2299283743027410288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_52_35_30324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9ff015db136e8a7a6fe78b2a5cdc6f8.jpg","text":"TemporaryFile(/tmp/multipartBody7443735946013522804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778534946381,"filename":"image_09052026_20_54_05_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906923","file1":"1416906921","file0":"1416906918","file4":"1416906927","file5":"1416906929","file3":"1416906925"},"map_files_photo_id_array":[{"photo_id":"1416906929","filename":"file5"},{"photo_id":"1416906923","filename":"file2"},{"photo_id":"1416906927","filename":"file4"},{"photo_id":"1416906921","filename":"file1"},{"photo_id":"1416906918","filename":"file0"},{"photo_id":"1416906925","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906925":["hashtag1","hashtag2"]},{"1416906918":["hashtag1","hashtag2"]},{"1416906927":["hashtag1","hashtag2"]},{"1416906921":["hashtag1","hashtag2"]},{"1416906929":["hashtag1","hashtag2"]},{"1416906923":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906925, 1416906918, 1416906927, 1416906921, 1416906929, 1416906923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0003547668457 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:29:04.230530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/18/image_11052026_23_19_14_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/18/image_11052026_23_19_14_30319.jpg
2026-05-11 23:29:04.549221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/28/image_11052026_23_29_13_29370.jpg', '/home/pi/Desktop/images/11052026/23/28/image_11052026_23_28_44_30323.jpg', '/home/pi/Desktop/images/11052026/23/18/image_11052026_23_19_14_30319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/28/image_11052026_23_29_13_29370.jpg
/home/pi/Desktop/images/11052026/23/28/image_11052026_23_28_44_30323.jpg
/home/pi/Desktop/images/11052026/23/18/image_11052026_23_19_14_30319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906930"],"photo_id":"1416906930","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/08a773244bba247c9efa445b5aada41e.jpg","text":"TemporaryFile(/tmp/multipartBody6323965894334597802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535005461,"filename":"image_11052026_23_19_14_30319.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906930"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906930"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.186323642730713 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906931","1416906934","1416906933"],"photo_ids_order":["1416906931","1416906933","1416906934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0df7647d128ee67f5d7e629542cbb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5592793597345015903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535006057,"filename":"image_11052026_23_29_13_29370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/347ab99ea70d602eca0bf9da7c9b1510.jpg","text":"TemporaryFile(/tmp/multipartBody3465534329909512118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535006057,"filename":"image_11052026_23_19_14_30319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/124c11dc06552cdcfbd88269e9f437e0.jpg","text":"TemporaryFile(/tmp/multipartBody4264457723212417130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535006057,"filename":"image_11052026_23_28_44_30323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906934","file1":"1416906933","file0":"1416906931"},"map_files_photo_id_array":[{"photo_id":"1416906934","filename":"file2"},{"photo_id":"1416906933","filename":"file1"},{"photo_id":"1416906931","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906931":["hashtag1","hashtag2"]},{"1416906934":["hashtag1","hashtag2"]},{"1416906933":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906931, 1416906934, 1416906933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.964650630950928 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:30:03.267847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/00/image_09052026_02_01_05_30260.jpg', '/home/pi/Desktop/images/09052026/02/01/image_09052026_02_01_35_30295.jpg', '/home/pi/Desktop/images/09052026/02/01/image_09052026_02_02_06_30355.jpg', '/home/pi/Desktop/images/09052026/02/02/image_09052026_02_02_35_29180.jpg', '/home/pi/Desktop/images/09052026/02/02/image_09052026_02_03_05_30234.jpg', '/home/pi/Desktop/images/09052026/02/04/image_09052026_02_05_05_30129.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/00/image_09052026_02_01_05_30260.jpg
/home/pi/Desktop/images/09052026/02/01/image_09052026_02_01_35_30295.jpg
/home/pi/Desktop/images/09052026/02/01/image_09052026_02_02_06_30355.jpg
/home/pi/Desktop/images/09052026/02/02/image_09052026_02_02_35_29180.jpg
/home/pi/Desktop/images/09052026/02/02/image_09052026_02_03_05_30234.jpg
/home/pi/Desktop/images/09052026/02/04/image_09052026_02_05_05_30129.jpg
2026-05-11 23:30:03.342208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/51/image_09052026_20_52_04_29310.jpg', '/home/pi/Desktop/images/09052026/20/51/image_09052026_20_51_35_30376.jpg', '/home/pi/Desktop/images/09052026/20/50/image_09052026_20_51_05_30344.jpg', '/home/pi/Desktop/images/09052026/20/50/image_09052026_20_50_34_29270.jpg', '/home/pi/Desktop/images/09052026/20/49/image_09052026_20_50_05_30247.jpg', '/home/pi/Desktop/images/09052026/20/49/image_09052026_20_49_35_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/51/image_09052026_20_52_04_29310.jpg
/home/pi/Desktop/images/09052026/20/51/image_09052026_20_51_35_30376.jpg
/home/pi/Desktop/images/09052026/20/50/image_09052026_20_51_05_30344.jpg
/home/pi/Desktop/images/09052026/20/50/image_09052026_20_50_34_29270.jpg
/home/pi/Desktop/images/09052026/20/49/image_09052026_20_50_05_30247.jpg
/home/pi/Desktop/images/09052026/20/49/image_09052026_20_49_35_30279.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9557020664215088 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906943","1416906940","1416906937","1416906945","1416906947","1416906938"],"photo_ids_order":["1416906937","1416906938","1416906940","1416906943","1416906945","1416906947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1cdbfb14ab33949a363733edcaf7a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8018602387610010977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_02_35_29180.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b54aec3fcd174401c30669f35523c16d.jpg","text":"TemporaryFile(/tmp/multipartBody5739357983615947637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_02_06_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/44c7260169b08d32a8d8d7eccb58932c.jpg","text":"TemporaryFile(/tmp/multipartBody3903947370635052924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_01_05_30260.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e2645b64b0d5702d2e88bd6b94a1c978.jpg","text":"TemporaryFile(/tmp/multipartBody5851673590636839567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_03_05_30234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/862246f24dc4a2cf96f2b83f97560217.jpg","text":"TemporaryFile(/tmp/multipartBody650888895411006784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_05_05_30129.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8698d20ec3fb09be2d6c329c0b614a54.jpg","text":"TemporaryFile(/tmp/multipartBody787222393366017251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535066073,"filename":"image_09052026_02_01_35_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906940","file1":"1416906938","file0":"1416906937","file4":"1416906945","file5":"1416906947","file3":"1416906943"},"map_files_photo_id_array":[{"photo_id":"1416906947","filename":"file5"},{"photo_id":"1416906940","filename":"file2"},{"photo_id":"1416906945","filename":"file4"},{"photo_id":"1416906938","filename":"file1"},{"photo_id":"1416906937","filename":"file0"},{"photo_id":"1416906943","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906943":["hashtag1","hashtag2"]},{"1416906940":["hashtag1","hashtag2"]},{"1416906937":["hashtag1","hashtag2"]},{"1416906945":["hashtag1","hashtag2"]},{"1416906947":["hashtag1","hashtag2"]},{"1416906938":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906943, 1416906940, 1416906937, 1416906945, 1416906947, 1416906938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.360519886016846 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:31:04.284682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/29/image_11052026_23_29_44_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/29/image_11052026_23_29_44_30224.jpg
2026-05-11 23:31:04.364943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/29/image_11052026_23_29_44_30224.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/29/image_11052026_23_29_44_30224.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7902460098266602 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906948"],"photo_id":"1416906948","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c614dfde02a0f08708715e3468f791d9.jpg","text":"TemporaryFile(/tmp/multipartBody3140190876455521978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535125474,"filename":"image_11052026_23_29_44_30224.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906948"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906948"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.422121524810791 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:32:02.985410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/05/image_09052026_02_05_35_30325.jpg', '/home/pi/Desktop/images/09052026/02/10/image_09052026_02_10_35_29106.jpg', '/home/pi/Desktop/images/09052026/02/11/image_09052026_02_11_35_30270.jpg', '/home/pi/Desktop/images/09052026/02/11/image_09052026_02_12_06_30300.jpg', '/home/pi/Desktop/images/09052026/02/12/image_09052026_02_12_35_29210.jpg', '/home/pi/Desktop/images/09052026/02/12/image_09052026_02_13_05_30293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/05/image_09052026_02_05_35_30325.jpg
/home/pi/Desktop/images/09052026/02/10/image_09052026_02_10_35_29106.jpg
/home/pi/Desktop/images/09052026/02/11/image_09052026_02_11_35_30270.jpg
/home/pi/Desktop/images/09052026/02/11/image_09052026_02_12_06_30300.jpg
/home/pi/Desktop/images/09052026/02/12/image_09052026_02_12_35_29210.jpg
/home/pi/Desktop/images/09052026/02/12/image_09052026_02_13_05_30293.jpg
2026-05-11 23:32:03.162131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/30/image_11052026_23_30_44_30329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/30/image_11052026_23_30_44_30329.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906949"],"photo_id":"1416906949","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/06c09c31b22429f33551bc095416abc1.jpg","text":"TemporaryFile(/tmp/multipartBody5517195091185165635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535184380,"filename":"image_11052026_23_30_44_30329.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416906949"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416906949"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.550469875335693 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906952","1416906955","1416906954","1416906951","1416906950","1416906953"],"photo_ids_order":["1416906950","1416906951","1416906952","1416906953","1416906954","1416906955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7faa854f77aa33f98b5a4b51118e833a.jpg","text":"TemporaryFile(/tmp/multipartBody4105346103654452734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_11_35_30270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21dbcf41fb6a53869de818fb117981eb.jpg","text":"TemporaryFile(/tmp/multipartBody8863954833588706686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_13_05_30293.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c2e75e2fd46148ad1433fb5ea705086f.jpg","text":"TemporaryFile(/tmp/multipartBody1774618556107065341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_12_35_29210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6269c8da6a97f87242cacbd3526f3fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8221921351048755539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_10_35_29106.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d229fb6a83819f77fecfa0d443da2010.jpg","text":"TemporaryFile(/tmp/multipartBody60109264890347181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_05_35_30325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4cd00a055917f5acd6bdf5b1978d1e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3229952800770467805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535185236,"filename":"image_09052026_02_12_06_30300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906952","file1":"1416906951","file0":"1416906950","file4":"1416906954","file5":"1416906955","file3":"1416906953"},"map_files_photo_id_array":[{"photo_id":"1416906955","filename":"file5"},{"photo_id":"1416906952","filename":"file2"},{"photo_id":"1416906954","filename":"file4"},{"photo_id":"1416906951","filename":"file1"},{"photo_id":"1416906950","filename":"file0"},{"photo_id":"1416906953","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906952":["hashtag1","hashtag2"]},{"1416906955":["hashtag1","hashtag2"]},{"1416906954":["hashtag1","hashtag2"]},{"1416906951":["hashtag1","hashtag2"]},{"1416906950":["hashtag1","hashtag2"]},{"1416906953":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906952, 1416906955, 1416906954, 1416906951, 1416906950, 1416906953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72559332847595 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:33:04.798093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/32/image_11052026_23_32_44_29315.jpg', '/home/pi/Desktop/images/11052026/23/32/image_11052026_23_33_14_30368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/32/image_11052026_23_32_44_29315.jpg
/home/pi/Desktop/images/11052026/23/32/image_11052026_23_33_14_30368.jpg
2026-05-11 23:33:04.885795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/32/image_11052026_23_33_14_30368.jpg', '/home/pi/Desktop/images/11052026/23/32/image_11052026_23_32_44_29315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/32/image_11052026_23_33_14_30368.jpg
/home/pi/Desktop/images/11052026/23/32/image_11052026_23_32_44_29315.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1886940002441406 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906957","1416906956"],"photo_ids_order":["1416906956","1416906957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c39443d9c5491d7a26aab072438b1ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5388399397041300326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535246381,"filename":"image_11052026_23_33_14_30368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8514655e45f72869ecb7af0a4794b921.jpg","text":"TemporaryFile(/tmp/multipartBody4614274637418108957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535246381,"filename":"image_11052026_23_32_44_29315.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416906957","file0":"1416906956"},"map_files_photo_id_array":[{"photo_id":"1416906957","filename":"file1"},{"photo_id":"1416906956","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906957":["hashtag1","hashtag2"]},{"1416906956":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906957, 1416906956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.499897956848145 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:34:03.575714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/51/image_09052026_20_52_04_29310.jpg', '/home/pi/Desktop/images/09052026/20/51/image_09052026_20_51_35_30376.jpg', '/home/pi/Desktop/images/09052026/20/50/image_09052026_20_51_05_30344.jpg', '/home/pi/Desktop/images/09052026/20/50/image_09052026_20_50_34_29270.jpg', '/home/pi/Desktop/images/09052026/20/49/image_09052026_20_50_05_30247.jpg', '/home/pi/Desktop/images/09052026/20/49/image_09052026_20_49_35_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/51/image_09052026_20_52_04_29310.jpg
/home/pi/Desktop/images/09052026/20/51/image_09052026_20_51_35_30376.jpg
/home/pi/Desktop/images/09052026/20/50/image_09052026_20_51_05_30344.jpg
/home/pi/Desktop/images/09052026/20/50/image_09052026_20_50_34_29270.jpg
/home/pi/Desktop/images/09052026/20/49/image_09052026_20_50_05_30247.jpg
/home/pi/Desktop/images/09052026/20/49/image_09052026_20_49_35_30279.jpg
2026-05-11 23:34:03.541752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/13/image_09052026_02_13_35_30337.jpg', '/home/pi/Desktop/images/09052026/02/13/image_09052026_02_14_06_30324.jpg', '/home/pi/Desktop/images/09052026/02/14/image_09052026_02_14_35_29059.jpg', '/home/pi/Desktop/images/09052026/02/14/image_09052026_02_15_05_30238.jpg', '/home/pi/Desktop/images/09052026/02/15/image_09052026_02_15_35_30219.jpg', '/home/pi/Desktop/images/09052026/02/15/image_09052026_02_16_06_30291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/13/image_09052026_02_13_35_30337.jpg
/home/pi/Desktop/images/09052026/02/13/image_09052026_02_14_06_30324.jpg
/home/pi/Desktop/images/09052026/02/14/image_09052026_02_14_35_29059.jpg
/home/pi/Desktop/images/09052026/02/14/image_09052026_02_15_05_30238.jpg
/home/pi/Desktop/images/09052026/02/15/image_09052026_02_15_35_30219.jpg
/home/pi/Desktop/images/09052026/02/15/image_09052026_02_16_06_30291.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906970","1416906973","1416906975","1416906966","1416906971","1416906968"],"photo_ids_order":["1416906966","1416906968","1416906970","1416906971","1416906973","1416906975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8bd851b51c28a3114c6361a7e6f8cf13.jpg","text":"TemporaryFile(/tmp/multipartBody7143837627735000216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_14_35_29059.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7266702f80ee4499b016ef3d12d23ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8940558702440043516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_15_35_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2c1b087ca795daa66b8adfe0a288e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6248292183694833154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_16_06_30291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/eefb99f9f4a75a611bcc845198a312ec.jpg","text":"TemporaryFile(/tmp/multipartBody7482156827991926129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_13_35_30337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d1d6241e681efd7b18565f43ee20b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody667131625217699972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_15_05_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6ebaa87c8c368fee6eb68096402b344b.jpg","text":"TemporaryFile(/tmp/multipartBody1395781388056013286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306657,"filename":"image_09052026_02_14_06_30324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906970","file1":"1416906968","file0":"1416906966","file4":"1416906973","file5":"1416906975","file3":"1416906971"},"map_files_photo_id_array":[{"photo_id":"1416906975","filename":"file5"},{"photo_id":"1416906970","filename":"file2"},{"photo_id":"1416906973","filename":"file4"},{"photo_id":"1416906968","filename":"file1"},{"photo_id":"1416906966","filename":"file0"},{"photo_id":"1416906971","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906970":["hashtag1","hashtag2"]},{"1416906973":["hashtag1","hashtag2"]},{"1416906975":["hashtag1","hashtag2"]},{"1416906966":["hashtag1","hashtag2"]},{"1416906971":["hashtag1","hashtag2"]},{"1416906968":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906970, 1416906973, 1416906975, 1416906966, 1416906971, 1416906968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97710919380188 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906976","1416906967","1416906972","1416906969","1416906965","1416906974"],"photo_ids_order":["1416906965","1416906967","1416906969","1416906972","1416906974","1416906976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5b968ff1a01d5814f1080fc3158103df.jpg","text":"TemporaryFile(/tmp/multipartBody3974384289369007247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_49_35_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a53b68aa9c7c6dc15eba75aff7f571f5.jpg","text":"TemporaryFile(/tmp/multipartBody5964706062533696857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_51_35_30376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4ce2bfd4faf3a6032eca8cdc6d61e35d.jpg","text":"TemporaryFile(/tmp/multipartBody9062792416938037170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_50_34_29270.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ed374866b5883834dca4323ab95137f.jpg","text":"TemporaryFile(/tmp/multipartBody877498260517021125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_51_05_30344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4a497b2ed3c46a45d4d5e0afa71a0fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6086011981796124225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_52_04_29310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6411f3f71d21a2fd8a4f0bc432d89ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8533512187671505125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535306012,"filename":"image_09052026_20_50_05_30247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906969","file1":"1416906967","file0":"1416906965","file4":"1416906974","file5":"1416906976","file3":"1416906972"},"map_files_photo_id_array":[{"photo_id":"1416906976","filename":"file5"},{"photo_id":"1416906969","filename":"file2"},{"photo_id":"1416906974","filename":"file4"},{"photo_id":"1416906967","filename":"file1"},{"photo_id":"1416906965","filename":"file0"},{"photo_id":"1416906972","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906976":["hashtag1","hashtag2"]},{"1416906967":["hashtag1","hashtag2"]},{"1416906972":["hashtag1","hashtag2"]},{"1416906969":["hashtag1","hashtag2"]},{"1416906965":["hashtag1","hashtag2"]},{"1416906974":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906976, 1416906967, 1416906972, 1416906969, 1416906965, 1416906974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.446630001068115 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:35:04.594756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/33/image_11052026_23_33_44_30349.jpg', '/home/pi/Desktop/images/11052026/23/33/image_11052026_23_34_14_29176.jpg', '/home/pi/Desktop/images/11052026/23/34/image_11052026_23_34_44_30196.jpg', '/home/pi/Desktop/images/11052026/23/34/image_11052026_23_35_14_30279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/33/image_11052026_23_33_44_30349.jpg
/home/pi/Desktop/images/11052026/23/33/image_11052026_23_34_14_29176.jpg
/home/pi/Desktop/images/11052026/23/34/image_11052026_23_34_44_30196.jpg
/home/pi/Desktop/images/11052026/23/34/image_11052026_23_35_14_30279.jpg
2026-05-11 23:35:04.556346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/34/image_11052026_23_35_14_30279.jpg', '/home/pi/Desktop/images/11052026/23/34/image_11052026_23_34_44_30196.jpg', '/home/pi/Desktop/images/11052026/23/33/image_11052026_23_34_14_29176.jpg', '/home/pi/Desktop/images/11052026/23/33/image_11052026_23_33_44_30349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/34/image_11052026_23_35_14_30279.jpg
/home/pi/Desktop/images/11052026/23/34/image_11052026_23_34_44_30196.jpg
/home/pi/Desktop/images/11052026/23/33/image_11052026_23_34_14_29176.jpg
/home/pi/Desktop/images/11052026/23/33/image_11052026_23_33_44_30349.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8384511470794678 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906982","1416906978","1416906977","1416906980"],"photo_ids_order":["1416906977","1416906978","1416906980","1416906982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82e638dfa77a7596577f6233a6eed6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5729905877307068101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535366817,"filename":"image_11052026_23_35_14_30279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d7483770f35e14ebbbf3ef0c8afa7449.jpg","text":"TemporaryFile(/tmp/multipartBody2730110239981054057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535366817,"filename":"image_11052026_23_34_14_29176.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b59d968b437ff07ed1b3d0a8a8b32899.jpg","text":"TemporaryFile(/tmp/multipartBody8412627382003919896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535366817,"filename":"image_11052026_23_33_44_30349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ec76fb1261ba821a29c735ac2be01635.jpg","text":"TemporaryFile(/tmp/multipartBody6730928394148619143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535366817,"filename":"image_11052026_23_34_44_30196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906980","file1":"1416906978","file0":"1416906977","file3":"1416906982"},"map_files_photo_id_array":[{"photo_id":"1416906980","filename":"file2"},{"photo_id":"1416906978","filename":"file1"},{"photo_id":"1416906977","filename":"file0"},{"photo_id":"1416906982","filename":"file3"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416906982":["hashtag1","hashtag2"]},{"1416906978":["hashtag1","hashtag2"]},{"1416906977":["hashtag1","hashtag2"]},{"1416906980":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416906982, 1416906978, 1416906977, 1416906980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.81362271308899 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:36:02.964350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/16/image_09052026_02_16_35_29274.jpg', '/home/pi/Desktop/images/09052026/02/17/image_09052026_02_18_06_30331.jpg', '/home/pi/Desktop/images/09052026/02/18/image_09052026_02_18_35_29095.jpg', '/home/pi/Desktop/images/09052026/02/19/image_09052026_02_19_35_30350.jpg', '/home/pi/Desktop/images/09052026/02/19/image_09052026_02_20_06_30339.jpg', '/home/pi/Desktop/images/09052026/02/20/image_09052026_02_20_35_29344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/16/image_09052026_02_16_35_29274.jpg
/home/pi/Desktop/images/09052026/02/17/image_09052026_02_18_06_30331.jpg
/home/pi/Desktop/images/09052026/02/18/image_09052026_02_18_35_29095.jpg
/home/pi/Desktop/images/09052026/02/19/image_09052026_02_19_35_30350.jpg
/home/pi/Desktop/images/09052026/02/19/image_09052026_02_20_06_30339.jpg
/home/pi/Desktop/images/09052026/02/20/image_09052026_02_20_35_29344.jpg
2026-05-11 23:36:03.353849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/48/image_09052026_20_49_04_30413.jpg', '/home/pi/Desktop/images/09052026/20/48/image_09052026_20_48_34_29227.jpg', '/home/pi/Desktop/images/09052026/20/47/image_09052026_20_47_34_30255.jpg', '/home/pi/Desktop/images/09052026/20/46/image_09052026_20_46_35_30219.jpg', '/home/pi/Desktop/images/09052026/20/45/image_09052026_20_46_05_30477.jpg', '/home/pi/Desktop/images/09052026/20/45/image_09052026_20_45_34_29268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/48/image_09052026_20_49_04_30413.jpg
/home/pi/Desktop/images/09052026/20/48/image_09052026_20_48_34_29227.jpg
/home/pi/Desktop/images/09052026/20/47/image_09052026_20_47_34_30255.jpg
/home/pi/Desktop/images/09052026/20/46/image_09052026_20_46_35_30219.jpg
/home/pi/Desktop/images/09052026/20/45/image_09052026_20_46_05_30477.jpg
/home/pi/Desktop/images/09052026/20/45/image_09052026_20_45_34_29268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906990","1416906996","1416906998","1416906992","1416906994","1416906988"],"photo_ids_order":["1416906988","1416906990","1416906992","1416906994","1416906996","1416906998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/93ba4142dbbdff8762d52b98a4f227e3.jpg","text":"TemporaryFile(/tmp/multipartBody3201678916990195277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_18_06_30331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/82ba7c327fcb65cc72b26db4e8e5d34b.jpg","text":"TemporaryFile(/tmp/multipartBody2771615547161033072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_20_06_30339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/da0f6745aacb6dc5b2abdc3712c06c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2890080975569406892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_20_35_29344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df55bcb7477d37b9e84c1cd63ebfc043.jpg","text":"TemporaryFile(/tmp/multipartBody5565469705359190557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_18_35_29095.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c270bca6666152adce4084606c0b4c21.jpg","text":"TemporaryFile(/tmp/multipartBody8357253329912471122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_19_35_30350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bcee91ca32310ebea778de989b82e75a.jpg","text":"TemporaryFile(/tmp/multipartBody8296363584254207668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425111,"filename":"image_09052026_02_16_35_29274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906992","file1":"1416906990","file0":"1416906988","file4":"1416906996","file5":"1416906998","file3":"1416906994"},"map_files_photo_id_array":[{"photo_id":"1416906998","filename":"file5"},{"photo_id":"1416906992","filename":"file2"},{"photo_id":"1416906996","filename":"file4"},{"photo_id":"1416906990","filename":"file1"},{"photo_id":"1416906988","filename":"file0"},{"photo_id":"1416906994","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906990":["hashtag1","hashtag2"]},{"1416906996":["hashtag1","hashtag2"]},{"1416906998":["hashtag1","hashtag2"]},{"1416906992":["hashtag1","hashtag2"]},{"1416906994":["hashtag1","hashtag2"]},{"1416906988":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906990, 1416906996, 1416906998, 1416906992, 1416906994, 1416906988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12629961967468 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416906997","1416906991","1416906999","1416906993","1416906995","1416906989"],"photo_ids_order":["1416906989","1416906991","1416906993","1416906995","1416906997","1416906999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/65e97ff5b7c301b9b343cdc2ad7dc1e9.jpg","text":"TemporaryFile(/tmp/multipartBody2593259081995470198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_46_05_30477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b5f8864422937615e98caf62124f3084.jpg","text":"TemporaryFile(/tmp/multipartBody5566685857548245485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_48_34_29227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/408f67f674185cd7ab1cea9ba27cd54b.jpg","text":"TemporaryFile(/tmp/multipartBody1615277275024278223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_45_34_29268.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1083cfb4680755fe854ac143ed5a195.jpg","text":"TemporaryFile(/tmp/multipartBody1191443690491829430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_47_34_30255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1f135451f0645de5e7e52bec4daeb462.jpg","text":"TemporaryFile(/tmp/multipartBody2953342483279968018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_46_35_30219.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6cfba9dd7e6c0327179804e4fdf97620.jpg","text":"TemporaryFile(/tmp/multipartBody7725511083350783047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535425990,"filename":"image_09052026_20_49_04_30413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416906993","file1":"1416906991","file0":"1416906989","file4":"1416906997","file5":"1416906999","file3":"1416906995"},"map_files_photo_id_array":[{"photo_id":"1416906999","filename":"file5"},{"photo_id":"1416906993","filename":"file2"},{"photo_id":"1416906997","filename":"file4"},{"photo_id":"1416906991","filename":"file1"},{"photo_id":"1416906989","filename":"file0"},{"photo_id":"1416906995","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416906997":["hashtag1","hashtag2"]},{"1416906991":["hashtag1","hashtag2"]},{"1416906999":["hashtag1","hashtag2"]},{"1416906993":["hashtag1","hashtag2"]},{"1416906995":["hashtag1","hashtag2"]},{"1416906989":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416906997, 1416906991, 1416906999, 1416906993, 1416906995, 1416906989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.236528396606445 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:37:03.935472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/44/image_09052026_20_45_05_30272.jpg', '/home/pi/Desktop/images/09052026/20/44/image_09052026_20_44_35_30275.jpg', '/home/pi/Desktop/images/09052026/20/43/image_09052026_20_44_04_29388.jpg', '/home/pi/Desktop/images/09052026/20/43/image_09052026_20_43_35_30357.jpg', '/home/pi/Desktop/images/09052026/20/42/image_09052026_20_43_05_30360.jpg', '/home/pi/Desktop/images/09052026/20/42/image_09052026_20_42_34_29263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/44/image_09052026_20_45_05_30272.jpg
/home/pi/Desktop/images/09052026/20/44/image_09052026_20_44_35_30275.jpg
/home/pi/Desktop/images/09052026/20/43/image_09052026_20_44_04_29388.jpg
/home/pi/Desktop/images/09052026/20/43/image_09052026_20_43_35_30357.jpg
/home/pi/Desktop/images/09052026/20/42/image_09052026_20_43_05_30360.jpg
/home/pi/Desktop/images/09052026/20/42/image_09052026_20_42_34_29263.jpg
2026-05-11 23:37:04.147093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/21/image_09052026_02_22_05_30262.jpg', '/home/pi/Desktop/images/09052026/02/22/image_09052026_02_22_35_30355.jpg', '/home/pi/Desktop/images/09052026/02/29/image_09052026_02_29_35_30387.jpg', '/home/pi/Desktop/images/09052026/02/29/image_09052026_02_30_06_30292.jpg', '/home/pi/Desktop/images/09052026/02/30/image_09052026_02_31_05_30226.jpg', '/home/pi/Desktop/images/09052026/02/31/image_09052026_02_32_06_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/21/image_09052026_02_22_05_30262.jpg
/home/pi/Desktop/images/09052026/02/22/image_09052026_02_22_35_30355.jpg
/home/pi/Desktop/images/09052026/02/29/image_09052026_02_29_35_30387.jpg
/home/pi/Desktop/images/09052026/02/29/image_09052026_02_30_06_30292.jpg
/home/pi/Desktop/images/09052026/02/30/image_09052026_02_31_05_30226.jpg
/home/pi/Desktop/images/09052026/02/31/image_09052026_02_32_06_30346.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.517282724380493 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907009","1416907000","1416907003","1416907005","1416907001","1416907007"],"photo_ids_order":["1416907000","1416907001","1416907003","1416907005","1416907007","1416907009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/37a1e2e74683bdb91fce8b9e3462dae8.jpg","text":"TemporaryFile(/tmp/multipartBody8784363639579723314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_42_34_29263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/433ab4b0f0735ba768c3d149e3f7a733.jpg","text":"TemporaryFile(/tmp/multipartBody6702899216922985894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_45_05_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4da49d5ab19e8fe5cf1156301f116b34.jpg","text":"TemporaryFile(/tmp/multipartBody554606134023161484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_44_04_29388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/601d9ccac58134e390a1ad8b2a9ef498.jpg","text":"TemporaryFile(/tmp/multipartBody4809255581991264587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_43_35_30357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1cb67e30fc221b5f73e63b605b551b89.jpg","text":"TemporaryFile(/tmp/multipartBody526775576805638011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_44_35_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9ccfe923b9a51c053f97a61a9bbf9715.jpg","text":"TemporaryFile(/tmp/multipartBody4852397688029453543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535486124,"filename":"image_09052026_20_43_05_30360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907003","file1":"1416907001","file0":"1416907000","file4":"1416907007","file5":"1416907009","file3":"1416907005"},"map_files_photo_id_array":[{"photo_id":"1416907009","filename":"file5"},{"photo_id":"1416907003","filename":"file2"},{"photo_id":"1416907007","filename":"file4"},{"photo_id":"1416907001","filename":"file1"},{"photo_id":"1416907000","filename":"file0"},{"photo_id":"1416907005","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907009":["hashtag1","hashtag2"]},{"1416907000":["hashtag1","hashtag2"]},{"1416907003":["hashtag1","hashtag2"]},{"1416907005":["hashtag1","hashtag2"]},{"1416907001":["hashtag1","hashtag2"]},{"1416907007":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907009, 1416907000, 1416907003, 1416907005, 1416907001, 1416907007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95404291152954 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:38:03.574604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/37/image_09052026_20_37_35_30312.jpg', '/home/pi/Desktop/images/09052026/20/32/image_09052026_20_33_04_30214.jpg', '/home/pi/Desktop/images/09052026/20/24/image_09052026_20_25_04_29211.jpg', '/home/pi/Desktop/images/09052026/20/22/image_09052026_20_23_05_30215.jpg', '/home/pi/Desktop/images/09052026/20/21/image_09052026_20_22_05_30348.jpg', '/home/pi/Desktop/images/09052026/20/20/image_09052026_20_21_05_30187.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/37/image_09052026_20_37_35_30312.jpg
/home/pi/Desktop/images/09052026/20/32/image_09052026_20_33_04_30214.jpg
/home/pi/Desktop/images/09052026/20/24/image_09052026_20_25_04_29211.jpg
/home/pi/Desktop/images/09052026/20/22/image_09052026_20_23_05_30215.jpg
/home/pi/Desktop/images/09052026/20/21/image_09052026_20_22_05_30348.jpg
/home/pi/Desktop/images/09052026/20/20/image_09052026_20_21_05_30187.jpg
2026-05-11 23:38:03.679000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/21/image_09052026_02_22_05_30262.jpg', '/home/pi/Desktop/images/09052026/02/22/image_09052026_02_22_35_30355.jpg', '/home/pi/Desktop/images/09052026/02/29/image_09052026_02_29_35_30387.jpg', '/home/pi/Desktop/images/09052026/02/29/image_09052026_02_30_06_30292.jpg', '/home/pi/Desktop/images/09052026/02/30/image_09052026_02_31_05_30226.jpg', '/home/pi/Desktop/images/09052026/02/31/image_09052026_02_32_06_30346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/21/image_09052026_02_22_05_30262.jpg
/home/pi/Desktop/images/09052026/02/22/image_09052026_02_22_35_30355.jpg
/home/pi/Desktop/images/09052026/02/29/image_09052026_02_29_35_30387.jpg
/home/pi/Desktop/images/09052026/02/29/image_09052026_02_30_06_30292.jpg
/home/pi/Desktop/images/09052026/02/30/image_09052026_02_31_05_30226.jpg
/home/pi/Desktop/images/09052026/02/31/image_09052026_02_32_06_30346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907021","1416907015","1416907017","1416907011","1416907019","1416907013"],"photo_ids_order":["1416907011","1416907013","1416907015","1416907017","1416907019","1416907021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/618154c90c9559e56d3785a8601a0fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2977488158447554032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_21_05_30187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1dce30d87f7abe7cc9f7467691d5b7fa.jpg","text":"TemporaryFile(/tmp/multipartBody821527557733784420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_25_04_29211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26498e63893e6ed0ca580babfc431fae.jpg","text":"TemporaryFile(/tmp/multipartBody4689025941725205602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_23_05_30215.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7eca495572fb5f35e60cc5f2b255aa88.jpg","text":"TemporaryFile(/tmp/multipartBody8843917155642976400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_37_35_30312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ab37ac7a63dc67bebb80df2a67cbb90f.jpg","text":"TemporaryFile(/tmp/multipartBody7863111909214092608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_22_05_30348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bc13697206493354a224df4bb2ed98b.jpg","text":"TemporaryFile(/tmp/multipartBody6387463125624577431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546561,"filename":"image_09052026_20_33_04_30214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907015","file1":"1416907013","file0":"1416907011","file4":"1416907019","file5":"1416907021","file3":"1416907017"},"map_files_photo_id_array":[{"photo_id":"1416907021","filename":"file5"},{"photo_id":"1416907015","filename":"file2"},{"photo_id":"1416907019","filename":"file4"},{"photo_id":"1416907013","filename":"file1"},{"photo_id":"1416907011","filename":"file0"},{"photo_id":"1416907017","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907021":["hashtag1","hashtag2"]},{"1416907015":["hashtag1","hashtag2"]},{"1416907017":["hashtag1","hashtag2"]},{"1416907011":["hashtag1","hashtag2"]},{"1416907019":["hashtag1","hashtag2"]},{"1416907013":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907021, 1416907015, 1416907017, 1416907011, 1416907019, 1416907013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12577486038208 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907012","1416907018","1416907020","1416907014","1416907022","1416907016"],"photo_ids_order":["1416907012","1416907014","1416907016","1416907018","1416907020","1416907022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/135511afb5020ce4cf06cae6f3297362.jpg","text":"TemporaryFile(/tmp/multipartBody1354339441786570804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_22_05_30262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/961e1e2b8da31fb8d6a67fda8043685c.jpg","text":"TemporaryFile(/tmp/multipartBody3969134651935573133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_30_06_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/151e0285ceda588e4c42fefe9f3dc1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3914161142461533641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_31_05_30226.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24df3c132fa58398cb4404f60b3d158a.jpg","text":"TemporaryFile(/tmp/multipartBody7679321346368282844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_22_35_30355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/03e864cbbc66a2375937bc440829193c.jpg","text":"TemporaryFile(/tmp/multipartBody4549567338222697245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_32_06_30346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f0288e7d470ed3abeb41a9146de64561.jpg","text":"TemporaryFile(/tmp/multipartBody1705785944616807367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535546917,"filename":"image_09052026_02_29_35_30387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907016","file1":"1416907014","file0":"1416907012","file4":"1416907020","file5":"1416907022","file3":"1416907018"},"map_files_photo_id_array":[{"photo_id":"1416907022","filename":"file5"},{"photo_id":"1416907016","filename":"file2"},{"photo_id":"1416907020","filename":"file4"},{"photo_id":"1416907014","filename":"file1"},{"photo_id":"1416907012","filename":"file0"},{"photo_id":"1416907018","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907012":["hashtag1","hashtag2"]},{"1416907018":["hashtag1","hashtag2"]},{"1416907020":["hashtag1","hashtag2"]},{"1416907014":["hashtag1","hashtag2"]},{"1416907022":["hashtag1","hashtag2"]},{"1416907016":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907012, 1416907018, 1416907020, 1416907014, 1416907022, 1416907016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20304751396179 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:39:04.557875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/35/image_11052026_23_35_44_30314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/35/image_11052026_23_35_44_30314.jpg
2026-05-11 23:39:04.723304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/35/image_11052026_23_35_44_30314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/35/image_11052026_23_35_44_30314.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9512956142425537 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907023"],"photo_id":"1416907023","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a1b15138938084b831199711b00c1b65.jpg","text":"TemporaryFile(/tmp/multipartBody2234597877878637130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535605816,"filename":"image_11052026_23_35_44_30314.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907023"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907023"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.811809539794922 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:40:03.753245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/38/image_11052026_23_38_44_29221.jpg', '/home/pi/Desktop/images/11052026/23/38/image_11052026_23_39_14_30375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/38/image_11052026_23_38_44_29221.jpg
/home/pi/Desktop/images/11052026/23/38/image_11052026_23_39_14_30375.jpg
2026-05-11 23:40:03.800928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/38/image_11052026_23_39_14_30375.jpg', '/home/pi/Desktop/images/11052026/23/38/image_11052026_23_38_44_29221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/38/image_11052026_23_39_14_30375.jpg
/home/pi/Desktop/images/11052026/23/38/image_11052026_23_38_44_29221.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907024","1416907027"],"photo_ids_order":["1416907024","1416907027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5eb67aedc0cb85a35bf30c73b29f718b.jpg","text":"TemporaryFile(/tmp/multipartBody127447086912422331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535665508,"filename":"image_11052026_23_38_44_29221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/648f347e0391def19f54d73957839817.jpg","text":"TemporaryFile(/tmp/multipartBody334370326976642774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535665508,"filename":"image_11052026_23_39_14_30375.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907027","file0":"1416907024"},"map_files_photo_id_array":[{"photo_id":"1416907027","filename":"file1"},{"photo_id":"1416907024","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907024":["hashtag1","hashtag2"]},{"1416907027":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907024, 1416907027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.509363889694214 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907028","1416907025"],"photo_ids_order":["1416907025","1416907028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e295eebbb9af087921ce220f51ac510.jpg","text":"TemporaryFile(/tmp/multipartBody3673453133456231199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535665521,"filename":"image_11052026_23_38_44_29221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c9061458e824e252529c126b007b48cf.jpg","text":"TemporaryFile(/tmp/multipartBody5190935607823392776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535665521,"filename":"image_11052026_23_39_14_30375.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907028","file0":"1416907025"},"map_files_photo_id_array":[{"photo_id":"1416907028","filename":"file1"},{"photo_id":"1416907025","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907028":["hashtag1","hashtag2"]},{"1416907025":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907028, 1416907025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.630863189697266 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-05-11 23:41:04.010926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg', '/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.944943904876709 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:42:03.288796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg', '/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.jpg
2026-05-11 23:42:03.408218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.jpg', '/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_39_43_29321.jpg
/home/pi/Desktop/images/11052026/23/39/image_11052026_23_40_14_30333.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907035","1416907037"],"photo_ids_order":["1416907035","1416907037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/b825e52f494e12fe6eca6b0c0afdaae0.jpg","text":"TemporaryFile(/tmp/multipartBody6853380728862263978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535784526,"filename":"image_11052026_23_40_14_30333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/df7aff327d50071520c91503ccb94281.jpg","text":"TemporaryFile(/tmp/multipartBody1423352421343040496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535784526,"filename":"image_11052026_23_39_43_29321.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907037","file0":"1416907035"},"map_files_photo_id_array":[{"photo_id":"1416907037","filename":"file1"},{"photo_id":"1416907035","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907035":["hashtag1","hashtag2"]},{"1416907037":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907035, 1416907037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.3536159992218 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907036","1416907038"],"photo_ids_order":["1416907036","1416907038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/5809b171fa808544818cb16a634b3df4.jpg","text":"TemporaryFile(/tmp/multipartBody993370565462197825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535785007,"filename":"image_11052026_23_39_43_29321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/46099b156473c390dd3f3bdea7308a70.jpg","text":"TemporaryFile(/tmp/multipartBody5027479097421819570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535785007,"filename":"image_11052026_23_40_14_30333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907038","file0":"1416907036"},"map_files_photo_id_array":[{"photo_id":"1416907038","filename":"file1"},{"photo_id":"1416907036","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907036":["hashtag1","hashtag2"]},{"1416907038":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907036, 1416907038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.49607491493225 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:43:04.162154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/40/image_11052026_23_40_44_30251.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/40/image_11052026_23_40_44_30251.jpg
2026-05-11 23:43:04.546406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/40/image_11052026_23_40_44_30251.jpg', '/home/pi/Desktop/images/11052026/23/42/image_11052026_23_42_44_30263.jpg', '/home/pi/Desktop/images/11052026/23/42/image_11052026_23_43_14_29387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/40/image_11052026_23_40_44_30251.jpg
/home/pi/Desktop/images/11052026/23/42/image_11052026_23_42_44_30263.jpg
/home/pi/Desktop/images/11052026/23/42/image_11052026_23_43_14_29387.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.138641595840454 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907039"],"photo_id":"1416907039","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6d8dc7c7782cf48d3e259c0b8e965b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2504544425771542297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535845318,"filename":"image_11052026_23_40_44_30251.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907039"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907039"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.515901565551758 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-05-11 23:44:03.226971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/42/image_11052026_23_43_14_29387.jpg', '/home/pi/Desktop/images/11052026/23/42/image_11052026_23_42_44_30263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/42/image_11052026_23_43_14_29387.jpg
/home/pi/Desktop/images/11052026/23/42/image_11052026_23_42_44_30263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907043","1416907042"],"photo_ids_order":["1416907042","1416907043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/aa6174bb0549660f6f9a8390486ed74e.jpg","text":"TemporaryFile(/tmp/multipartBody690318555709829716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535904395,"filename":"image_11052026_23_42_44_30263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ff3e25c750d8dbb43857245059b18c51.jpg","text":"TemporaryFile(/tmp/multipartBody5981300120338233803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535904395,"filename":"image_11052026_23_43_14_29387.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907043","file0":"1416907042"},"map_files_photo_id_array":[{"photo_id":"1416907043","filename":"file1"},{"photo_id":"1416907042","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907043":["hashtag1","hashtag2"]},{"1416907042":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907043, 1416907042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.447602033615112 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:45:03.770235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/32/image_09052026_02_32_35_29065.jpg', '/home/pi/Desktop/images/09052026/02/32/image_09052026_02_33_05_30202.jpg', '/home/pi/Desktop/images/09052026/02/33/image_09052026_02_33_35_30223.jpg', '/home/pi/Desktop/images/09052026/02/35/image_09052026_02_35_36_30415.jpg', '/home/pi/Desktop/images/09052026/02/38/image_09052026_02_39_05_30275.jpg', '/home/pi/Desktop/images/09052026/02/39/image_09052026_02_40_06_30264.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/32/image_09052026_02_32_35_29065.jpg
/home/pi/Desktop/images/09052026/02/32/image_09052026_02_33_05_30202.jpg
/home/pi/Desktop/images/09052026/02/33/image_09052026_02_33_35_30223.jpg
/home/pi/Desktop/images/09052026/02/35/image_09052026_02_35_36_30415.jpg
/home/pi/Desktop/images/09052026/02/38/image_09052026_02_39_05_30275.jpg
/home/pi/Desktop/images/09052026/02/39/image_09052026_02_40_06_30264.jpg
2026-05-11 23:45:04.159155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/20/image_09052026_20_20_35_30179.jpg', '/home/pi/Desktop/images/09052026/20/19/image_09052026_20_20_05_30439.jpg', '/home/pi/Desktop/images/09052026/20/19/image_09052026_20_19_34_29217.jpg', '/home/pi/Desktop/images/09052026/20/18/image_09052026_20_19_05_30132.jpg', '/home/pi/Desktop/images/09052026/20/17/image_09052026_20_18_05_30456.jpg', '/home/pi/Desktop/images/09052026/20/17/image_09052026_20_17_34_29268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/20/image_09052026_20_20_35_30179.jpg
/home/pi/Desktop/images/09052026/20/19/image_09052026_20_20_05_30439.jpg
/home/pi/Desktop/images/09052026/20/19/image_09052026_20_19_34_29217.jpg
/home/pi/Desktop/images/09052026/20/18/image_09052026_20_19_05_30132.jpg
/home/pi/Desktop/images/09052026/20/17/image_09052026_20_18_05_30456.jpg
/home/pi/Desktop/images/09052026/20/17/image_09052026_20_17_34_29268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907054","1416907048","1416907056","1416907050","1416907052","1416907046"],"photo_ids_order":["1416907046","1416907048","1416907050","1416907052","1416907054","1416907056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/24ff2b9f93a7d268cca6023c017966a2.jpg","text":"TemporaryFile(/tmp/multipartBody3781945159355719627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_39_05_30275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d25286ca1077f69f6806b54b235c9339.jpg","text":"TemporaryFile(/tmp/multipartBody238465605175279568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_33_05_30202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/dfafad9fcb7070a67cea91474afffe05.jpg","text":"TemporaryFile(/tmp/multipartBody430268740105726303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_40_06_30264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a86acdb350eb824eb7d1ee6c8ec3878a.jpg","text":"TemporaryFile(/tmp/multipartBody3166037891727787712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_33_35_30223.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/719eec8f1632247e0e94c4fb9813e51c.jpg","text":"TemporaryFile(/tmp/multipartBody1421723506010797905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_35_36_30415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f777470d0a237b86ff0d7c1c29bee9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8825581748307636287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535965804,"filename":"image_09052026_02_32_35_29065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907050","file1":"1416907048","file0":"1416907046","file4":"1416907054","file5":"1416907056","file3":"1416907052"},"map_files_photo_id_array":[{"photo_id":"1416907056","filename":"file5"},{"photo_id":"1416907050","filename":"file2"},{"photo_id":"1416907054","filename":"file4"},{"photo_id":"1416907048","filename":"file1"},{"photo_id":"1416907046","filename":"file0"},{"photo_id":"1416907052","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907054":["hashtag1","hashtag2"]},{"1416907048":["hashtag1","hashtag2"]},{"1416907056":["hashtag1","hashtag2"]},{"1416907050":["hashtag1","hashtag2"]},{"1416907052":["hashtag1","hashtag2"]},{"1416907046":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907054, 1416907048, 1416907056, 1416907050, 1416907052, 1416907046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79697299003601 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907051","1416907053","1416907047","1416907055","1416907049","1416907057"],"photo_ids_order":["1416907047","1416907049","1416907051","1416907053","1416907055","1416907057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/47b0f287453cd525132dbe56846def20.jpg","text":"TemporaryFile(/tmp/multipartBody8945929303974370217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_19_34_29217.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bb290a5f4a4c30a505474392efe6864.jpg","text":"TemporaryFile(/tmp/multipartBody8975557622238254376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_19_05_30132.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8811b09ff58cc1241c6657a53e06a36a.jpg","text":"TemporaryFile(/tmp/multipartBody8887849440357537666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_20_35_30179.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4788254a69386c3ad9341b81dffbd1df.jpg","text":"TemporaryFile(/tmp/multipartBody2112688619450951779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_18_05_30456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d52b8f56d8d5145a5bdae69d95e0f54b.jpg","text":"TemporaryFile(/tmp/multipartBody8872104187516649761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_20_05_30439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/044dab0b2f92041f2ceeec9b4a125eb8.jpg","text":"TemporaryFile(/tmp/multipartBody9166636719724039667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778535966706,"filename":"image_09052026_20_17_34_29268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907051","file1":"1416907049","file0":"1416907047","file4":"1416907055","file5":"1416907057","file3":"1416907053"},"map_files_photo_id_array":[{"photo_id":"1416907057","filename":"file5"},{"photo_id":"1416907051","filename":"file2"},{"photo_id":"1416907055","filename":"file4"},{"photo_id":"1416907049","filename":"file1"},{"photo_id":"1416907047","filename":"file0"},{"photo_id":"1416907053","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907051":["hashtag1","hashtag2"]},{"1416907053":["hashtag1","hashtag2"]},{"1416907047":["hashtag1","hashtag2"]},{"1416907055":["hashtag1","hashtag2"]},{"1416907049":["hashtag1","hashtag2"]},{"1416907057":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907051, 1416907053, 1416907047, 1416907055, 1416907049, 1416907057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75892353057861 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:46:03.793518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/43/image_11052026_23_43_44_30195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/43/image_11052026_23_43_44_30195.jpg
2026-05-11 23:46:03.879547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/43/image_11052026_23_43_44_30195.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/43/image_11052026_23_43_44_30195.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6828207969665527 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907058"],"photo_id":"1416907058","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a3af4e830cf8b24d3ca0eb6ac11abc09.jpg","text":"TemporaryFile(/tmp/multipartBody4705678562230679317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536024823,"filename":"image_11052026_23_43_44_30195.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907058"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907058"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.459637641906738 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:47:03.878497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/16/image_09052026_20_17_05_30248.jpg', '/home/pi/Desktop/images/09052026/20/13/image_09052026_20_13_34_29271.jpg', '/home/pi/Desktop/images/09052026/20/11/image_09052026_20_12_05_30314.jpg', '/home/pi/Desktop/images/09052026/20/08/image_09052026_20_08_34_29167.jpg', '/home/pi/Desktop/images/09052026/20/06/image_09052026_20_07_04_30382.jpg', '/home/pi/Desktop/images/09052026/20/04/image_09052026_20_05_04_29237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/16/image_09052026_20_17_05_30248.jpg
/home/pi/Desktop/images/09052026/20/13/image_09052026_20_13_34_29271.jpg
/home/pi/Desktop/images/09052026/20/11/image_09052026_20_12_05_30314.jpg
/home/pi/Desktop/images/09052026/20/08/image_09052026_20_08_34_29167.jpg
/home/pi/Desktop/images/09052026/20/06/image_09052026_20_07_04_30382.jpg
/home/pi/Desktop/images/09052026/20/04/image_09052026_20_05_04_29237.jpg
2026-05-11 23:47:04.814093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/40/image_09052026_02_40_35_29197.jpg', '/home/pi/Desktop/images/09052026/02/40/image_09052026_02_41_05_30267.jpg', '/home/pi/Desktop/images/09052026/02/41/image_09052026_02_41_35_30307.jpg', '/home/pi/Desktop/images/09052026/02/42/image_09052026_02_42_35_29252.jpg', '/home/pi/Desktop/images/09052026/02/43/image_09052026_02_43_35_30272.jpg', '/home/pi/Desktop/images/09052026/02/54/image_09052026_02_55_05_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/40/image_09052026_02_40_35_29197.jpg
/home/pi/Desktop/images/09052026/02/40/image_09052026_02_41_05_30267.jpg
/home/pi/Desktop/images/09052026/02/41/image_09052026_02_41_35_30307.jpg
/home/pi/Desktop/images/09052026/02/42/image_09052026_02_42_35_29252.jpg
/home/pi/Desktop/images/09052026/02/43/image_09052026_02_43_35_30272.jpg
/home/pi/Desktop/images/09052026/02/54/image_09052026_02_55_05_30182.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0606017112731934 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907059","1416907085","1416907064","1416907061","1416907081","1416907078"],"photo_ids_order":["1416907059","1416907061","1416907064","1416907078","1416907081","1416907085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/c0dedd26bb6cfc47b46da0937cd7d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody5427013864088102816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_17_05_30248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6552dc45c8711c934a5d762016b90158.jpg","text":"TemporaryFile(/tmp/multipartBody8243032698774813413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_05_04_29237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/67d3dfe83941cb2fc778bace08cf7ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3210949944609934302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_12_05_30314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0a4c8d62b8a88ce0d584348ba4f0d40f.jpg","text":"TemporaryFile(/tmp/multipartBody5867978163338429214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_13_34_29271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/57c76785369003c317726e17eb856b14.jpg","text":"TemporaryFile(/tmp/multipartBody6726001800890539823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_07_04_30382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9101e1f177ef4f9959e3db0069da535d.jpg","text":"TemporaryFile(/tmp/multipartBody186560550535815920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536086030,"filename":"image_09052026_20_08_34_29167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907064","file1":"1416907061","file0":"1416907059","file4":"1416907081","file5":"1416907085","file3":"1416907078"},"map_files_photo_id_array":[{"photo_id":"1416907085","filename":"file5"},{"photo_id":"1416907064","filename":"file2"},{"photo_id":"1416907081","filename":"file4"},{"photo_id":"1416907061","filename":"file1"},{"photo_id":"1416907059","filename":"file0"},{"photo_id":"1416907078","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907059":["hashtag1","hashtag2"]},{"1416907085":["hashtag1","hashtag2"]},{"1416907064":["hashtag1","hashtag2"]},{"1416907061":["hashtag1","hashtag2"]},{"1416907081":["hashtag1","hashtag2"]},{"1416907078":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907059, 1416907085, 1416907064, 1416907061, 1416907081, 1416907078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78733491897583 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:48:03.259066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/40/image_09052026_02_40_35_29197.jpg', '/home/pi/Desktop/images/09052026/02/40/image_09052026_02_41_05_30267.jpg', '/home/pi/Desktop/images/09052026/02/41/image_09052026_02_41_35_30307.jpg', '/home/pi/Desktop/images/09052026/02/42/image_09052026_02_42_35_29252.jpg', '/home/pi/Desktop/images/09052026/02/43/image_09052026_02_43_35_30272.jpg', '/home/pi/Desktop/images/09052026/02/54/image_09052026_02_55_05_30182.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/40/image_09052026_02_40_35_29197.jpg
/home/pi/Desktop/images/09052026/02/40/image_09052026_02_41_05_30267.jpg
/home/pi/Desktop/images/09052026/02/41/image_09052026_02_41_35_30307.jpg
/home/pi/Desktop/images/09052026/02/42/image_09052026_02_42_35_29252.jpg
/home/pi/Desktop/images/09052026/02/43/image_09052026_02_43_35_30272.jpg
/home/pi/Desktop/images/09052026/02/54/image_09052026_02_55_05_30182.jpg
2026-05-11 23:48:03.323891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/20/00/image_09052026_20_01_05_30210.jpg', '/home/pi/Desktop/images/09052026/19/53/image_09052026_19_53_34_29319.jpg', '/home/pi/Desktop/images/09052026/19/51/image_09052026_19_51_34_29235.jpg', '/home/pi/Desktop/images/09052026/19/50/image_09052026_19_51_05_30256.jpg', '/home/pi/Desktop/images/09052026/19/49/image_09052026_19_50_05_30396.jpg', '/home/pi/Desktop/images/09052026/19/47/image_09052026_19_47_34_29232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/20/00/image_09052026_20_01_05_30210.jpg
/home/pi/Desktop/images/09052026/19/53/image_09052026_19_53_34_29319.jpg
/home/pi/Desktop/images/09052026/19/51/image_09052026_19_51_34_29235.jpg
/home/pi/Desktop/images/09052026/19/50/image_09052026_19_51_05_30256.jpg
/home/pi/Desktop/images/09052026/19/49/image_09052026_19_50_05_30396.jpg
/home/pi/Desktop/images/09052026/19/47/image_09052026_19_47_34_29232.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907126","1416907120","1416907122","1416907119","1416907115","1416907124"],"photo_ids_order":["1416907115","1416907119","1416907120","1416907122","1416907124","1416907126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/195b2b3afb3bb6a8748f59d8401cb63f.jpg","text":"TemporaryFile(/tmp/multipartBody8475117166618883580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_19_47_34_29232.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7719a9221b813f43ed15dfc09530975b.jpg","text":"TemporaryFile(/tmp/multipartBody7586505421802870223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_19_51_34_29235.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/42e7dc651032e03bf2b44d6dce87f64b.jpg","text":"TemporaryFile(/tmp/multipartBody3970080299072342928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_19_51_05_30256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/495cc5faf691ab2fd2c59e7bf7ba5550.jpg","text":"TemporaryFile(/tmp/multipartBody4386475454916557092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_19_53_34_29319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/508a51cae96e7a59b6bf0bbcb25c2c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4950185062054224438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_20_01_05_30210.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/8400307230342cb557ff669c5dfd1fa0.jpg","text":"TemporaryFile(/tmp/multipartBody984511220496496535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145908,"filename":"image_09052026_19_50_05_30396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907120","file1":"1416907119","file0":"1416907115","file4":"1416907124","file5":"1416907126","file3":"1416907122"},"map_files_photo_id_array":[{"photo_id":"1416907126","filename":"file5"},{"photo_id":"1416907120","filename":"file2"},{"photo_id":"1416907124","filename":"file4"},{"photo_id":"1416907119","filename":"file1"},{"photo_id":"1416907115","filename":"file0"},{"photo_id":"1416907122","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907126":["hashtag1","hashtag2"]},{"1416907120":["hashtag1","hashtag2"]},{"1416907122":["hashtag1","hashtag2"]},{"1416907119":["hashtag1","hashtag2"]},{"1416907115":["hashtag1","hashtag2"]},{"1416907124":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907126, 1416907120, 1416907122, 1416907119, 1416907115, 1416907124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40533661842346 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907123","1416907114","1416907125","1416907127","1416907121","1416907118"],"photo_ids_order":["1416907114","1416907118","1416907121","1416907123","1416907125","1416907127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d76fa3b4ce442fe76abdda17db93ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody5003851576016985327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_42_35_29252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2bde6f0784d58bb7627347cd4c20e789.jpg","text":"TemporaryFile(/tmp/multipartBody1425484283589443772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_40_35_29197.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3535cb8399ac0237f9e6dde86454fda8.jpg","text":"TemporaryFile(/tmp/multipartBody7581959092864913147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_43_35_30272.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f6e75c3d9f5ef2716fa4949d3e552262.jpg","text":"TemporaryFile(/tmp/multipartBody8659515527449136019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_55_05_30182.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f426f45f1f5031a3e9f386abab02fadf.jpg","text":"TemporaryFile(/tmp/multipartBody4685721483091846620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_41_35_30307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cb36b94a74be1cb6d83910680c9a4d3d.jpg","text":"TemporaryFile(/tmp/multipartBody949422287177530304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536145409,"filename":"image_09052026_02_41_05_30267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907121","file1":"1416907118","file0":"1416907114","file4":"1416907125","file5":"1416907127","file3":"1416907123"},"map_files_photo_id_array":[{"photo_id":"1416907127","filename":"file5"},{"photo_id":"1416907121","filename":"file2"},{"photo_id":"1416907125","filename":"file4"},{"photo_id":"1416907118","filename":"file1"},{"photo_id":"1416907114","filename":"file0"},{"photo_id":"1416907123","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907123":["hashtag1","hashtag2"]},{"1416907114":["hashtag1","hashtag2"]},{"1416907125":["hashtag1","hashtag2"]},{"1416907127":["hashtag1","hashtag2"]},{"1416907121":["hashtag1","hashtag2"]},{"1416907118":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907123, 1416907114, 1416907125, 1416907127, 1416907121, 1416907118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.62924814224243 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:49:04.048831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/02/55/image_09052026_02_55_35_30306.jpg', '/home/pi/Desktop/images/09052026/02/55/image_09052026_02_56_06_30351.jpg', '/home/pi/Desktop/images/09052026/02/56/image_09052026_02_56_35_29142.jpg', '/home/pi/Desktop/images/09052026/02/57/image_09052026_02_57_36_30436.jpg', '/home/pi/Desktop/images/09052026/02/57/image_09052026_02_58_05_29328.jpg', '/home/pi/Desktop/images/09052026/02/59/image_09052026_03_00_06_30266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/02/55/image_09052026_02_55_35_30306.jpg
/home/pi/Desktop/images/09052026/02/55/image_09052026_02_56_06_30351.jpg
/home/pi/Desktop/images/09052026/02/56/image_09052026_02_56_35_29142.jpg
/home/pi/Desktop/images/09052026/02/57/image_09052026_02_57_36_30436.jpg
/home/pi/Desktop/images/09052026/02/57/image_09052026_02_58_05_29328.jpg
/home/pi/Desktop/images/09052026/02/59/image_09052026_03_00_06_30266.jpg
2026-05-11 23:49:04.569793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/19/46/image_09052026_19_47_05_30238.jpg', '/home/pi/Desktop/images/09052026/19/44/image_09052026_19_44_35_30336.jpg', '/home/pi/Desktop/images/09052026/19/40/image_09052026_19_40_34_29174.jpg', '/home/pi/Desktop/images/09052026/19/38/image_09052026_19_38_34_29183.jpg', '/home/pi/Desktop/images/09052026/19/34/image_09052026_19_34_34_29159.jpg', '/home/pi/Desktop/images/09052026/19/30/image_09052026_19_31_04_30315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/19/46/image_09052026_19_47_05_30238.jpg
/home/pi/Desktop/images/09052026/19/44/image_09052026_19_44_35_30336.jpg
/home/pi/Desktop/images/09052026/19/40/image_09052026_19_40_34_29174.jpg
/home/pi/Desktop/images/09052026/19/38/image_09052026_19_38_34_29183.jpg
/home/pi/Desktop/images/09052026/19/34/image_09052026_19_34_34_29159.jpg
/home/pi/Desktop/images/09052026/19/30/image_09052026_19_31_04_30315.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.911567211151123 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907135","1416907129","1416907128","1416907137","1416907131","1416907133"],"photo_ids_order":["1416907128","1416907129","1416907131","1416907133","1416907135","1416907137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/e1db5f5f3ea75813f605583a2e1925d8.jpg","text":"TemporaryFile(/tmp/multipartBody8252179696945932515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_02_58_05_29328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/26bb2203a4b0b28a02723a5bb180ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody2254916398474062672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_02_56_06_30351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a20918b5a7dac6d0b19922988150ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody9112107272897814837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_02_55_35_30306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/cfb95b79f172bfa905629049dfe3848c.jpg","text":"TemporaryFile(/tmp/multipartBody3733649937183279599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_03_00_06_30266.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6618960a76984d99521f3a2d9a81b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody9039493162365080552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_02_56_35_29142.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d5505d0a509c60fd8ecb0c2181053151.jpg","text":"TemporaryFile(/tmp/multipartBody6075794007851832472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536205989,"filename":"image_09052026_02_57_36_30436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907131","file1":"1416907129","file0":"1416907128","file4":"1416907135","file5":"1416907137","file3":"1416907133"},"map_files_photo_id_array":[{"photo_id":"1416907137","filename":"file5"},{"photo_id":"1416907131","filename":"file2"},{"photo_id":"1416907135","filename":"file4"},{"photo_id":"1416907129","filename":"file1"},{"photo_id":"1416907128","filename":"file0"},{"photo_id":"1416907133","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907135":["hashtag1","hashtag2"]},{"1416907129":["hashtag1","hashtag2"]},{"1416907128":["hashtag1","hashtag2"]},{"1416907137":["hashtag1","hashtag2"]},{"1416907131":["hashtag1","hashtag2"]},{"1416907133":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907135, 1416907129, 1416907128, 1416907137, 1416907131, 1416907133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4232656955719 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:50:03.592813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/46/image_11052026_23_46_44_30392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/46/image_11052026_23_46_44_30392.jpg
2026-05-11 23:50:03.517790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/19/46/image_09052026_19_47_05_30238.jpg', '/home/pi/Desktop/images/09052026/19/44/image_09052026_19_44_35_30336.jpg', '/home/pi/Desktop/images/09052026/19/40/image_09052026_19_40_34_29174.jpg', '/home/pi/Desktop/images/09052026/19/38/image_09052026_19_38_34_29183.jpg', '/home/pi/Desktop/images/09052026/19/34/image_09052026_19_34_34_29159.jpg', '/home/pi/Desktop/images/09052026/19/30/image_09052026_19_31_04_30315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/19/46/image_09052026_19_47_05_30238.jpg
/home/pi/Desktop/images/09052026/19/44/image_09052026_19_44_35_30336.jpg
/home/pi/Desktop/images/09052026/19/40/image_09052026_19_40_34_29174.jpg
/home/pi/Desktop/images/09052026/19/38/image_09052026_19_38_34_29183.jpg
/home/pi/Desktop/images/09052026/19/34/image_09052026_19_34_34_29159.jpg
/home/pi/Desktop/images/09052026/19/30/image_09052026_19_31_04_30315.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907139"],"photo_id":"1416907139","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3490b4418ff4e72b0a6f64d61cf5173c.jpg","text":"TemporaryFile(/tmp/multipartBody3388028944665519464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536264790,"filename":"image_11052026_23_46_44_30392.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907139"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907139"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.661017179489136 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907144","1416907140","1416907143","1416907145","1416907142","1416907141"],"photo_ids_order":["1416907140","1416907141","1416907142","1416907143","1416907144","1416907145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9bf8f60a19a1e352886c7214595a65a8.jpg","text":"TemporaryFile(/tmp/multipartBody2618441403194818865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_34_34_29159.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2771d0abf878922736a89e3e82fc10f7.jpg","text":"TemporaryFile(/tmp/multipartBody5156736985146337278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_47_05_30238.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6c9dbdc8937600070900d9036842e629.jpg","text":"TemporaryFile(/tmp/multipartBody234985630836608699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_38_34_29183.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/6e69ae4eeae013d6400c509585a78d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2700212297439697959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_31_04_30315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ddd73addd66e5abb86f2431f15ead39.jpg","text":"TemporaryFile(/tmp/multipartBody3378119697137404810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_40_34_29174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/572db221f481d2e92b1f944b089c6e73.jpg","text":"TemporaryFile(/tmp/multipartBody6937179436145915948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536265523,"filename":"image_09052026_19_44_35_30336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907142","file1":"1416907141","file0":"1416907140","file4":"1416907144","file5":"1416907145","file3":"1416907143"},"map_files_photo_id_array":[{"photo_id":"1416907145","filename":"file5"},{"photo_id":"1416907142","filename":"file2"},{"photo_id":"1416907144","filename":"file4"},{"photo_id":"1416907141","filename":"file1"},{"photo_id":"1416907140","filename":"file0"},{"photo_id":"1416907143","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907144":["hashtag1","hashtag2"]},{"1416907140":["hashtag1","hashtag2"]},{"1416907143":["hashtag1","hashtag2"]},{"1416907145":["hashtag1","hashtag2"]},{"1416907142":["hashtag1","hashtag2"]},{"1416907141":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907144, 1416907140, 1416907143, 1416907145, 1416907142, 1416907141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.644176959991455 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:51:04.417057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/19/30/image_09052026_19_30_34_29158.jpg', '/home/pi/Desktop/images/09052026/19/29/image_09052026_19_30_05_30431.jpg', '/home/pi/Desktop/images/09052026/19/29/image_09052026_19_29_35_30257.jpg', '/home/pi/Desktop/images/09052026/19/28/image_09052026_19_29_04_30199.jpg', '/home/pi/Desktop/images/09052026/19/28/image_09052026_19_28_34_29205.jpg', '/home/pi/Desktop/images/09052026/19/27/image_09052026_19_28_05_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/19/30/image_09052026_19_30_34_29158.jpg
/home/pi/Desktop/images/09052026/19/29/image_09052026_19_30_05_30431.jpg
/home/pi/Desktop/images/09052026/19/29/image_09052026_19_29_35_30257.jpg
/home/pi/Desktop/images/09052026/19/28/image_09052026_19_29_04_30199.jpg
/home/pi/Desktop/images/09052026/19/28/image_09052026_19_28_34_29205.jpg
/home/pi/Desktop/images/09052026/19/27/image_09052026_19_28_05_30292.jpg
2026-05-11 23:51:04.685506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/03/00/image_09052026_03_00_35_29192.jpg', '/home/pi/Desktop/images/09052026/03/00/image_09052026_03_01_05_30196.jpg', '/home/pi/Desktop/images/09052026/03/01/image_09052026_03_01_35_30340.jpg', '/home/pi/Desktop/images/09052026/03/01/image_09052026_03_02_06_30236.jpg', '/home/pi/Desktop/images/09052026/03/02/image_09052026_03_03_05_30280.jpg', '/home/pi/Desktop/images/09052026/03/03/image_09052026_03_03_36_30408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/03/00/image_09052026_03_00_35_29192.jpg
/home/pi/Desktop/images/09052026/03/00/image_09052026_03_01_05_30196.jpg
/home/pi/Desktop/images/09052026/03/01/image_09052026_03_01_35_30340.jpg
/home/pi/Desktop/images/09052026/03/01/image_09052026_03_02_06_30236.jpg
/home/pi/Desktop/images/09052026/03/02/image_09052026_03_03_05_30280.jpg
/home/pi/Desktop/images/09052026/03/03/image_09052026_03_03_36_30408.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6437737941741943 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907153","1416907147","1416907146","1416907155","1416907149","1416907151"],"photo_ids_order":["1416907146","1416907147","1416907149","1416907151","1416907153","1416907155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f2fe51a24053f71ab33bd08239d0ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody1970506171105656865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_03_05_30280.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/bb5ce88d381c37699fa03642bf23b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody8646520355405456775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_01_05_30196.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ac855ccb1aac1db00d88e4e44e81f853.jpg","text":"TemporaryFile(/tmp/multipartBody3671990397251203850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_00_35_29192.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/137717acc2cc897c9796765b709a8d37.jpg","text":"TemporaryFile(/tmp/multipartBody5434640013420960216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_03_36_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2eb960487ad2071254649bc112150638.jpg","text":"TemporaryFile(/tmp/multipartBody1690833493141014545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_01_35_30340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9addfb9805104cc08d54771a0c61eebe.jpg","text":"TemporaryFile(/tmp/multipartBody1858160219677771829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536327280,"filename":"image_09052026_03_02_06_30236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907149","file1":"1416907147","file0":"1416907146","file4":"1416907153","file5":"1416907155","file3":"1416907151"},"map_files_photo_id_array":[{"photo_id":"1416907155","filename":"file5"},{"photo_id":"1416907149","filename":"file2"},{"photo_id":"1416907153","filename":"file4"},{"photo_id":"1416907147","filename":"file1"},{"photo_id":"1416907146","filename":"file0"},{"photo_id":"1416907151","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907153":["hashtag1","hashtag2"]},{"1416907147":["hashtag1","hashtag2"]},{"1416907146":["hashtag1","hashtag2"]},{"1416907155":["hashtag1","hashtag2"]},{"1416907149":["hashtag1","hashtag2"]},{"1416907151":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907153, 1416907147, 1416907146, 1416907155, 1416907149, 1416907151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98457980155945 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:52:03.745206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/49/image_11052026_23_50_14_29289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/49/image_11052026_23_50_14_29289.jpg
2026-05-11 23:52:03.868369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/49/image_11052026_23_50_14_29289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/49/image_11052026_23_50_14_29289.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907157"],"photo_id":"1416907157","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/75eff39918b1b9c03ec331c6244f7dad.jpg","text":"TemporaryFile(/tmp/multipartBody5106783335120436200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536384866,"filename":"image_11052026_23_50_14_29289.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907157"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907157"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907158"],"photo_id":"1416907158","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/2e256998e432b01e9817f9af70c7feab.jpg","text":"TemporaryFile(/tmp/multipartBody8824031315295235883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536384959,"filename":"image_11052026_23_50_14_29289.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907158"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907158"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.03397536277771 secondes ---
uploaded 1 photos
time to upload: 14.960690975189209 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:53:04.583645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/19/30/image_09052026_19_30_34_29158.jpg', '/home/pi/Desktop/images/09052026/19/29/image_09052026_19_30_05_30431.jpg', '/home/pi/Desktop/images/09052026/19/29/image_09052026_19_29_35_30257.jpg', '/home/pi/Desktop/images/09052026/19/28/image_09052026_19_29_04_30199.jpg', '/home/pi/Desktop/images/09052026/19/28/image_09052026_19_28_34_29205.jpg', '/home/pi/Desktop/images/09052026/19/27/image_09052026_19_28_05_30292.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/19/30/image_09052026_19_30_34_29158.jpg
/home/pi/Desktop/images/09052026/19/29/image_09052026_19_30_05_30431.jpg
/home/pi/Desktop/images/09052026/19/29/image_09052026_19_29_35_30257.jpg
/home/pi/Desktop/images/09052026/19/28/image_09052026_19_29_04_30199.jpg
/home/pi/Desktop/images/09052026/19/28/image_09052026_19_28_34_29205.jpg
/home/pi/Desktop/images/09052026/19/27/image_09052026_19_28_05_30292.jpg
2026-05-11 23:53:04.576785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/03/03/image_09052026_03_04_05_29263.jpg', '/home/pi/Desktop/images/09052026/03/04/image_09052026_03_04_35_30109.jpg', '/home/pi/Desktop/images/09052026/03/04/image_09052026_03_05_05_30241.jpg', '/home/pi/Desktop/images/09052026/03/05/image_09052026_03_05_36_30332.jpg', '/home/pi/Desktop/images/09052026/03/06/image_09052026_03_07_05_30206.jpg', '/home/pi/Desktop/images/09052026/03/07/image_09052026_03_07_35_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/03/03/image_09052026_03_04_05_29263.jpg
/home/pi/Desktop/images/09052026/03/04/image_09052026_03_04_35_30109.jpg
/home/pi/Desktop/images/09052026/03/04/image_09052026_03_05_05_30241.jpg
/home/pi/Desktop/images/09052026/03/05/image_09052026_03_05_36_30332.jpg
/home/pi/Desktop/images/09052026/03/06/image_09052026_03_07_05_30206.jpg
/home/pi/Desktop/images/09052026/03/07/image_09052026_03_07_35_30273.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6416633129119873 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907159","1416907164","1416907166","1416907160","1416907168","1416907162"],"photo_ids_order":["1416907159","1416907160","1416907162","1416907164","1416907166","1416907168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/21572edddef4298f9e16707a43a41b13.jpg","text":"TemporaryFile(/tmp/multipartBody6753461127210955570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_30_34_29158.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/66484213298bb9b4aa300bff62e9a33a.jpg","text":"TemporaryFile(/tmp/multipartBody545297111847395992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_29_04_30199.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/930d0961529f7d2f9303f0e7d504d43c.jpg","text":"TemporaryFile(/tmp/multipartBody781440229842000671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_28_34_29205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0528a1e77ae3a681ccad8545e73c1612.jpg","text":"TemporaryFile(/tmp/multipartBody181256303670966850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_30_05_30431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/088d0b2f11de257ab87728a6690ea73a.jpg","text":"TemporaryFile(/tmp/multipartBody1406921332801717992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_28_05_30292.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/0ca717c6775ff9b2f8d366c443df4859.jpg","text":"TemporaryFile(/tmp/multipartBody2756450867244757322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536447038,"filename":"image_09052026_19_29_35_30257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907162","file1":"1416907160","file0":"1416907159","file4":"1416907166","file5":"1416907168","file3":"1416907164"},"map_files_photo_id_array":[{"photo_id":"1416907168","filename":"file5"},{"photo_id":"1416907162","filename":"file2"},{"photo_id":"1416907166","filename":"file4"},{"photo_id":"1416907160","filename":"file1"},{"photo_id":"1416907159","filename":"file0"},{"photo_id":"1416907164","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907159":["hashtag1","hashtag2"]},{"1416907164":["hashtag1","hashtag2"]},{"1416907166":["hashtag1","hashtag2"]},{"1416907160":["hashtag1","hashtag2"]},{"1416907168":["hashtag1","hashtag2"]},{"1416907162":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907159, 1416907164, 1416907166, 1416907160, 1416907168, 1416907162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.075151681900024 secondes ---
Start to upload photos with parameters : -o DESC -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:54:03.435157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local DESC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/19/25/image_09052026_19_26_05_30285.jpg', '/home/pi/Desktop/images/09052026/19/25/image_09052026_19_25_35_30218.jpg', '/home/pi/Desktop/images/09052026/19/24/image_09052026_19_25_04_29234.jpg', '/home/pi/Desktop/images/09052026/19/24/image_09052026_19_24_35_30295.jpg', '/home/pi/Desktop/images/09052026/19/23/image_09052026_19_24_05_30296.jpg', '/home/pi/Desktop/images/09052026/19/21/image_09052026_19_21_35_30408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/19/25/image_09052026_19_26_05_30285.jpg
/home/pi/Desktop/images/09052026/19/25/image_09052026_19_25_35_30218.jpg
/home/pi/Desktop/images/09052026/19/24/image_09052026_19_25_04_29234.jpg
/home/pi/Desktop/images/09052026/19/24/image_09052026_19_24_35_30295.jpg
/home/pi/Desktop/images/09052026/19/23/image_09052026_19_24_05_30296.jpg
/home/pi/Desktop/images/09052026/19/21/image_09052026_19_21_35_30408.jpg
2026-05-11 23:54:03.403319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/03/03/image_09052026_03_04_05_29263.jpg', '/home/pi/Desktop/images/09052026/03/04/image_09052026_03_04_35_30109.jpg', '/home/pi/Desktop/images/09052026/03/04/image_09052026_03_05_05_30241.jpg', '/home/pi/Desktop/images/09052026/03/05/image_09052026_03_05_36_30332.jpg', '/home/pi/Desktop/images/09052026/03/06/image_09052026_03_07_05_30206.jpg', '/home/pi/Desktop/images/09052026/03/07/image_09052026_03_07_35_30273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/03/03/image_09052026_03_04_05_29263.jpg
/home/pi/Desktop/images/09052026/03/04/image_09052026_03_04_35_30109.jpg
/home/pi/Desktop/images/09052026/03/04/image_09052026_03_05_05_30241.jpg
/home/pi/Desktop/images/09052026/03/05/image_09052026_03_05_36_30332.jpg
/home/pi/Desktop/images/09052026/03/06/image_09052026_03_07_05_30206.jpg
/home/pi/Desktop/images/09052026/03/07/image_09052026_03_07_35_30273.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907182","1416907170","1416907173","1416907176","1416907184","1416907178"],"photo_ids_order":["1416907170","1416907173","1416907176","1416907178","1416907182","1416907184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ad6012719c594f1cb9a45f755c35ce7c.jpg","text":"TemporaryFile(/tmp/multipartBody5483562708241601080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_24_05_30296.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/35e3c4789a88a99db87b6adac74cc4f1.jpg","text":"TemporaryFile(/tmp/multipartBody4542502508441287313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_26_05_30285.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/9e49f06ce87cf47ca6fa3f33c05c4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1013688699549393337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_25_35_30218.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34ae0ede26cd65f472f83b3282a3e46a.jpg","text":"TemporaryFile(/tmp/multipartBody8060060932028220889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_25_04_29234.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/a7d6a9275a532d10e3564785e23b66e5.jpg","text":"TemporaryFile(/tmp/multipartBody4478429432672389502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_21_35_30408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/68cf7ab7902b16a8b974a76ada43fa77.jpg","text":"TemporaryFile(/tmp/multipartBody8366024544314721688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536505880,"filename":"image_09052026_19_24_35_30295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907176","file1":"1416907173","file0":"1416907170","file4":"1416907182","file5":"1416907184","file3":"1416907178"},"map_files_photo_id_array":[{"photo_id":"1416907184","filename":"file5"},{"photo_id":"1416907176","filename":"file2"},{"photo_id":"1416907182","filename":"file4"},{"photo_id":"1416907173","filename":"file1"},{"photo_id":"1416907170","filename":"file0"},{"photo_id":"1416907178","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907182":["hashtag1","hashtag2"]},{"1416907170":["hashtag1","hashtag2"]},{"1416907173":["hashtag1","hashtag2"]},{"1416907176":["hashtag1","hashtag2"]},{"1416907184":["hashtag1","hashtag2"]},{"1416907178":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907182, 1416907170, 1416907173, 1416907176, 1416907184, 1416907178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01048278808594 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907171","1416907185","1416907179","1416907181","1416907174","1416907177"],"photo_ids_order":["1416907171","1416907174","1416907177","1416907179","1416907181","1416907185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/073f1ed5e1b3e8a257f4a1eaac3bb707.jpg","text":"TemporaryFile(/tmp/multipartBody8164102372831201540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_04_05_29263.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/d794e5e5e44f64a03c65da2a3ba1c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody8450993403861149208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_07_35_30273.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7ba39a0e248dfe998023fa188552a318.jpg","text":"TemporaryFile(/tmp/multipartBody2688841955725953737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_05_36_30332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58eb9ab7a91ff3bba98a43f88b02f3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5856293476678996467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_07_05_30206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/4d6041a786ec9f92c9a7b6fe9e7d9677.jpg","text":"TemporaryFile(/tmp/multipartBody2484864267788736263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_04_35_30109.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/34c697ffeb15fa7e7323fa3a70b565b2.jpg","text":"TemporaryFile(/tmp/multipartBody631018153667279819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536506384,"filename":"image_09052026_03_05_05_30241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907177","file1":"1416907174","file0":"1416907171","file4":"1416907181","file5":"1416907185","file3":"1416907179"},"map_files_photo_id_array":[{"photo_id":"1416907185","filename":"file5"},{"photo_id":"1416907177","filename":"file2"},{"photo_id":"1416907181","filename":"file4"},{"photo_id":"1416907174","filename":"file1"},{"photo_id":"1416907171","filename":"file0"},{"photo_id":"1416907179","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907171":["hashtag1","hashtag2"]},{"1416907185":["hashtag1","hashtag2"]},{"1416907179":["hashtag1","hashtag2"]},{"1416907181":["hashtag1","hashtag2"]},{"1416907174":["hashtag1","hashtag2"]},{"1416907177":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907171, 1416907185, 1416907179, 1416907181, 1416907174, 1416907177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16795611381531 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:55:03.925814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/52/image_11052026_23_52_44_30277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/52/image_11052026_23_52_44_30277.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907188"],"photo_id":"1416907188","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/32a24cee9f9f8cce44a806f0e8051a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6324929010131142192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536565047,"filename":"image_11052026_23_52_44_30277.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1416907188"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1416907188"}],"hashtags":[],"portfolio_id":"31050805","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.270150423049927 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:56:03.515534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/54/image_11052026_23_54_44_30401.jpg', '/home/pi/Desktop/images/11052026/23/54/image_11052026_23_55_14_29378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/54/image_11052026_23_54_44_30401.jpg
/home/pi/Desktop/images/11052026/23/54/image_11052026_23_55_14_29378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907190","1416907189"],"photo_ids_order":["1416907189","1416907190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1361f5a71963aa770e36cb9bc77414dc.jpg","text":"TemporaryFile(/tmp/multipartBody7543647575929207889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536624748,"filename":"image_11052026_23_55_14_29378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/f9bd4dba269d871be9d867fb88a1586e.jpg","text":"TemporaryFile(/tmp/multipartBody5141071967653953978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536624748,"filename":"image_11052026_23_54_44_30401.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907190","file0":"1416907189"},"map_files_photo_id_array":[{"photo_id":"1416907190","filename":"file1"},{"photo_id":"1416907189","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907190":["hashtag1","hashtag2"]},{"1416907189":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907190, 1416907189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.21106481552124 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:57:04.158373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
  port_id : 31050805
  datou_current_id : 4379877
in upload_from_sqlite, uploading in 31050805
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11052026/23/55/image_11052026_23_55_44_30299.jpg', '/home/pi/Desktop/images/11052026/23/56/image_11052026_23_56_44_29355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4379877&datou=0
/home/pi/Desktop/images/11052026/23/55/image_11052026_23_55_44_30299.jpg
/home/pi/Desktop/images/11052026/23/56/image_11052026_23_56_44_29355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907204","1416907201"],"photo_ids_order":["1416907201","1416907204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/83e9aca500f675b8b2c1a348ca4b5581.jpg","text":"TemporaryFile(/tmp/multipartBody4975882467964818293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536685405,"filename":"image_11052026_23_56_44_29355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/99b26c686fa419922a5d3de61acd4e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4089465003296543770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536685405,"filename":"image_11052026_23_55_44_30299.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1416907204","file0":"1416907201"},"map_files_photo_id_array":[{"photo_id":"1416907204","filename":"file1"},{"photo_id":"1416907201","filename":"file0"}],"portfolio_id":31050805,"hashtag_by_photo_ids":[{"1416907204":["hashtag1","hashtag2"]},{"1416907201":["hashtag1","hashtag2"]}],"comms":"Portfolio 31050805 used, photo_id : ArrayBuffer(1416907204, 1416907201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.489174127578735 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql_test -v --interval 10 --status_upload 2
2026-05-11 23:58:03.716323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260511 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260504 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260505 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260506 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260507 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260508 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09052026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260509 ORDER BY id_local ASC LIMIT 6;
  port_id : 31054829
  datou_current_id : 4380105
in upload_from_sqlite, uploading in 31054829
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09052026/03/10/image_09052026_03_10_35_29134.jpg', '/home/pi/Desktop/images/09052026/03/10/image_09052026_03_11_05_30237.jpg', '/home/pi/Desktop/images/09052026/03/12/image_09052026_03_12_35_30105.jpg', '/home/pi/Desktop/images/09052026/03/12/image_09052026_03_13_05_30231.jpg', '/home/pi/Desktop/images/09052026/03/13/image_09052026_03_13_35_30252.jpg', '/home/pi/Desktop/images/09052026/03/15/image_09052026_03_15_35_30335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=4380105&datou=0
/home/pi/Desktop/images/09052026/03/10/image_09052026_03_10_35_29134.jpg
/home/pi/Desktop/images/09052026/03/10/image_09052026_03_11_05_30237.jpg
/home/pi/Desktop/images/09052026/03/12/image_09052026_03_12_35_30105.jpg
/home/pi/Desktop/images/09052026/03/12/image_09052026_03_13_05_30231.jpg
/home/pi/Desktop/images/09052026/03/13/image_09052026_03_13_35_30252.jpg
/home/pi/Desktop/images/09052026/03/15/image_09052026_03_15_35_30335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1416907263","1416907272","1416907212","1416907262","1416907211","1416907261"],"photo_ids_order":["1416907211","1416907212","1416907261","1416907262","1416907263","1416907272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/58be8b74b5c78e3933d33053feefc544.jpg","text":"TemporaryFile(/tmp/multipartBody7451789014210959899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_13_35_30252.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/1363ad7e83e742af7728c72707303495.jpg","text":"TemporaryFile(/tmp/multipartBody7215750499317804172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_15_35_30335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/ef6b954e4da9060e949d7241402632ec.jpg","text":"TemporaryFile(/tmp/multipartBody7496777812980735697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_11_05_30237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3dadb515ef637f9853ae38143008ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody3225305957205549294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_13_05_30231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/3f791bb5b6a092d87f2ba7d6c5c852be.jpg","text":"TemporaryFile(/tmp/multipartBody4888162262304489926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_10_35_29134.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/5/11/7c9877ee8ccce4086055d3c44df8515c.jpg","text":"TemporaryFile(/tmp/multipartBody4437055636397208958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1778536745871,"filename":"image_09052026_03_12_35_30105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1416907261","file1":"1416907212","file0":"1416907211","file4":"1416907263","file5":"1416907272","file3":"1416907262"},"map_files_photo_id_array":[{"photo_id":"1416907272","filename":"file5"},{"photo_id":"1416907261","filename":"file2"},{"photo_id":"1416907263","filename":"file4"},{"photo_id":"1416907212","filename":"file1"},{"photo_id":"1416907211","filename":"file0"},{"photo_id":"1416907262","filename":"file3"}],"portfolio_id":31054829,"hashtag_by_photo_ids":[{"1416907263":["hashtag1","hashtag2"]},{"1416907272":["hashtag1","hashtag2"]},{"1416907212":["hashtag1","hashtag2"]},{"1416907262":["hashtag1","hashtag2"]},{"1416907211":["hashtag1","hashtag2"]},{"1416907261":["hashtag1","hashtag2"]}],"comms":"Portfolio 31054829 used, photo_id : ArrayBuffer(1416907263, 1416907272, 1416907212, 1416907262, 1416907211, 1416907261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.232306480407715 secondes ---
